M_Rhino_Geometry_PlaneSurface_CreateThroughBox - mcneel/rhinocommon-api-docs GitHub Wiki

PlaneSurface.CreateThroughBox 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) Version: Rhino 6.0

Syntax

C#

public static PlaneSurface CreateThroughBox(
	Line lineInPlane,
	Vector3d vectorInPlane,
	BoundingBox box
)

VB

Public Shared Function CreateThroughBox ( 
	lineInPlane As Line,
	vectorInPlane As Vector3d,
	box As BoundingBox
) As PlaneSurface

Parameters

 

lineInPlane
Type: Rhino.Geometry.Line
A line that will lie on the plane.
vectorInPlane
Type: Rhino.Geometry.Vector3d
A vector the direction of which will be in plane.
box
Type: Rhino.Geometry.BoundingBox
A box to cut through.

Return Value

Type: PlaneSurface
A new plane surface on success, or null on error.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

PlaneSurface Class
CreateThroughBox Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️