CylindricalHelix.Create
Method
Description:
Create a cylindrical helix.
Create a cylindrical helix.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| basePoint | XYZ | Base point of the axis. It can be any point in 3d. |
| radius | Double | Radius. It should be a positive number. |
| xVector | XYZ | X vector. Should be Non-zero vector. |
| zVector | XYZ | Z vector = axis direction. Should be non-zero and orthogonal to X Vector. |
| pitch | Double | Pitch. It should be non-zero number, can be positive or negative. Positive means right handed and negative means left handed. |
| startAngle | Double | Start angle. It specifies the start point of the Helix. |
| endAngle | Double | End angle. It specifies the end point of the Helix. End angle should not be equal to start angle. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The radius is negative -or- the pitch is zero -or- the xVector or zVector is zero length -or- zVector is not orthogonal to xVector -or- endAngle is equal to startAngle. |