Defines a right-handed or left-handed axis in 3D. More...
Inherits global.SystemIDisposable.
Public Member Functions | |
| Axis3d (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| Axis3d () | |
| Constructor. | |
| Axis3d (cadex.Geom.Point theLocation, cadex.Geom.Direction theAxis) | |
| Constructor. | |
| Axis3d (cadex.Geom.Point theLocation, cadex.Geom.Direction theAxis, cadex.Geom.Direction theXRef) | |
| Constructor. | |
| cadex.Geom.Point | Location () |
| Returns an origin point. | |
| cadex.Geom.Direction | Axis () |
| Returns a Z-direction of the axis. | |
| cadex.Geom.Direction | XDirection () |
| Returns a X-direction of the axis. | |
| cadex.Geom.Direction | YDirection () |
| Returns a Y-direction of the axis placement. | |
| bool | IsRightHanded () |
| Returns true if the axis is right-handed. | |
| void | Reverse () |
| cadex.Geom.Axis3d | Reversed () |
| void | Transform (cadex.Geom.Transformation theTransformation) |
| cadex.Geom.Axis3d | Transformed (cadex.Geom.Transformation theTransformation) |
| void | Scale (cadex.Geom.Point thePoint, double theScale) |
| Sets scale to axis. | |
| cadex.Geom.Axis3d | Scaled (cadex.Geom.Point thePoint, double theScale) |
| void | Rotate (cadex.Geom.Axis1d theAxis, double theAngle) |
| cadex.Geom.Axis3d | Rotated (cadex.Geom.Axis1d theAxis, double theAngle) |
| void | Translate (cadex.Geom.Vector theVector) |
| cadex.Geom.Axis3d | Translated (cadex.Geom.Vector theVector) |
| void | Mirror (cadex.Geom.Point thePoint) |
| void | Mirror (cadex.Geom.Axis1d theAxis) |
| void | Mirror (cadex.Geom.Axis3d theAxis) |
| cadex.Geom.Axis3d | Mirrored (cadex.Geom.Point thePoint) |
| cadex.Geom.Axis3d | Mirrored (cadex.Geom.Axis1d theAxis) |
| cadex.Geom.Axis3d | Mirrored (cadex.Geom.Axis3d theAxis) |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Defines a right-handed or left-handed axis in 3D.
An axis is defined similar to Axis2d, however its directions can be reversed independently.
The following images depict examples of right- and left-handed axis:
|
inline |
Constructor.
Creates an axis from X-direction (1., 0., 0.), Y-direction (0., 1., 0.) and Z-direction (0., 0., 1.).
|
inline |
Returns a Z-direction of the axis.
|
inline |
Returns true if the axis is right-handed.
Returns true if (XDirection() ^ YDirection()) * ZDirection() > 0.
|
inline |
Returns an origin point.
Returns the value specified in the constructor.
|
inline |
Sets scale to axis.
Location() = thePoint * (1.0 - theScale) + Location() * theScale. If theScale is less than zero than directions is reversed.
|
inline |
Returns a X-direction of the axis.
|
inline |
Returns a Y-direction of the axis placement.