Line.TryGetPlane Method

LineTryGetPlane Method

Gets a plane that contains the line. The origin of the plane is at the start of the line. If possible, a plane parallel to the world xy, yz, or zx plane is returned.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool TryGetPlane(
	out Plane plane
)
Public Function TryGetPlane ( 
	<OutAttribute> ByRef plane As Plane
) As Boolean

Parameters

plane
Type: Rhino.GeometryPlane
If the return value is true, the plane out parameter is assigned during this call.

Return Value

Type: Boolean
true on success.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also