Methods_T_Rhino_Geometry_Rectangle3d - mcneel/rhinocommon-api-docs GitHub Wiki

Rectangle3d Methods

The Rectangle3d type exposes the following members.

Methods

 

Name Description
Public method ClosestPoint(Point3d) Gets the point on the rectangle that is closest to a test-point.
Public method ClosestPoint(Point3d, Boolean) Gets the point on the rectangle that is closest to a test-point.
Public method Contains(Point3d) Determines if a point is included in this rectangle.
Public method Contains(Double, Double) Determines if two plane parameters are included in this rectangle.
Public method Corner Gets the corner at the given index.
Public methodStatic member CreateFromPolyline(IEnumerable(Point3d)) Attempts to create a rectangle from a polyline. In order for the polyline to qualify as a rectangle, it must have 4 or 5 corner points (i.e. it need not be closed).
Public methodStatic member CreateFromPolyline(IEnumerable(Point3d), Double, Double) Attempts to create a Rectangle from a Polyline. In order for a polyline to qualify as a rectangle, it must have 4 or 5 corner points (i.e. it need not be closed). This overload also returns deviations.
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 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 MakeIncreasing Ensures the X and Y dimensions are increasing or singleton intervals.
Public method PointAt(Double) Gets a point along the rectangle boundary.
Public method PointAt(Double, Double) Gets a point in Rectangle space.
Public method RecenterPlane(Int32) Recenters the base plane on one of the corners.
Public method RecenterPlane(Point3d) Recenters the base plane on a new origin.
Public method ToNurbsCurve Constructs a nurbs curve representation of this rectangle.
Public method ToPolyline Constructs a polyline from this rectangle.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
Public method Transform Transforms this rectangle. Note that rectangles cannot be skewed or tapered.
  Back to Top

See Also

Reference

Rectangle3d Structure
Rhino.Geometry Namespace

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