Edge.AsCurveFollowingFace
Method
Description:
Returns a curve that corresponds to this edge as oriented in its topological direction on the specified face.
Returns a curve that corresponds to this edge as oriented in its topological direction on the specified face.
Remarks:
Evaluating 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.
Evaluating 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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| faceForDir | Face | Specifies the face, on which the curve will follow the topological direction of the edge. |
Return Value
| Type | Description |
|---|---|
| Curve | It can be an Arc, Line, or HermiteSpline. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when the specified faceForDir is. |
| ArgumentException | Thrown when the specified faceForDir is not one of the faces for this edge. |