PlanarFace
Description:
A bounded face of a 3d solid or open shell.
A bounded face of a 3d solid or open shell.
Remarks:
Planar faces are defined by planes bounded by edge loops. The planes provide natural UV parameterization to the faces. S(u, v) = Origin + u*Vector[0] + v*Vector[1]
Planar faces are defined by planes bounded by edge loops. The planes provide natural UV parameterization to the faces. S(u, v) = Origin + u*Vector[0] + v*Vector[1]
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.PlanarFace
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.PlanarFace
public class PlanarFace : Face
private void GetPlanarFaceInfo(Face face)
{
PlanarFace planarFace = face as PlanarFace;
if (null != planarFace)
{
XYZ origin = planarFace.Origin;
XYZ normal = planarFace.FaceNormal;
XYZ vector = planarFace.XVector;
}
}
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ComputeDerivatives(UV) | Transform | Returns the first partial derivatives of the underlying surface at the specified point. (Inherited from Face ) | Face |
| ComputeNormal(UV) | XYZ | Returns the normal vector for the face at the given point. (Inherited from Face ) | Face |
| ComputeSecondDerivatives(UV) | FaceSecondDerivatives | Returns the second partial derivatives of the face at the specified point. (Inherited from Face ) | Face |
| Dispose() | None | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) | APIObject |
| Equals(Object) | Boolean | Determines whether the specified Object is equal to the current Object . (Inherited from GeometryObject ) | GeometryObject |
| Evaluate(UV) | XYZ | Evaluates and returns the XYZ coordinates of a point at the indicated UV parameterization of the face. (Inherited from Face ) | Face |
| GetBoundingBox() | BoundingBoxUV | Returns the UV bounding box of the face. (Inherited from 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. (Inherited from Face ) | Face |
| GetHashCode() | Int32 | Gets the integer value of the geometry object as hash code (Inherited from GeometryObject ) | GeometryObject |
| GetRegions() | IList<Face> | Gets the face regions (created, for example, by the Split Face command) of the face. (Inherited from Face ) | Face |
| GetSurface() | Surface | Returns a copy of this face's surface. (Inherited from Face ) | Face |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| Intersect(Curve) | SetComparisonResult | Calculates the intersection of the specified curve with this face. (Inherited from Face ) | Face |
| Intersect(Face) | FaceIntersectionFaceResult | Calculates the intersection of the specified face with this face and returns the intersection results. (Inherited from Face ) | Face |
| Intersect(Curve, IntersectionResultArray%) | SetComparisonResult | Calculates the intersection of the specified curve with this face and returns the intersection results. (Inherited from Face ) | Face |
| Intersect(Face, Curve%) | FaceIntersectionFaceResult | Calculates the intersection of the specified face with this face and returns the intersection results. (Inherited from Face ) | Face |
| IsInside(UV) | Boolean | Indicates whether the specified point is within this face. (Inherited from Face ) | Face |
| IsInside(UV, IntersectionResult%) | Boolean | Indicates whether the specified point is within this face and outputs additional information about the point location. (Inherited from Face ) | Face |
| Project(XYZ) | IntersectionResult | Projects the specified point on the face. (Inherited from Face ) | Face |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Triangulate() | Mesh | Returns a triangular mesh approximation to the face. (Inherited from Face ) | Face |
| Triangulate(Double) | Mesh | Returns a triangular mesh approximation to the face. (Inherited from Face ) | Face |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Area | double | The area of this face. (Inherited from Face ) | Face |
| EdgeLoops | EdgeArrayArray | A collection of edge loops. Each edge loop represents one of the closed boundaries of the face. (Inherited from Face ) | Face |
| FaceNormal | XYZ | Normal of the planar face. | |
| GraphicsStyleId | ElementId | The ElementId of the GeometryObject's GraphicsStyle (Inherited from GeometryObject ) | GeometryObject |
| HasRegions | bool | Identifies if the face contains regions (which can be created, for example, by the Split Face command). (Inherited from Face ) | Face |
| Id | int | A unique integer identifying the GeometryObject in its associated non view-specific GeometryElement. (Inherited from GeometryObject ) | GeometryObject |
| IsCyclic | Boolean | Indicates whether the underlying surface is periodic in the specified parametric direction. (Inherited from Face ) | Face |
| IsElementGeometry | bool | Indicates whether this geometry is obtained directly from an Element. (Inherited from GeometryObject ) | GeometryObject |
| IsReadOnly | bool | Identifies if the object is read-only or modifiable. (Inherited from APIObject ) | APIObject |
| IsTwoSided | bool | Determines if a face is two-sided (degenerate). (Inherited from Face ) | Face |
| MaterialElementId | ElementId | The element ID of the material from which this face is composed. (Inherited from Face ) | Face |
| OrientationMatchesSurfaceOrientation | bool | Returns true if this face's orientation matches the orientation of the face's surface, false if they have opposite orientations. (Inherited from Face ) | Face |
| Origin | XYZ | Origin of the surface. | |
| Period | Double | The period of the underlying surface in the specified parametric direction. (Inherited from Face ) | Face |
| Reference | Reference | Returns a stable reference to the face. (Inherited from Face ) | Face |
| Visibility | Visibility | The visibility. (Inherited from GeometryObject ) | GeometryObject |
| XVector | XYZ | The X-vector of the planar face. | |
| YVector | XYZ | The Y-vector of the planar face. |