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

#include <opennurbs_fpoint.h>

Public Member Functions

double DistanceTo (const ON_3fPoint &) const
 
double Fuzz (double=ON_ZERO_TOLERANCE) const
 
double MaximumCoordinate () const
 
int MaximumCoordinateIndex () const
 
 ON_3fPoint ()
 
 ON_3fPoint (const double *)
 
 ON_3fPoint (const float *)
 
 ON_3fPoint (const ON_2dPoint &)
 
 ON_3fPoint (const ON_2dVector &)
 
 ON_3fPoint (const ON_2fPoint &)
 
 ON_3fPoint (const ON_2fVector &)
 
 ON_3fPoint (const ON_3dPoint &)
 
 ON_3fPoint (const ON_3dVector &)
 
 ON_3fPoint (const ON_3fVector &)
 
 ON_3fPoint (const ON_4dPoint &)
 
 ON_3fPoint (const ON_4fPoint &)
 
 ON_3fPoint (float x, float y, float z)
 
 operator const float * () const
 
 operator float * ()
 
bool operator!= (const ON_3fPoint &) const
 
float operator* (const ON_3fPoint &) const
 
float operator* (const ON_3fVector &) const
 
float operator* (const ON_4fPoint &) const
 
ON_3dPoint operator* (double) const
 
ON_3fPoint operator* (float) const
 
ON_3fPoint operator* (int) const
 
ON_3fPointoperator*= (float)
 
ON_3dPoint operator+ (const ON_2dPoint &) const
 
ON_3dPoint operator+ (const ON_2dVector &) const
 
ON_3fPoint operator+ (const ON_2fPoint &) const
 
ON_3fPoint operator+ (const ON_2fVector &) const
 
ON_3dPoint operator+ (const ON_3dPoint &) const
 
ON_3dPoint operator+ (const ON_3dVector &) const
 
ON_3fPoint operator+ (const ON_3fPoint &) const
 
ON_3fPoint operator+ (const ON_3fVector &) const
 
ON_3fPointoperator+= (const ON_3fPoint &)
 
ON_3fPointoperator+= (const ON_3fVector &)
 
ON_3dVector operator- (const ON_2dPoint &) const
 
ON_3dPoint operator- (const ON_2dVector &) const
 
ON_3fVector operator- (const ON_2fPoint &) const
 
ON_3fPoint operator- (const ON_2fVector &) const
 
ON_3dVector operator- (const ON_3dPoint &) const
 
ON_3dPoint operator- (const ON_3dVector &) const
 
ON_3fVector operator- (const ON_3fPoint &) const
 
ON_3fPoint operator- (const ON_3fVector &) const
 
ON_3fPointoperator-= (const ON_3fPoint &)
 
ON_3fPointoperator-= (const ON_3fVector &)
 
ON_3dPoint operator/ (double) const
 
ON_3fPoint operator/ (float) const
 
ON_3fPoint operator/ (int) const
 
ON_3fPointoperator/= (float)
 
bool operator< (const ON_3fPoint &) const
 
bool operator<= (const ON_3fPoint &) const
 
ON_3fPointoperator= (const double *)
 
ON_3fPointoperator= (const float *)
 
ON_3fPointoperator= (const ON_2dPoint &)
 
ON_3fPointoperator= (const ON_2dVector &)
 
ON_3fPointoperator= (const ON_2fPoint &)
 
ON_3fPointoperator= (const ON_2fVector &)
 
ON_3fPointoperator= (const ON_3dPoint &)
 
ON_3fPointoperator= (const ON_3dVector &)
 
ON_3fPointoperator= (const ON_3fVector &)
 
ON_3fPointoperator= (const ON_4dPoint &)
 
ON_3fPointoperator= (const ON_4fPoint &)
 
bool operator== (const ON_3fPoint &) const
 
bool operator> (const ON_3fPoint &) const
 
bool operator>= (const ON_3fPoint &) const
 
float & operator[] (int)
 
float operator[] (int) const
 
void Rotate (double, const ON_3fVector &, const ON_3fPoint &)
 
void Rotate (double, double, const ON_3fVector &, const ON_3fPoint &)
 
void Set (float, float, float)
 
void Transform (const ON_Xform &)
 
void Zero ()
 

Public Attributes

float x
 
float y
 
float z
 

Static Public Attributes

static const ON_3fPoint Origin
 

Constructor & Destructor Documentation

◆ ON_3fPoint() [1/13]

ON_3fPoint::ON_3fPoint ( )

◆ ON_3fPoint() [2/13]

ON_3fPoint::ON_3fPoint ( float x,
float y,
float z )

◆ ON_3fPoint() [3/13]

ON_3fPoint::ON_3fPoint ( const ON_2fPoint & p)

◆ ON_3fPoint() [4/13]

ON_3fPoint::ON_3fPoint ( const ON_4fPoint & p)

◆ ON_3fPoint() [5/13]

ON_3fPoint::ON_3fPoint ( const ON_2fVector & v)

◆ ON_3fPoint() [6/13]

ON_3fPoint::ON_3fPoint ( const ON_3fVector & v)

◆ ON_3fPoint() [7/13]

ON_3fPoint::ON_3fPoint ( const float * p)

◆ ON_3fPoint() [8/13]

ON_3fPoint::ON_3fPoint ( const ON_2dPoint & p)

