Methods_T_Rhino_Geometry_Box - mcneel/rhinocommon-api-docs GitHub Wiki

Box Methods

The Box type exposes the following members.

Methods

 

Name Description
Public method ClosestPoint Finds the closest point on or in the Box. The box should be Valid for this to work.
Public method Contains(BoundingBox) Test a boundingbox for Box inclusion. This is the same as calling Contains(box,false)
Public method Contains(Box) Test a box for Box inclusion. This is the same as calling Contains(box,false)
Public method Contains(Point3d) Determines whether a point is included in this box. This is the same as calling Contains(point,false)
Public method Contains(BoundingBox, Boolean) Test a boundingbox for Box inclusion.
Public method Contains(Box, Boolean) Test a box for Box inclusion.
Public method Contains(Point3d, Boolean) Determines whether a point is included in this box.
Public method EpsilonEquals Check that all values in other are within epsilon of the values in this
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method FurthestPoint Finds the furthest point on the Box. The Box should be Valid for this to work properly.
Public method GetCorners Gets an array of the 8 corner points of this box.
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method Inflate(Double) Inflates the box by a given offset in each direction. Inflating with negative amounts may result in decreasing boxes. InValid boxes cannot be inflated.
Public method Inflate(Double, Double, Double) Inflates the box by a given offset in each direction. Inflating with negative amounts may result in decreasing boxes. InValid boxes cannot be inflated.
Public method MakeValid Attempts to make the Box valid. This is not always possible.
Public method PointAt Evaluates the box volume at the given unitized parameters. The box has idealized side length of 1x1x1.
Public method RepositionBasePlane Repositions the origin of the Base plane for this box without affecting the physical dimensions.
Public method ToBrep Constructs a brep representation of this box.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Public method Transform Transforms this Box using a Transformation matrix. If the Transform does not preserve Similarity, the dimensions of the resulting box cannot be trusted.
Public method Union Constructs a union between this Box and the given point. This grows the box in directions so it contains the point.
  Back to Top

See Also

Reference

Box Structure
Rhino.Geometry Namespace

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