Namespace:
Autodesk.Revit.DB
HermiteFace
Class
Description:
A cubic hermite spline face of a 3d solid or open shell.
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.
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
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.HermiteFace
Examples
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);
}
}
HermiteFace Class Members:
Name | Description | Inherited From |
---|---|---|
Area | The area of this face. (Inherited from Face ) | Face |
EdgeLoops | A collection of edge loops. Each edge loop represents one of the closed boundaries of the face. (Inherited from Face ) | Face |
GraphicsStyleId | The ElementId of the GeometryObject's GraphicsStyle (Inherited from GeometryObject ) | GeometryObject |
HasRegions | Identifies if the face contains regions (which can be created, for example, by the Split Face command). (Inherited from Face ) | Face |
Id | A unique integer identifying the GeometryObject in its associated non view-specific GeometryElement. (Inherited from GeometryObject ) | GeometryObject |
IsCyclic | Indicates whether the underlying surface is periodic in the specified parametric direction. (Inherited from Face ) | Face |
IsElementGeometry | Indicates whether this geometry is obtained directly from an Element. (Inherited from GeometryObject ) | GeometryObject |
IsReadOnly | Identifies if the object is read-only or modifiable. (Inherited from APIObject ) | APIObject |
IsTwoSided | Determines if a face is two-sided (degenerate). (Inherited from Face ) | Face |
MaterialElementId | The element ID of the material from which this face is composed. (Inherited from Face ) | Face |
MixedDerivs | Mixed derivatives of the surface. | |
OrientationMatchesSurfaceOrientation | 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 |
Params | Parameters of the surface. | |
Period | The period of the underlying surface in the specified parametric direction. (Inherited from Face ) | Face |
Points | Interpolation points of the surface. | |
Reference | Returns a stable reference to the face. (Inherited from Face ) | Face |
Tangents | Tangents of the surface. | |
Visibility | The visibility. (Inherited from GeometryObject ) | GeometryObject |
Name | Description | Inherited From |
---|---|---|
ComputeDerivatives | Returns the first partial derivatives of the underlying surface at the specified point. (Inherited from Face ) | Face |
ComputeNormal | Returns the normal vector for the face at the given point. (Inherited from Face ) | Face |
ComputeSecondDerivatives | Returns the second partial derivatives of the face at the specified point. (Inherited from Face ) | Face |
Dispose | Causes the object to release immediately any resources it may be utilizing. (Inherited from APIObject ) | APIObject |
Equals | Determines whether the specified Object is equal to the current Object . (Inherited from GeometryObject ) | Object |
Evaluate | Evaluates and returns the XYZ coordinates of a point at the indicated UV parameterization of the face. (Inherited from Face ) | Face |
GetBoundingBox | Returns the UV bounding box of the face. (Inherited from Face ) | Face |
GetEdgesAsCurveLoops | 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 | Gets the integer value of the geometry object as hash code (Inherited from GeometryObject ) | GeometryObject |
GetRegions | Gets the face regions (created, for example, by the Split Face command) of the face. (Inherited from Face ) | Face |
GetSurface | Returns a copy of this face's surface. (Inherited from Face ) | Face |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
Intersect(Curve) | Calculates the intersection of the specified curve with this face. (Inherited from Face ) | Face |
Intersect(Face) | Calculates the intersection of the specified face with this face and returns the intersection results. (Inherited from Face ) | Face |
Intersect(Curve, IntersectionResultArray) | Calculates the intersection of the specified curve with this face and returns the intersection results. (Inherited from Face ) | Face |
Intersect(Face, Curve) | Calculates the intersection of the specified face with this face and returns the intersection results. (Inherited from Face ) | Face |
IsInside(UV) | Indicates whether the specified point is within this face. (Inherited from Face ) | Face |
IsInside(UV, IntersectionResult) | Indicates whether the specified point is within this face and outputs additional information about the point location. (Inherited from Face ) | Face |
Project | Projects the specified point on the face. (Inherited from Face ) | Face |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |
Triangulate() | Returns a triangular mesh approximation to the face. (Inherited from Face ) | Face |
Triangulate(Double) | Returns a triangular mesh approximation to the face. (Inherited from Face ) | Face |