RhinoCommon API
PlaneDistanceTo Method (BoundingBox, Double, Double) |
Returns the signed minimum and maximum distances from bounding box to this plane.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 6.0

public bool DistanceTo( BoundingBox bbox, out double min, out double max )
Public Function DistanceTo ( bbox As BoundingBox, <OutAttribute> ByRef min As Double, <OutAttribute> ByRef max As Double ) As Boolean
Parameters
- bbox
- Type: Rhino.GeometryBoundingBox
bounding box to get distances from - min
- Type: SystemDouble
minimum signed distance from plane to box - max
- Type: SystemDouble
maximum signed distance from plane to box
Return Value
Type: Booleanfalse if plane has zero length normal
