HermiteFace
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
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 |
|---|---|---|---|
| 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 |
|---|---|---|---|
| MixedDerivs | IList<XYZ> | Mixed derivatives of the surface. | |
| Params | DoubleArray | Parameters of the surface. | |
| Points | IList<XYZ> | Interpolation points of the surface. | |
| Tangents | IList<XYZ> | Tangents of the surface. | |
| 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 |