QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_3dPoint Class Reference

#include <opennurbs_point.h>

Public Member Functions

double DistanceTo (const ON_3dPoint &) const
 
double Fuzz (double tolerance=ON_ZERO_TOLERANCE) const
 
bool IsUnsetPoint () const
 
bool IsValid () const
 
double MaximumCoordinate () const
 
int MaximumCoordinateIndex () const
 
double MinimumCoordinate () const
 
int MinimumCoordinateIndex () const
 
 ON_3dPoint ()
 
 ON_3dPoint (const class ON_2fPoint &)
 
 ON_3dPoint (const class ON_2fVector &)
 
 ON_3dPoint (const class ON_3fPoint &)
 
 ON_3dPoint (const class ON_3fVector &)
 
 ON_3dPoint (const class ON_4fPoint &)
 
 ON_3dPoint (const double *)
 
 ON_3dPoint (const float *)
 
 ON_3dPoint (const ON_2dPoint &)
 
 ON_3dPoint (const ON_2dVector &)
 
 ON_3dPoint (const ON_3dVector &)
 
 ON_3dPoint (const ON_4dPoint &)
 
 ON_3dPoint (double x, double y, double z)
 
 operator const double * () const
 
 operator double * ()
 
bool operator!= (const ON_3dPoint &) const
 
double operator* (const ON_3dPoint &) const
 
double operator* (const ON_3dVector &) const
 
double operator* (const ON_4dPoint &) const
 
ON_3dPoint operator* (const ON_Xform &) const
 
ON_3dPoint operator* (double) const
 
ON_3dPoint operator* (float) const
 
ON_3dPoint operator* (int) const
 
ON_3dPointoperator*= (double)
 
ON_3dPoint operator+ (const ON_2dPoint &) const
 
ON_3dPoint operator+ (const ON_2dVector &) const
 
ON_3dPoint operator+ (const ON_2fPoint &) const
 
ON_3dPoint operator+ (const ON_2fVector &) const
 
ON_3dPoint operator+ (const ON_3dPoint &) const
 
ON_3dPoint operator+ (const ON_3dVector &) const
 
ON_3dPoint operator+ (const ON_3fPoint &) const
 
ON_3dPoint operator+ (const ON_3fVector &) const
 
ON_3dPointoperator+= (const ON_3dPoint &)
 
ON_3dPointoperator+= (const ON_3dVector &)
 
ON_3dVector operator- (const ON_2dPoint &) const
 
ON_3dPoint operator- (const ON_2dVector &) const
 
ON_3dVector operator- (const ON_2fPoint &) const
 
ON_3dPoint operator- (const ON_2fVector &) const
 
ON_3dVector operator- (const ON_3dPoint &) const
 
ON_3dPoint operator- (const ON_3dVector &) const
 
ON_3dVector operator- (const ON_3fPoint &) const
 
ON_3dPoint operator- (const ON_3fVector &) const
 
ON_3dPointoperator-= (const ON_3dPoint &)
 
ON_3dPointoperator-= (const ON_3dVector &)
 
ON_3dPoint operator/ (double) const
 
ON_3dPoint operator/ (float) const
 
ON_3dPoint operator/ (int) const
 
ON_3dPointoperator/= (double)
 
bool operator< (const ON_3dPoint &) const
 
bool operator<= (const ON_3dPoint &) const
 
ON_3dPointoperator= (const class ON_2fPoint &)
 
ON_3dPointoperator= (const class ON_2fVector &)
 
ON_3dPointoperator= (const class ON_3fPoint &)
 
ON_3dPointoperator= (const class ON_3fVector &)
 
ON_3dPointoperator= (const class ON_4fPoint &)
 
ON_3dPointoperator= (const double *)
 
ON_3dPointoperator= (const float *)
 
ON_3dPointoperator= (const ON_2dPoint &)
 
ON_3dPointoperator= (const ON_2dVector &)
 
ON_3dPointoperator= (const ON_3dVector &)
 
ON_3dPointoperator= (const ON_4dPoint &)
 
bool operator== (const ON_3dPoint &) const
 
bool operator> (const ON_3dPoint &) const
 
bool operator>= (const ON_3dPoint &) const
 
double & operator[] (int)
 
double operator[] (int) const
 
void Rotate (double angle, const ON_3dVector &axis, const ON_3dPoint &center)
 
void Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis, const ON_3dPoint &center)
 
void Set (double x, double y, double z)
 
void Transform (const ON_Xform &)
 
void Zero ()
 

Public Attributes

double x
 
double y
 
double z
 

Static Public Attributes

static const ON_3dPoint Origin
 
static const ON_3dPoint UnsetPoint
 

Constructor & Destructor Documentation

◆ ON_3dPoint() [1/13]

ON_3dPoint::ON_3dPoint ( )

◆ ON_3dPoint() [2/13]

ON_3dPoint::ON_3dPoint ( double x,
double y,
double z )

◆ ON_3dPoint() [3/13]

ON_3dPoint::ON_3dPoint ( const ON_2dPoint & p)

◆ ON_3dPoint() [4/13]

ON_3dPoint::ON_3dPoint ( const ON_4dPoint & p)

◆ ON_3dPoint() [5/13]

ON_3dPoint::ON_3dPoint ( const ON_2dVector & v)

◆ ON_3dPoint() [6/13]

ON_3dPoint::ON_3dPoint ( const ON_3dVector & v)

◆ ON_3dPoint() [7/13]

ON_3dPoint::ON_3dPoint ( const double * p)

◆ ON_3dPoint() [8/13]

ON_3dPoint::ON_3dPoint ( const class ON_2fPoint & )

◆ ON_3dPoint() [9/13]

ON_3dPoint::ON_3dPoint ( const class ON_3fPoint & )

◆ ON_3dPoint() [10/13]

ON_3dPoint::ON_3dPoint ( const class ON_4fPoint & )

◆ ON_3dPoint() [11/13]

ON_3dPoint::ON_3dPoint ( const class ON_2fVector & )

◆ ON_3dPoint() [12/13]

ON_3dPoint::ON_3dPoint ( const class ON_3fVector & )

◆ ON_3dPoint() [13/13]

ON_3dPoint::ON_3dPoint ( const float * p)

Member Function Documentation

◆ DistanceTo()

double ON_3dPoint::DistanceTo ( const ON_3dPoint & p) const

◆ Fuzz()

double ON_3dPoint::Fuzz ( double tolerance = ON_ZERO_TOLERANCE) const

◆ IsUnsetPoint()

bool ON_3dPoint::IsUnsetPoint ( ) const

◆ IsValid()

bool ON_3dPoint::IsValid ( ) const

◆ MaximumCoordinate()

double ON_3dPoint::MaximumCoordinate ( ) const

◆ MaximumCoordinateIndex()

int ON_3dPoint::MaximumCoordinateIndex ( ) const

◆ MinimumCoordinate()

double ON_3dPoint::MinimumCoordinate ( ) const

◆ MinimumCoordinateIndex()

int ON_3dPoint::MinimumCoordinateIndex ( ) const

◆ operator const double *()

ON_3dPoint::operator const double * ( ) const

◆ operator double *()

ON_3dPoint::operator double * ( )

◆ operator!=()

bool ON_3dPoint::operator!= ( const ON_3dPoint & p) const

◆ operator*() [1/7]

double ON_3dPoint::operator* ( const ON_3dPoint & h) const

◆ operator*() [2/7]

double ON_3dPoint::operator* ( const ON_3dVector & h) const

◆ operator*() [3/7]

double ON_3dPoint::operator* ( const ON_4dPoint & h) const

◆ operator*() [4/7]

ON_3dPoint ON_3dPoint::operator* ( const ON_Xform & xform) const

◆ operator*() [5/7]

ON_3dPoint ON_3dPoint::operator* ( double d) const

◆ operator*() [6/7]

ON_3dPoint ON_3dPoint::operator* ( float f) const

◆ operator*() [7/7]

ON_3dPoint ON_3dPoint::operator* ( int i) const

◆ operator*=()

ON_3dPoint & ON_3dPoint::operator*= ( double d)

◆ operator+() [1/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_2dPoint & p) const

◆ operator+() [2/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_2dVector & v) const

◆ operator+() [3/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_2fPoint & p) const

◆ operator+() [4/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_2fVector & v) const

◆ operator+() [5/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_3dPoint & p) const

◆ operator+() [6/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_3dVector & v) const

◆ operator+() [7/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_3fPoint & p) const

◆ operator+() [8/8]

ON_3dPoint ON_3dPoint::operator+ ( const ON_3fVector & v) const

◆ operator+=() [1/2]

ON_3dPoint & ON_3dPoint::operator+= ( const ON_3dPoint & p)

◆ operator+=() [2/2]

ON_3dPoint & ON_3dPoint::operator+= ( const ON_3dVector & v)

◆ operator-() [1/8]

ON_3dVector ON_3dPoint::operator- ( const ON_2dPoint & p) const

◆ operator-() [2/8]

ON_3dPoint ON_3dPoint::operator- ( const ON_2dVector & v) const

◆ operator-() [3/8]

ON_3dVector ON_3dPoint::operator- ( const ON_2fPoint & p) const

◆ operator-() [4/8]

ON_3dPoint ON_3dPoint::operator- ( const ON_2fVector & v) const

◆ operator-() [5/8]

ON_3dVector ON_3dPoint::operator- ( const ON_3dPoint & p) const

◆ operator-() [6/8]

ON_3dPoint ON_3dPoint::operator- ( const ON_3dVector & v) const

◆ operator-() [7/8]

ON_3dVector ON_3dPoint::operator- ( const ON_3fPoint & p) const

◆ operator-() [8/8]

ON_3dPoint ON_3dPoint::operator- ( const ON_3fVector & v) const

◆ operator-=() [1/2]

ON_3dPoint & ON_3dPoint::operator-= ( const ON_3dPoint & p)

◆ operator-=() [2/2]

ON_3dPoint & ON_3dPoint::operator-= ( const ON_3dVector & v)

◆ operator/() [1/3]

ON_3dPoint ON_3dPoint::operator/ ( double d) const

◆ operator/() [2/3]

ON_3dPoint ON_3dPoint::operator/ ( float f) const

◆ operator/() [3/3]

ON_3dPoint ON_3dPoint::operator/ ( int i) const

◆ operator/=()

ON_3dPoint & ON_3dPoint::operator/= ( double d)

◆ operator<()

bool ON_3dPoint::operator< ( const ON_3dPoint & p) const

◆ operator<=()

bool ON_3dPoint::operator<= ( const ON_3dPoint & p) const

◆ operator=() [1/11]

ON_3dPoint & ON_3dPoint::operator= ( const class ON_2fPoint & )

◆ operator=() [2/11]

ON_3dPoint & ON_3dPoint::operator= ( const class ON_2fVector & )

◆ operator=() [3/11]

ON_3dPoint & ON_3dPoint::operator= ( const class ON_3fPoint & )

◆ operator=() [4/11]

ON_3dPoint & ON_3dPoint::operator= ( const class ON_3fVector & )

◆ operator=() [5/11]

ON_3dPoint & ON_3dPoint::operator= ( const class ON_4fPoint & )

◆ operator=() [6/11]

ON_3dPoint & ON_3dPoint::operator= ( const double * p)

◆ operator=() [7/11]

ON_3dPoint & ON_3dPoint::operator= ( const float * p)

◆ operator=() [8/11]

ON_3dPoint & ON_3dPoint::operator= ( const ON_2dPoint & p)

◆ operator=() [9/11]

ON_3dPoint & ON_3dPoint::operator= ( const ON_2dVector & v)

◆ operator=() [10/11]

ON_3dPoint & ON_3dPoint::operator= ( const ON_3dVector & v)

◆ operator=() [11/11]

ON_3dPoint & ON_3dPoint::operator= ( const ON_4dPoint & p)

◆ operator==()

bool ON_3dPoint::operator== ( const ON_3dPoint & p) const

◆ operator>()

bool ON_3dPoint::operator> ( const ON_3dPoint & p) const

◆ operator>=()

bool ON_3dPoint::operator>= ( const ON_3dPoint & p) const

◆ operator[]() [1/2]

double & ON_3dPoint::operator[] ( int i)

◆ operator[]() [2/2]

double ON_3dPoint::operator[] ( int i) const

◆ Rotate() [1/2]

void ON_3dPoint::Rotate ( double angle,
const ON_3dVector & axis,
const ON_3dPoint & center )

◆ Rotate() [2/2]

void ON_3dPoint::Rotate ( double sin_angle,
double cos_angle,
const ON_3dVector & axis,
const ON_3dPoint & center )

◆ Set()

void ON_3dPoint::Set ( double x,
double y,
double z )

◆ Transform()

void ON_3dPoint::Transform ( const ON_Xform & xform)

◆ Zero()

void ON_3dPoint::Zero ( )

Member Data Documentation

◆ Origin

const ON_3dPoint ON_3dPoint::Origin
static

◆ UnsetPoint

const ON_3dPoint ON_3dPoint::UnsetPoint
static

◆ x

double ON_3dPoint::x

◆ y

double ON_3dPoint::y

◆ z

double ON_3dPoint::z

The documentation for this class was generated from the following files: