RuledSurface
Description:
A ruled surface is created by sweeping a line between two profile curves or between a curve and a point (a point and a curve). Input curve(s) must be bounded or have natural bounds.
A ruled surface is created by sweeping a line between two profile curves or between a curve and a point (a point and a curve). Input curve(s) must be bounded or have natural bounds.
Remarks:
Both curves are evaluated in normalized parameters [0, 1] The parametric equations of a ruled surface are:
Both curves are evaluated in normalized parameters [0, 1] The parametric equations of a ruled surface are:
- Curve C1 and curve C2 : S(u, v) = C1(u) + v * (C2(u) - C1(u));
- Point P1 and curve C2 : S(u, v) = P1 + v * (C2(u) - P1);
- Curve C1 and point P2 : S(u, v) = C1(u) + v * (P2 - C1(u));
public class RuledSurface : Surface
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Create(Curve, Curve) | Surface | Creates a Surface object coincident with the ruled surface joining two bounded generating curves. | |
| Create(Curve, XYZ) | Surface | Creates a Surface object coincident with the ruled surface joining a bounded generating curve to a point. | |
| 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 |
| GetFirstProfileCurve() | Curve | Returns a copy of the first profile curve if it is set. | |
| GetFirstProfilePoint() | XYZ | If a point was used to define the first profile, returns a copy of that point. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetSecondProfileCurve() | Curve | Returns a copy of the second profile curve if it is set. | |
| GetSecondProfilePoint() | XYZ | If a point was used to define the second profile, returns a copy of that point. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| HasFirstProfilePoint() | Boolean | Checks if a point was used to define the first profile. | |
| HasSecondProfilePoint() | Boolean | Checks if a point was used to define the second profile. | |
| 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 |
| 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 |
|---|---|---|---|
| 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 |