CylindricalSurface
Description:
A cylindrical surface.
A cylindrical surface.
Remarks:
The parametric equation of the cylinder is S(u, v) = center + radius*cos(u)*xVec + radius*sin(u)*yVec + v*zVec.
The parametric equation of the cylinder is S(u, v) = center + radius*cos(u)*xVec + radius*sin(u)*yVec + v*zVec.
public class CylindricalSurface : Surface
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Create(Frame, Double) | The created CylindricalSurface. | Construct a cylindrical surface defined by a local coordinate system and a radius. | |
| GetFrameOfReference() | Frame | Returns frame of reference associated with this CylindricalSurface. | |
| Dispose() | None | Releases all resources used by the | Surface |
| Project(XYZ, UV%, Double%) | None | Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails. | Surface |
| ProjectWithGuessPoint(XYZ, UV, UV%, Double%) | None | Project a 3D point orthogonally onto a surface (to find the nearest point). This method is meant to be used when a good approximate solution for the projection is available. Throws InvalidOperationException if the projection fails. | Surface |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Axis | XYZ | Axis of the cylinder. This is the Z axis of the local coordinate system associated with this cylinder. | |
| Origin | XYZ | Center of the circle that defines the base of the cylinder. This is the origin of the local coordinate system associated with this cylinder. | |
| Radius | double | Radius of the circle that defines the base of this cylinder. | |
| XDir | XYZ | X axis of the local coordinate system associated with this cylinder. | |
| YDir | XYZ | X axis of the local coordinate system associated with this cylinder. | |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. | Surface |
| OrientationMatchesParametricOrientation | bool | Indicates whether this Surface's orientation is the same as or opposite to its parametric orientation. | Surface |