2021 Class
Changes 0
C

HermiteFace

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