Properties_T_Rhino_Geometry_Line - mcneel/rhinocommon-api-docs GitHub Wiki

Line Properties

The Line type exposes the following members.

Properties

 

Name Description
Public property BoundingBox Gets the line's 3d axis aligned bounding box.
Public propertyCode example Direction Gets the direction of this line segment. The length of the direction vector equals the length of the line segment.
Public property From Start point of line segment.
Public property FromX Gets or sets the X coordinate of the line From point.
Public property FromY Gets or sets the Y coordinate of the line From point.
Public property FromZ Gets or sets the Z coordinate of the line From point.
Public property IsValid Gets a value indicating whether or not this line is valid. Valid lines must have valid start and end points.
Public property Length Gets or sets the length of this line segment. Note that a negative length will invert the line segment without making the actual length negative. The line From point will remain fixed when a new Length is set.
Public property To End point of line segment.
Public property ToX Gets or sets the X coordinate of the line To point.
Public property ToY Gets or sets the Y coordinate of the line To point.
Public property ToZ Gets or sets the Z coordinate of the line To point.
Public property UnitTangent Gets the tangent of the line segment. Note that tangent vectors are always unit vectors.
Public propertyStatic member Unset Gets a line segment which has Unset end points.
  Back to Top

See Also

Reference

Line Structure
Rhino.Geometry Namespace

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