Methods_T_Rhino_Geometry_Plane - mcneel/rhinocommon-api-docs GitHub Wiki

Plane Methods

The Plane type exposes the following members.

Methods

 

Name Description
Public methodCode example ClosestParameter Gets the parameters of the point on the plane closest to a test point.
Public method ClosestPoint Gets the point on the plane closest to a test point.
Public methodCode example DistanceTo(Point3d) Returns the signed distance from testPoint to its projection onto this plane. If the point is below the plane, a negative distance is returned.
Public method DistanceTo(BoundingBox, Double, Double) Returns the signed minimum and maximum distances from bbox to this plane.
Public method EpsilonEquals Check that all values in other are within epsilon of the values in this
Public method Equals(Object) Determines if an object is a plane and has the same components as this plane. (Overrides ValueType.Equals(Object).)
Public method Equals(Plane) Determines if another plane has the same components as this plane.
Public method ExtendThroughBox(BoundingBox, Interval, Interval) Extends this plane through a bounding box.
Public method ExtendThroughBox(Box, Interval, Interval) Extend this plane through a Box.
Public methodStatic member FitPlaneToPoints(IEnumerable(Point3d), Plane) Fit a plane through a collection of points.
Public methodStatic member FitPlaneToPoints(IEnumerable(Point3d), Plane, Double) Fit a plane through a collection of points.
Public method Flip Flip this plane by swapping out the X and Y axes and inverting the Z axis.
Public method GetHashCode Gets a non-unique hashing code for this entity. (Overrides ValueType.GetHashCode().)
Public method GetPlaneEquation Gets the plane equation for this plane in the format of Ax+By+Cz+D=0.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method PointAt(Double, Double) Evaluate a point on the plane.
Public method PointAt(Double, Double, Double) Evaluate a point on the plane.
Public method RemapToPlaneSpace Convert a point from World space coordinates into Plane space coordinates.
Public method Rotate(Double, Vector3d) Rotate the plane about its origin point.
Public method Rotate(Double, Vector3d, Point3d) Rotate the plane about a custom anchor point.
Public method Rotate(Double, Double, Vector3d) Rotate the plane about its origin point.
Public method Rotate(Double, Double, Vector3d, Point3d) Rotate the plane about a custom anchor point.
Public method ToString Constructs the string representation of this plane. (Overrides ValueType.ToString().)
Public method Transform Transform the plane with a Transformation matrix.
Public method Translate Translate (move) the plane along a vector.
Public method UpdateEquation Update Equations
Public method ValueAt Get the value of the plane equation at the point.
  Back to Top

See Also

Reference

Plane Structure
Rhino.Geometry Namespace

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