RevolvedSurface
Description:
A surface of revolution defined by a profile curve and a local coordinate system. The surface is obtained by rotating the curve around Z axis of the local coordinate system.
A surface of revolution defined by a profile curve and a local coordinate system. The surface is obtained by rotating the curve around Z axis of the local coordinate system.
Remarks:
The parametric equation of a surface of revolution is S(u, v) = center + C1(v)*cos(u)*xVec + C1(v)*sin(u)*yVec + C2(v)*zVec, where the profile curve in the SurfRev's xz plane has the parametric equation (C1(t), C2(t)). Note that the direction of X axis may agree or disagree with the chosen orientation of the surface.
The parametric equation of a surface of revolution is S(u, v) = center + C1(v)*cos(u)*xVec + C1(v)*sin(u)*yVec + C2(v)*zVec, where the profile curve in the SurfRev's xz plane has the parametric equation (C1(t), C2(t)). Note that the direction of X axis may agree or disagree with the chosen orientation of the surface.
public class RevolvedSurface : Surface
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Create(Frame, Curve) | Surface | Creates a Surface object coincident with the surface of revolution defined by a coordinate frame and a profile curve. | |
| Create(XYZ, XYZ, Curve) | Surface | Creates a Surface object coincident with the surface of revolution defined by an axis and a profile curve. | |
| Create(Frame, Curve, Double, Double) | Surface | Creates a Surface object coincident with the surface of revolution defined by a coordinate frame, a profile curve, and start and end angles of revolution. | |
| Create(XYZ, XYZ, Curve, Double, Double) | Surface | Creates a Surface object coincident with the surface of revolution defined by an axis, a profile curve, and start and end angles of revolution. | |
| Dispose() | None | (Inherited from Surface ) | Surface |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetBoundingBoxUV() | BoundingBoxUV | Gets the UV bounding box of the surface. (Inherited from Surface ) | Surface |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetProfileCurve() | Curve | Returns a copy of the profile curve expressed in the surface's coordinate system. | |
| GetProfileCurveInWorldCoordinates() | Curve | Returns a copy of the profile curve expressed in the world coordinate system. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| IsCoincidentWith(Surface) | Boolean | Determine if two surfaces are coincident (ignoring Envelopes). For an affirmative answer, the surfaces must have the same type (e.g., two planes). (Inherited from Surface ) | Surface |
| IsValidProfileCurve(Frame, Curve) | Boolean | Checks if the input profile curve is valid to create a surface of revolution in the given frame of reference. | |
| IsValidProfileCurve(XYZ, XYZ, Curve) | Boolean | Checks if the input profile curve is valid to create a surface of revolution around the given axis. | |
| Project(XYZ, UV%, Double%) | None | Project a 3D point orthogonally onto a surface (to find the nearest point). Throws InvalidOperationException if the projection fails. (Inherited from Surface ) | 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. (Inherited from Surface ) | Surface |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Axis | XYZ | Axis of the revolved surface. This is the Z axis of the local coordinate system associated with this revolved surface. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from Surface ) | Surface |
| OrientationMatchesParametricOrientation | bool | Indicates whether this Surface's orientation is the same as or opposite to its parametric orientation. (Inherited from Surface ) | Surface |
| Origin | XYZ | Center of the circle that defines the base of the revolved surface. This is the origin of the local coordinate system associated with this revolved surface. | |
| XDir | XYZ | X axis of the local coordinate system associated with this revolved surface. | |
| YDir | XYZ | X axis of the local coordinate system associated with this revolved surface. |