Cylinder Structure |
Namespace: Rhino.Geometry
The Cylinder type exposes the following members.
| Name | Description | |
|---|---|---|
| Cylinder(Circle) |
Constructs a new cylinder with infinite height.
| |
| Cylinder(Circle, Double) |
Constructs a new cylinder with a finite height.
|
| Name | Description | |
|---|---|---|
| Axis |
Gets the axis direction of the cylinder.
| |
| BasePlane |
Gets or sets the base plane of the cylinder.
| |
| Center |
Gets the center point of the defining circle.
| |
| Height1 |
Gets or sets the start height of the cylinder.
The center of bottom cap is: BasePlane.Origin + Height1 * BasePlane.ZAxis.
| |
| 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.
The center of top cap is: BasePlane.Origin + Height2 * BasePlane.ZAxis.
| |
| IsFinite |
true if the cylinder is finite (Height0 != Height1)
false if the cylinder is infinite.
| |
| IsValid |
Gets a boolean value indicating whether this cylinder is valid.
A valid cylinder is represented by a valid circle and two valid heights. | |
| Radius |
Gets or sets the radius of the cylinder.
| |
| TotalHeight |
Gets the height of the cylinder.
Infinite cylinders have a height of zero, not Double.PositiveInfinity.
| |
| Unset |
Gets an invalid Cylinder.
|
| Name | Description | |
|---|---|---|
| CircleAt |
Compute the circle at the given elevation parameter.
| |
| EpsilonEquals |
Check that all values in other are within epsilon of the values in this
| |
| Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
| GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| LineAt |
Compute the line at the given angle parameter. This line will be degenerate if the cylinder is infinite.
| |
| ToBrep |
Constructs a Brep representation of this Cylinder.
This is synonymous with calling NurbsSurface.CreateFromCylinder().
| |
| ToNurbsSurface |
Constructs a Nurbs surface representation of this cylinder.
This is synonymous with calling NurbsSurface.CreateFromCylinder().
| |
| ToRevSurface |
Constructs a RevSurface representation of this Cylinder.
This is synonymous with calling RevSurface.CreateFromCylinder().
| |
| ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) | |
| Transform |
Transforms this cylinder. Note that non-similarity preserving transformations
cannot be applied to a cylinder.
|