RhinoCommon API
PlaneSurfaceCreateThroughBox Method (Line, Vector3d, BoundingBox) |
Makes a plane that includes a line and a vector and goes through a bounding box.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
public static PlaneSurface CreateThroughBox( Line lineInPlane, Vector3d vectorInPlane, BoundingBox box )
Public Shared Function CreateThroughBox ( lineInPlane As Line, vectorInPlane As Vector3d, box As BoundingBox ) As PlaneSurface
Parameters
- lineInPlane
- Type: Rhino.GeometryLine
A line that will lie on the plane. - vectorInPlane
- Type: Rhino.GeometryVector3d
A vector the direction of which will be in plane. - box
- Type: Rhino.GeometryBoundingBox
A box to cut through.
Return Value
Type: PlaneSurfaceA new plane surface on success, or null on error.