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 angle between axes is less than theAngularTolerance and distances between each axis origins and another axis is less than theDistanceTolerance. | |
| 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 thePoint) |
| Location() = 2.0 * thePoint - Location(). | |
| 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.
|
inline |
Constructor.
|
inline |
Constructor.
|
inline |
Returns a direction value.
|
inline |
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. Returns true if this axis is coaxial to theOther.
|
inline |
Returns an origin point.
|
inline |
Location() = 2.0 * thePoint - Location().
Reverses directions. Mirrors an origin point.
|
inlinestatic |
Returns an OX axis.
|
inlinestatic |
Returns an OY axis.
|
inlinestatic |
Returns an OZ axis.
|
inline |
Sets scale to an origin point.