◆ ON_3fPoint() [9/13]

ON_3fPoint::ON_3fPoint ( const ON_3dPoint & p)

◆ ON_3fPoint() [10/13]

ON_3fPoint::ON_3fPoint ( const ON_4dPoint & p)

◆ ON_3fPoint() [11/13]

ON_3fPoint::ON_3fPoint ( const ON_2dVector & v)

◆ ON_3fPoint() [12/13]

ON_3fPoint::ON_3fPoint ( const ON_3dVector & v)

◆ ON_3fPoint() [13/13]

ON_3fPoint::ON_3fPoint ( const double * p)

Member Function Documentation

◆ DistanceTo()

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

◆ Fuzz()

double ON_3fPoint::Fuzz ( double absolute_tolerance = ON_ZERO_TOLERANCE) const

◆ MaximumCoordinate()

double ON_3fPoint::MaximumCoordinate ( ) const

◆ MaximumCoordinateIndex()

int ON_3fPoint::MaximumCoordinateIndex ( ) const

◆ operator const float *()

ON_3fPoint::operator const float * ( ) const

◆ operator float *()

ON_3fPoint::operator float * ( )

◆ operator!=()

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

◆ operator*() [1/6]

float ON_3fPoint::operator* ( const ON_3fPoint & h) const

◆ operator*() [2/6]

float ON_3fPoint::operator* ( const ON_3fVector & h) const

◆ operator*() [3/6]

float ON_3fPoint::operator* ( const ON_4fPoint & h) const

◆ operator*() [4/6]

ON_3dPoint ON_3fPoint::operator* ( double d) const

◆ operator*() [5/6]

ON_3fPoint ON_3fPoint::operator* ( float d) const

◆ operator*() [6/6]

ON_3fPoint ON_3fPoint::operator* ( int d) const

◆ operator*=()

ON_3fPoint & ON_3fPoint::operator*= ( float d)

◆ operator+() [1/8]

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

◆ operator+() [2/8]

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

◆ operator+() [3/8]

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

◆ operator+() [4/8]

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

◆ operator+() [5/8]

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

◆ operator+() [6/8]

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

◆ operator+() [7/8]

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

◆ operator+() [8/8]

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

◆ operator+=() [1/2]

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

◆ operator+=() [2/2]

ON_3fPoint & ON_3fPoint::operator+= ( const ON_3fVector & v)

◆ operator-() [1/8]

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

◆ operator-() [2/8]

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

◆ operator-() [3/8]

ON_3fVector ON_3fPoint::operator- ( const ON_2fPoint & p) const

◆ operator-() [4/8]

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

◆ operator-() [5/8]

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

◆ operator-() [6/8]

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

◆ operator-() [7/8]

ON_3fVector ON_3fPoint::operator- ( const ON_3fPoint & p) const

◆ operator-() [8/8]

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

◆ operator-=() [1/2]

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

◆ operator-=() [2/2]

ON_3fPoint & ON_3fPoint::operator-= ( const ON_3fVector & v)

◆ operator/() [1/3]

ON_3dPoint ON_3fPoint::operator/ ( double d) const

◆ operator/() [2/3]

ON_3fPoint ON_3fPoint::operator/ ( float d) const

◆ operator/() [3/3]

ON_3fPoint ON_3fPoint::operator/ ( int d) const

◆ operator/=()

ON_3fPoint & ON_3fPoint::operator/= ( float d)

◆ operator<()

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

◆ operator<=()

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

◆ operator=() [1/11]

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

◆ operator=() [2/11]

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

◆ operator=() [3/11]

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

◆ operator=() [4/11]

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

◆ operator=() [5/11]

ON_3fPoint & ON_3fPoint::operator= ( const ON_2fPoint & p)

◆ operator=() [6/11]

ON_3fPoint & ON_3fPoint::operator= ( const ON_2fVector & v)

◆ operator=() [7/11]

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

◆ operator=() [8/11]

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

◆ operator=() [9/11]

ON_3fPoint & ON_3fPoint::operator= ( const ON_3fVector & v)

◆ operator=() [10/11]

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

◆ operator=() [11/11]

ON_3fPoint & ON_3fPoint::operator= ( const ON_4fPoint & p)

◆ operator==()

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

◆ operator>()

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

◆ operator>=()

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

◆ operator[]() [1/2]

float & ON_3fPoint::operator[] ( int i)

◆ operator[]() [2/2]

float ON_3fPoint::operator[] ( int i) const

◆ Rotate() [1/2]

void ON_3fPoint::Rotate ( double angle,
const ON_3fVector & axis,
const ON_3fPoint & center )

◆ Rotate() [2/2]

void ON_3fPoint::Rotate ( double sin_angle,
double cos_angle,
const ON_3fVector & axis,
const ON_3fPoint & center )

◆ Set()

void ON_3fPoint::Set ( float xx,
float yy,
float zz )

◆ Transform()

void ON_3fPoint::Transform ( const ON_Xform & xform)

◆ Zero()

void ON_3fPoint::Zero ( )

Member Data Documentation

◆ Origin

const ON_3fPoint ON_3fPoint::Origin
static

◆ x

float ON_3fPoint::x

◆ y

float ON_3fPoint::y

◆ z

float ON_3fPoint::z

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