Properties_T_Rhino_Geometry_Cylinder - mcneel/rhinocommon-api-docs GitHub Wiki

Cylinder Properties

The Cylinder type exposes the following members.

Properties

 

Name Description
Public property Axis Gets the axis direction of the cylinder.
Public property Center Gets the center point of the defining circle.
Public property Height1 Gets or sets the start height of the cylinder.
Public property Height2 Gets or sets the end height of the cylinder. If the end height equals the start height, the cylinder is presumed to be infinite.
Public property IsFinite true if the cylinder is finite (Height0 != Height1) false if the cylinder is infinite.
Public property IsValid Gets a boolean value indicating whether this cylinder is valid. A valid cylinder is represented by a valid circle and two valid heights.
Public property Radius Gets or sets the radius of the cylinder.
Public property TotalHeight Gets the height of the cylinder. Infinite cylinders have a height of zero, not Double.PositiveInfinity.
Public propertyStatic member Unset Gets an invalid Cylinder.
  Back to Top

See Also

Reference

Cylinder Structure
Rhino.Geometry Namespace

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