EdgeAsCurveFollowingFace Method |
Returns a curve that corresponds to this edge as oriented in its topological direction on the specified face.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic Curve AsCurveFollowingFace(
Face faceForDir
)
Public Function AsCurveFollowingFace (
faceForDir As Face
) As Curve
public:
Curve^ AsCurveFollowingFace(
Face^ faceForDir
)
member AsCurveFollowingFace :
faceForDir : Face -> Curve
Parameters
- faceForDir Face
- Specifies the face, on which the curve will follow the topological direction of the edge.
Return Value
CurveIt can be an Arc, Line, or HermiteSpline.
Exceptions
RemarksEvaluating the edge using EvaluateOnFace gives the same result as evaluating the curve returned by AsCurveFollowingFace with a normalized
curve parameter. When a Hermite spline is returned, the two evaluated points will be approximately equal.
See Also