Hide menu
Loading...
Searching...
No Matches
cadex.Geom.Axis2d Class Reference

Defines a right-hand or left-hand axis in 2D. More...

Inherits global.SystemIDisposable.

Public Member Functions

 Axis2d (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 Axis2d ()
 Constructor.
 
 Axis2d (cadex.Geom.Point2d theLocation, cadex.Geom.Direction2d theXDir, cadex.Geom.Direction2d theYDir)
 Constructor.
 
 Axis2d (cadex.Geom.Point2d theLocation, cadex.Geom.Direction2d theDir, bool theCCW)
 Constructor.
 
 Axis2d (cadex.Geom.Point2d theLocation, cadex.Geom.Direction2d theDir)
 
cadex.Geom.Point2d Location ()
 
cadex.Geom.Direction2d XDirection ()
 
cadex.Geom.Direction2d YDirection ()
 
void SetLocation (cadex.Geom.Point2d thePnt)
 
void SetXDirection (cadex.Geom.Direction2d theDir)
 
void SetYDirection (cadex.Geom.Direction2d theDir)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Defines a right-hand or left-hand axis in 2D.

An axis is defined by a location point, a X-direction and an Y-direction the axis is right-handed or left-handed.

Examples
exploring/brep_geometry/Program.cs.

Constructor & Destructor Documentation

◆ Axis2d() [1/2]

cadex.Geom.Axis2d.Axis2d ( )
inline

Constructor.

Creates an axis from point (0., 0.), X-direction (1., 0.) and Y-direction (0., 1.).

◆ Axis2d() [2/2]

cadex.Geom.Axis2d.Axis2d ( cadex.Geom.Point2d theLocation,
cadex.Geom.Direction2d theDir,
bool theCCW )
inline

Constructor.

If theCCW is true than axis2d will be right-handed.