M_Rhino_Geometry_Plane_DistanceTo - mcneel/rhinocommon-api-docs GitHub Wiki

Plane.DistanceTo Method (BoundingBox, Double, Double)

Returns the signed minimum and maximum distances from bbox to this plane.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool DistanceTo(
	BoundingBox bbox,
	out double min,
	out double max
)

VB

Public Function DistanceTo ( 
	bbox As BoundingBox,
	<OutAttribute> ByRef min As Double,
	<OutAttribute> ByRef max As Double
) As Boolean

Parameters

 

bbox
Type: Rhino.Geometry.BoundingBox
bounding box to get distances from
min
Type: System.Double
minimum signed distance from plane to box
max
Type: System.Double
maximum signed distance from plane to box

Return Value

Type: Boolean
false if plane has zero length normal

Version Information

Supported in: 6.0.16224.21491

See Also

Reference

Plane Structure
DistanceTo Overload
Rhino.Geometry Namespace

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