docs/pages/Cylindrical.html
Constructs a new cylindrical.
| radius |
The distance from the origin to a point in the x-z plane.
Default is 1.
| | theta |
A counterclockwise angle in the x-z plane measured in radians from the positive z-axis.
Default is 0.
| | y |
The height above the x-z plane.
Default is 0.
|
The distance from the origin to a point in the x-z plane.
Default is 1.
A counterclockwise angle in the x-z plane measured in radians from the positive z-axis.
Default is 0.
The height above the x-z plane.
Default is 0.
Returns a new cylindrical with copied values from this instance.
Returns: A clone of this instance.
Copies the values of the given cylindrical to this instance.
| other |
The cylindrical to copy.
|
Returns: A reference to this cylindrical.
Sets the cylindrical components by copying the given values.
| radius |
The radius.
| | theta |
The theta angle.
| | y |
The height value.
|
Returns: A reference to this cylindrical.
Sets the cylindrical components from the given Cartesian coordinates.
| x |
The x value.
| | y |
The x value.
| | z |
The x value.
|
Returns: A reference to this cylindrical.
Sets the cylindrical components from the given vector which is assumed to hold Cartesian coordinates.
| v |
The vector to set.
|
Returns: A reference to this cylindrical.