DirectShape.IsValidReferenceCurve
Method
Description:
Validates that the input curve is suitable for creating a direct shape reference curve. Bounded and unbounded lines are accepted. Other bounded and unbounded curve types with natural bounds are accepted if they are not closed.
Validates that the input curve is suitable for creating a direct shape reference curve. Bounded and unbounded lines are accepted. Other bounded and unbounded curve types with natural bounds are accepted if they are not closed.
Parameters
| Parameter | Type | Description |
|---|---|---|
| curve | Curve | The curve to test. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if the input curve point can be used to create a direct shape reference curve, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |