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

Defines a 3D vector. More...

Inherits global.SystemIDisposable.

Public Member Functions

 Vector (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
 Vector ()
 Constructor.
 
 Vector (double theVal)
 Constructor.
 
 Vector (cadex.Geom.Point theOther)
 Constructor.
 
 Vector (cadex.Geom.Vector theOther)
 Constructor.
 
 Vector (cadex.Geom.Direction theOther)
 Constructor.
 
 Vector (double theX, double theY, double theZ)
 Constructor.
 
 Vector (cadex.Geom.Point theStart, cadex.Geom.Point theEnd)
 Constructor.
 
double X ()
 
double Y ()
 
double Z ()
 
void SetX (double theValue)
 
void SetY (double theValue)
 
void SetZ (double theValue)
 
void Set (uint theIndex, double theValue)
 
void SetCoord (double theX, double theY, double theZ)
 
bool IsEqual (cadex.Geom.Vector theOther, double theTolerance)
 
bool IsEqual (cadex.Geom.Vector theOther)
 
double Length ()
 
double Angle (cadex.Geom.Vector theOther)
 
bool IsNormal (cadex.Geom.Vector theOther, double theAngularTolerance)
 
bool IsOpposite (cadex.Geom.Vector theOther, double theAngularTolerance)
 
bool IsParallel (cadex.Geom.Vector theOther, double theAngularTolerance)
 
void Reverse ()
 
cadex.Geom.Vector Reversed ()
 
void Add (cadex.Geom.Vector theOther)
 
cadex.Geom.Vector Added (cadex.Geom.Vector theOther)
 
void Subtract (cadex.Geom.Vector theOther)
 
cadex.Geom.Vector Subtracted (cadex.Geom.Vector theOther)
 
void Multiply (double theScalar)
 
void Multiply (cadex.Geom.Vector theOther)
 
void Multiply (cadex.Geom.Matrix3d theMatrix)
 
cadex.Geom.Vector Multiplied (double theScalar)
 
cadex.Geom.Vector Multiplied (cadex.Geom.Vector theOther)
 
cadex.Geom.Vector Multiplied (cadex.Geom.Matrix3d theMatrix)
 
void Divide (double theScalar)
 
cadex.Geom.Vector Divided (double theScalar)
 
void Normalize ()
 
cadex.Geom.Vector Normalized ()
 
void Cross (cadex.Geom.Vector theOther)
 
cadex.Geom.Vector Crossed (cadex.Geom.Vector theOther)
 
double Dot (cadex.Geom.Vector theOther)
 
void Transform (cadex.Geom.Transformation theTrsf)
 
cadex.Geom.Vector Transformed (cadex.Geom.Transformation theTrsf)
 
void Rotate (cadex.Geom.Axis1d theAxis, double theAngle)
 
cadex.Geom.Vector Rotated (cadex.Geom.Axis1d theAxis, double theAngle)
 
void Mirror (cadex.Geom.Direction theDir)
 
void Mirror (cadex.Geom.Axis1d theAxis)
 
void Mirror (cadex.Geom.Axis3d theAxis)
 
cadex.Geom.Vector Mirrored (cadex.Geom.Direction theDir)
 
cadex.Geom.Vector Mirrored (cadex.Geom.Axis1d theAxis)
 
cadex.Geom.Vector Mirrored (cadex.Geom.Axis3d theAxis)
 
double Access (uint theIndex)
 

Protected Member Functions

virtual void Dispose (bool disposing)
 

Detailed Description

Defines a 3D vector.

Examples
exploring/mesh/mesh.java.

Constructor & Destructor Documentation

◆ Vector()

cadex.Geom.Vector.Vector ( )
inline

Constructor.

Creates a vector with (0, 0, 0) coordinates.