TransformProjectAlong Method |
Construct a projection onto a plane along a specific direction.
Namespace:
Rhino.Geometry
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax public static Transform ProjectAlong(
Plane plane,
Vector3d direction
)
Public Shared Function ProjectAlong (
plane As Plane,
direction As Vector3d
) As Transform
Parameters
- plane
- Type: Rhino.GeometryPlane
Plane to project onto. - direction
- Type: Rhino.GeometryVector3d
Projection direction, must not be parallel to the plane.
Return Value
Type:
TransformProjection transformation or identity transformation if projection could not be calculated.
See Also