RuledFace
Description:
A ruled face of a 3d solid or open shell.
A ruled face of a 3d solid or open shell.
Remarks:
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). For details on the parameterization, refer to the documentation for RuledSurface.
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). For details on the parameterization, refer to the documentation for RuledSurface.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.RuledFace
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.RuledFace
private void GetRuledFaceInfo(Face face)
{
RuledFace ruledFace = face as RuledFace;
if (null != ruledFace)
{
Curve curve = ruledFace.get_Curve(0);
XYZ point = ruledFace.get_Point(0);
}
}
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. | APIObject |
| op_Equality(GeometryObject, GeometryObject) | bool | Determines whether two GeometryObjects are the same. | GeometryObject |
| Equals(Object) | bool | Determines whether the specified is equal to the current . | GeometryObject |
| GetHashCode() | int | Gets the integer value of the geometry object as hash code | GeometryObject |
| op_Inequality(GeometryObject, GeometryObject) | bool | Determines whether two GeometryObjects are different. | GeometryObject |
| ComputeDerivatives(UV) | Transform | Returns the first partial derivatives of the underlying surface at the specified point. | Face |
| ComputeNormal(UV) | XYZ | Returns the normal vector for the face at the given point. | Face |
| ComputeSecondDerivatives(UV) | FaceSecondDerivatives | Returns the second partial derivatives of the face at the specified point. | Face |
| Evaluate(UV) | The XYZ coordinates. | Evaluates and returns the XYZ coordinates of a point at the indicated UV parameterization of the face. | Face |
| GetBoundingBox() | BoundingBoxUV | Returns the UV bounding box of the face. | Face |
| GetEdgesAsCurveLoops() | IList<CurveLoop> | Returns a list of closed curve loops that correspond to the edge loops of the face. Curves in each curve loop correspond to individual edges. | Face |
| GetRegions() | IList<Face> | Gets the face regions (created, for example, by the Split Face command) of the face. | Face |
| GetSurface() | Surface | Returns a copy of this face's surface. | Face |
| Intersect(Curve) | SetComparisonResult | Calculates the intersection of the specified curve with this face. | Face |
| Intersect(Curve, IntersectionResultArray%) | SetComparisonResult | Calculates the intersection of the specified curve with this face and returns the intersection results. | Face |
| Intersect(Face) | FaceIntersectionFaceResult | Calculates the intersection of the specified face with this face and returns the intersection results. | Face |
| Intersect(Face, Curve%) | FaceIntersectionFaceResult | Calculates the intersection of the specified face with this face and returns the intersection results. | Face |
| IsInside(UV) | bool | Indicates whether the specified point is within this face. | Face |
| IsInside(UV, IntersectionResult%) | bool | Indicates whether the specified point is within this face and outputs additional information about the point location. | Face |
| Project(XYZ) | nullNothingnullptr | Projects the specified point on the face. | Face |
| Triangulate() | Mesh | Returns a triangular mesh approximation to the face. | Face |
| Triangulate(Double) | Mesh | Returns a triangular mesh approximation to the face. | Face |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Curve | Curve | Profile curves of the surface. | |
| IsExtruded | bool | Determines if this is an extruded ruled surface. | |
| Point | XYZ | Profile points of the surface. | |
| RulingsAreParallel | bool | Determines if the rulings of this ruled surface are parallel. | |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. | APIObject |
| GraphicsStyleId | ElementId | The ElementId of the GeometryObject's GraphicsStyle | GeometryObject |
| Id | int | A unique integer identifying the GeometryObject in its associated non view-specific GeometryElement. | GeometryObject |
| IsElementGeometry | bool | Indicates whether this geometry is obtained directly from an Element. | GeometryObject |
| Visibility | Visibility | The visibility. | GeometryObject |
| Area | double | The area of this face. | Face |
| EdgeLoops | EdgeArrayArray | A collection of edge loops. Each edge loop represents one of the closed boundaries of the face. | Face |
| HasRegions | bool | Identifies if the face contains regions (which can be created, for example, by the Split Face command). | Face |
| IsCyclic | bool | Indicates whether the underlying surface is periodic in the specified parametric direction. | Face |
| IsTwoSided | bool | Determines if a face is two-sided (degenerate). | Face |
| MaterialElementId | ElementId | The element ID of the material from which this face is composed. | Face |
| OrientationMatchesSurfaceOrientation | bool | Returns true if this face's orientation matches the orientation of the face's surface, false if they have opposite orientations. | Face |
| Period | double | The period of the underlying surface in the specified parametric direction. | Face |
| Reference | Reference | Returns a stable reference to the face. | Face |