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.

Parameters:
originndarray | RealSequence | Point3D

Centered origin of the plane.

referencendarray | RealSequence | UnitVector3D | Vector3D

X-axis direction.

axisndarray | RealSequence | UnitVector3D | Vector3D

X-axis direction.

Overview#

contains_param

Check a ParamUV is within the parametric range of the surface.

contains_point

Check whether a 3D point is in the domain of the plane.

parameterization

Parametrize the plane.

project_point

Evaluate the plane at a given 3D point.

transformed_copy

Get a transformed version of the plane given the transform.

evaluate

Evaluate the plane at a given u and v parameter.

origin

Origin of the plane.

dir_x

X-direction of the plane.

dir_y

Y-direction of the plane.

dir_z

Z-direction of the plane.

__eq__

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.