ConicalSurface
Description:
A Conical Surface.
A Conical Surface.
Remarks:
The parametric equation of the cone is S(u, v) = center + v*[sin(halfAngle)(cos(u)*xVec + sin(u)*yVec) + cos(halfAngle)*zVec]. Only the branch of the cone with v >= 0 should be used.
The parametric equation of the cone is S(u, v) = center + v*[sin(halfAngle)(cos(u)*xVec + sin(u)*yVec) + cos(halfAngle)*zVec]. Only the branch of the cone with v >= 0 should be used.
public class ConicalSurface : Surface
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Create(Frame, Double) | The created ConicalSurface. | Creates a conical surface defined by a local reference frame and a half angle. | |
| GetFrameOfReference() | Frame | Returns frame of reference associated with this ConicalSurface. | |
| IsValidConeAngle(Double) | bool | Checks whether the input value lies is not 0, greater than -PI/2 and lesser than PI/2. | |
| 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 cone. This is the Z axis of the local coordinate system associated with this cone. | |
| HalfAngle | double | Cone angle. | |
| Origin | XYZ | Apex of the cone. This is the origin of the local coordinate system associated with this cone. | |
| XDir | XYZ | X axis of the local coordinate system associated with this cone. | |
| YDir | XYZ | X axis of the local coordinate system associated with this cone. | |
| 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 |