PlaneSurface
#
- class ansys.geometry.core.shapes.surfaces.plane.PlaneSurface(origin: numpy.ndarray | ansys.geometry.core.typing.RealSequence | ansys.geometry.core.math.point.Point3D, reference: numpy.ndarray | ansys.geometry.core.typing.RealSequence | ansys.geometry.core.math.vector.UnitVector3D | ansys.geometry.core.math.vector.Vector3D = UNITVECTOR3D_X, axis: numpy.ndarray | ansys.geometry.core.typing.RealSequence | ansys.geometry.core.math.vector.UnitVector3D | ansys.geometry.core.math.vector.Vector3D = UNITVECTOR3D_Z)#
Bases:
ansys.geometry.core.shapes.surfaces.surface.Surface
Provides 3D plane surface representation.
Overview#
Check a |
|
Check whether a 3D point is in the domain of the plane. |
Parametrize the plane. |
|
Evaluate the plane at a given 3D point. |
|
Get a transformed version of the plane given the transform. |
|
Evaluate the plane at a given u and v parameter. |
Check whether two planes are equal. |
Import detail#
from ansys.geometry.core.shapes.surfaces.plane import PlaneSurface
Property detail#
- property PlaneSurface.origin: ansys.geometry.core.math.point.Point3D#
Origin of the plane.
- property PlaneSurface.dir_x: ansys.geometry.core.math.vector.UnitVector3D#
X-direction of the plane.
- property PlaneSurface.dir_y: ansys.geometry.core.math.vector.UnitVector3D#
Y-direction of the plane.
- property PlaneSurface.dir_z: ansys.geometry.core.math.vector.UnitVector3D#
Z-direction of the plane.
Method detail#
- PlaneSurface.__eq__(other: PlaneSurface) bool #
Check whether two planes are equal.
- abstract PlaneSurface.contains_param(param_uv: ansys.geometry.core.shapes.parameterization.ParamUV) bool #
Check a
ParamUV
is within the parametric range of the surface.
- abstract PlaneSurface.contains_point(point: ansys.geometry.core.math.point.Point3D) bool #
Check whether a 3D point is in the domain of the plane.
- PlaneSurface.parameterization() tuple[ansys.geometry.core.shapes.parameterization.Parameterization, ansys.geometry.core.shapes.parameterization.Parameterization] #
Parametrize the plane.
- PlaneSurface.project_point(point: ansys.geometry.core.math.point.Point3D) ansys.geometry.core.shapes.surfaces.surface_evaluation.SurfaceEvaluation #
Evaluate the plane at a given 3D point.
- PlaneSurface.transformed_copy(matrix: ansys.geometry.core.math.matrix.Matrix44) ansys.geometry.core.shapes.surfaces.surface.Surface #
Get a transformed version of the plane given the transform.
- PlaneSurface.evaluate(parameter: ansys.geometry.core.shapes.parameterization.ParamUV) PlaneEvaluation #
Evaluate the plane at a given u and v parameter.