Defines an axis as a combination of point and direction. More...
Inherits global.SystemIDisposable.
Public Member Functions | |
| Axis1d (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| void | Dispose () |
| Axis1d () | |
| Constructor. | |
| Axis1d (cadex.Geom.Axis1d theOther) | |
| Constructor. | |
| Axis1d (cadex.Geom.Point theLocation, cadex.Geom.Direction theDir) | |
| Constructor. | |
| cadex.Geom.Point | Location () |
| Returns an origin point. | |
| cadex.Geom.Direction | Direction () |
| Returns a direction value. | |
| bool | IsCoaxial (cadex.Geom.Axis1d theOther, double theAngularTolerance, double theDistanceTolerance, bool theAllowOpposite) |
| Returns true if this axis is coaxial to theOther. | |
| void | Reverse () |
| cadex.Geom.Axis1d | Reversed () |
| void | Transform (cadex.Geom.Transformation theTransformation) |
| cadex.Geom.Axis1d | Transformed (cadex.Geom.Transformation theTransformation) |
| void | Scale (cadex.Geom.Point thePoint, double theScale) |
| Sets scale to an origin point. | |
| cadex.Geom.Axis1d | Scaled (cadex.Geom.Point thePoint, double theScale) |
| void | Mirror (cadex.Geom.Point Point) |
| void | Mirror (cadex.Geom.Axis1d theAxis) |
| void | Mirror (cadex.Geom.Axis3d theAxis) |
| cadex.Geom.Axis1d | Mirrored (cadex.Geom.Point thePoint) |
| cadex.Geom.Axis1d | Mirrored (cadex.Geom.Axis1d theAxis) |
| cadex.Geom.Axis1d | Mirrored (cadex.Geom.Axis3d theAxis) |
| void | Rotate (cadex.Geom.Axis1d theAxis, double theAngle) |
| cadex.Geom.Axis1d | Rotated (cadex.Geom.Axis1d theAxis, double theAngle) |
| void | Translate (cadex.Geom.Vector theVector) |
| cadex.Geom.Axis1d | Translated (cadex.Geom.Vector theVector) |
Static Public Member Functions | |
| static cadex.Geom.Axis1d | OX () |
| Returns an OX axis. | |
| static cadex.Geom.Axis1d | OY () |
| Returns an OY axis. | |
| static cadex.Geom.Axis1d | OZ () |
| Returns an OZ axis. | |
Protected Member Functions | |
| virtual void | Dispose (bool disposing) |
Defines an axis as a combination of point and direction.
|
inline |
Constructor.
Creates an axis from point (0., 0., 0.) and direction (0., 0., 1.).
|
inline |
Constructor.
Creates an axis from origin point and direction.
|
inline |
Returns a direction value.
Returns the value specified in the constructor.
|
inline |
Returns true if this axis is coaxial to theOther.
Returns true if angle between axes is less than theAngularTolerance and distances between each axis origins and another axis is less than theDistanceTolerance. If theAllowOpposite is true then also checks if the angle is equal to PI within theAngularTolerance.
|
inline |
Returns an origin point.
Returns the value specified in the constructor.
|
inlinestatic |
Returns an OX axis.
Creates an axis from point (0., 0., 0.) and direction (1., 0., 0.).
|
inlinestatic |
Returns an OY axis.
Creates an axis from point (0., 0., 0.) and direction (0., 1., 0.).
|
inlinestatic |
Returns an OZ axis.
Creates an axis from point (0., 0., 0.) and direction (0., 0., 1.).
|
inline |
Sets scale to an origin point.
If scale is less than zero than a direction value will be reversed.