CylindricalHelix.Create
Description:
Create a cylindrical helix.
Create a cylindrical helix.
public static CylindricalHelix Create(
XYZ basePoint,
double radius,
XYZ xVector,
XYZ zVector,
double pitch,
double startAngle,
double endAngle
)
-
basePointBase point of the axis. It can be any point in 3d.
-
DoubleradiusRadius. It should be a positive number.
-
xVectorX vector. Should be Non-zero vector.
-
zVectorZ vector = axis direction. Should be non-zero and orthogonal to X Vector.
-
DoublepitchPitch. It should be non-zero number, can be positive or negative. Positive means right handed and negative means left handed.
-
DoublestartAngleStart angle. It specifies the start point of the Helix.
-
DoubleendAngleEnd angle. It specifies the end point of the Helix. End angle should not be equal to start angle.
-
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.