GeometryCreationUtilities.CreateBlendGeometry(CurveLoop, CurveLoop, ICollection<VertexPair>)
Method
Description:
Creates a solid by blending two closed curve loops lying in non-coincident planes.
Creates a solid by blending two closed curve loops lying in non-coincident planes.
Syntax
public static Solid CreateBlendGeometry(
CurveLoop firstLoop,
CurveLoop secondLoop,
ICollection<VertexPair> vertexPairs
)
Parameters
Parameter | Type | Description |
---|---|---|
firstLoop | CurveLoop | The first curve loop. The loop must be a closed planar loop without intersections or degeneracies. No orientation conditions are imposed. The loop may not contain just one closed curve - split such a loop into two or more curves beforehand. |
secondLoop | CurveLoop | The second curve loop, satisfying the same conditions as the first loop. The planes of the first and second loops must not be coincident, but they need not be parallel. |
vertexPairs | ICollection | This input specifies how the two profile loops should be connected. If null, the function chooses vertex connections that will result in a geometrically reasonable blend. |
Return Value
Type | Description |
---|---|
Solid | The requested solid. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The first profile CurveLoop do not satisfy the input requirements. -or- The second profile CurveLoop do not satisfy the input requirements. |
ArgumentNullException | A non-optional argument was null |