Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
ON_3dVector Class Reference

#include <opennurbs_point.h>

Inheritance diagram for ON_3dVector:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool Decompose (const ON_3dVector &, const ON_3dVector &, const ON_3dVector &, double *, double *, double *) const
double Fuzz (double tolerance=ON_ZERO_TOLERANCE) const
int IsParallelTo (const ON_3dVector &other, double angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE) const
bool IsPerpendicularTo (const ON_3dVector &other, double angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE) const
bool IsTiny (double tiny_tol=ON_ZERO_TOLERANCE) const
bool IsUnitVector () const
bool IsUnsetVector () const
bool IsValid () const
bool IsZero () const
double Length () const
double LengthAndUnitize ()
double LengthSquared () const
double MaximumCoordinate () const
int MaximumCoordinateIndex () const
double MinimumCoordinate () const
int MinimumCoordinateIndex () const
 ON_3dVector ()
 ON_3dVector (double x, double y, double z)
 ON_3dVector (const ON_2dVector &)
 ON_3dVector (const ON_2dPoint &)
 ON_3dVector (const ON_3dPoint &)
 ON_3dVector (const double *)
 ON_3dVector (const ON_2fVector &)
 ON_3dVector (const ON_3fVector &)
 ON_3dVector (const ON_2fPoint &)
 ON_3dVector (const ON_3fPoint &)
 ON_3dVector (const float *)
 operator const double * () const
 operator double * ()
bool operator!= (const ON_3dVector &) const
double operator* (const ON_3dVector &) const
double operator* (const ON_3dPoint &) const
double operator* (const ON_3fVector &) const
ON_3dVector operator* (int) const
ON_3dVector operator* (float) const
ON_3dVector operator* (double) const
double operator* (const ON_4dPoint &) const
ON_3dVector operator* (const ON_Xform &) const
ON_3dVectoroperator*= (double)
ON_3dVector operator+ (const ON_3dVector &) const
ON_3dPoint operator+ (const ON_3dPoint &) const
ON_3dVector operator+ (const ON_2dVector &) const
ON_3dPoint operator+ (const ON_2dPoint &) const
ON_3dVector operator+ (const ON_3fVector &) const
ON_3dPoint operator+ (const ON_3fPoint &) const
ON_3dVector operator+ (const ON_2fVector &) const
ON_3dPoint operator+ (const ON_2fPoint &) const
ON_3dVectoroperator+= (const ON_3dVector &)
ON_3dVector operator- () const
ON_3dVector operator- (const ON_3dVector &) const
ON_3dPoint operator- (const ON_3dPoint &) const
ON_3dVector operator- (const ON_2dVector &) const
ON_3dPoint operator- (const ON_2dPoint &) const
ON_3dVector operator- (const ON_3fVector &) const
ON_3dPoint operator- (const ON_3fPoint &) const
ON_3dVector operator- (const ON_2fVector &) const
ON_3dPoint operator- (const ON_2fPoint &) const
ON_3dVectoroperator-= (const ON_3dVector &)
ON_3dVector operator/ (int) const
ON_3dVector operator/ (float) const
ON_3dVector operator/ (double) const
ON_3dVectoroperator/= (double)
bool operator< (const ON_3dVector &) const
bool operator<= (const ON_3dVector &) const
ON_3dVectoroperator= (const ON_2dVector &)
ON_3dVectoroperator= (const ON_2dPoint &)
ON_3dVectoroperator= (const ON_3dPoint &)
ON_3dVectoroperator= (const double *)
ON_3dVectoroperator= (const ON_2fVector &)
ON_3dVectoroperator= (const ON_3fVector &)
ON_3dVectoroperator= (const ON_2fPoint &)
ON_3dVectoroperator= (const ON_3fPoint &)
ON_3dVectoroperator= (const float *)
bool operator== (const ON_3dVector &) const
bool operator> (const ON_3dVector &) const
bool operator>= (const ON_3dVector &) const
double & operator[] (int)
double operator[] (int) const
double & operator[] (unsigned int)
double operator[] (unsigned int) const
bool PerpendicularTo (const ON_3dVector &)
bool PerpendicularTo (const ON_3dPoint &, const ON_3dPoint &, const ON_3dPoint &)
void Reverse ()
void Rotate (double angle, const ON_3dVector &axis)
void Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis)
void Set (double x, double y, double z)
void Transform (const ON_Xform &)
bool Unitize ()
void Zero ()

Static Public Member Functions

static const ON_3dVectorUnitVector (int)

Public Attributes

double x
double y
double z

Static Public Attributes

static const ON_3dVector UnsetVector
static const ON_3dVector XAxis
static const ON_3dVector YAxis
static const ON_3dVector ZAxis
static const ON_3dVector ZeroVector

Detailed Description

Definition at line 952 of file opennurbs_point.h.


Constructor & Destructor Documentation

Definition at line 5529 of file opennurbs_point.cpp.

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

Definition at line 5552 of file opennurbs_point.cpp.

Definition at line 5555 of file opennurbs_point.cpp.

Definition at line 5558 of file opennurbs_point.cpp.

Definition at line 5561 of file opennurbs_point.cpp.

ON_3dVector::ON_3dVector ( const double *  v)

Definition at line 5542 of file opennurbs_point.cpp.

Definition at line 5564 of file opennurbs_point.cpp.

Definition at line 5567 of file opennurbs_point.cpp.

Definition at line 5570 of file opennurbs_point.cpp.

Definition at line 5573 of file opennurbs_point.cpp.

ON_3dVector::ON_3dVector ( const float *  v)

Definition at line 5532 of file opennurbs_point.cpp.


Member Function Documentation

bool ON_3dVector::Decompose ( const ON_3dVector X,
const ON_3dVector Y,
const ON_3dVector Z,
double *  a,
double *  b,
double *  c 
) const

Definition at line 472 of file opennurbs_point.cpp.

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

Definition at line 1301 of file opennurbs_point.cpp.

int ON_3dVector::IsParallelTo ( const ON_3dVector other,
double  angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE 
) const

Definition at line 497 of file opennurbs_point.cpp.

bool ON_3dVector::IsPerpendicularTo ( const ON_3dVector other,
double  angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE 
) const

Definition at line 531 of file opennurbs_point.cpp.

bool ON_3dVector::IsTiny ( double  tiny_tol = ON_ZERO_TOLERANCE) const

Definition at line 6076 of file opennurbs_point.cpp.

bool ON_3dVector::IsUnitVector ( ) const

Definition at line 6086 of file opennurbs_point.cpp.

Definition at line 6151 of file opennurbs_point.cpp.

bool ON_3dVector::IsValid ( ) const

Reimplemented in ON_PlaneEquation.

Definition at line 6146 of file opennurbs_point.cpp.

bool ON_3dVector::IsZero ( ) const

Definition at line 6081 of file opennurbs_point.cpp.

double ON_3dVector::Length ( ) const

Definition at line 5961 of file opennurbs_point.cpp.

Definition at line 6025 of file opennurbs_point.cpp.

double ON_3dVector::LengthSquared ( ) const

Definition at line 5921 of file opennurbs_point.cpp.

Definition at line 5904 of file opennurbs_point.cpp.

Definition at line 5899 of file opennurbs_point.cpp.

Definition at line 5915 of file opennurbs_point.cpp.

Definition at line 5910 of file opennurbs_point.cpp.

ON_3dVector::operator const double * ( ) const

Definition at line 5581 of file opennurbs_point.cpp.

ON_3dVector::operator double * ( )

Definition at line 5576 of file opennurbs_point.cpp.

bool ON_3dVector::operator!= ( const ON_3dVector v) const

Definition at line 5848 of file opennurbs_point.cpp.

double ON_3dVector::operator* ( const ON_3dVector v) const

Definition at line 5724 of file opennurbs_point.cpp.

double ON_3dVector::operator* ( const ON_3dPoint v) const

Definition at line 5729 of file opennurbs_point.cpp.

double ON_3dVector::operator* ( const ON_3fVector v) const

Definition at line 5734 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator* ( int  i) const

Definition at line 5707 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator* ( float  f) const

Definition at line 5713 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator* ( double  d) const

Definition at line 5719 of file opennurbs_point.cpp.

double ON_3dVector::operator* ( const ON_4dPoint h) const

Definition at line 5838 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator* ( const ON_Xform xform) const

Definition at line 1279 of file opennurbs_point.cpp.

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

Definition at line 5674 of file opennurbs_point.cpp.

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

Definition at line 5757 of file opennurbs_point.cpp.

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

Definition at line 5762 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator+ ( const ON_2dVector v) const

Definition at line 5777 of file opennurbs_point.cpp.

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

Definition at line 5782 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator+ ( const ON_3fVector v) const

Definition at line 5797 of file opennurbs_point.cpp.

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

Definition at line 5802 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator+ ( const ON_2fVector v) const

Definition at line 5817 of file opennurbs_point.cpp.

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

Definition at line 5822 of file opennurbs_point.cpp.

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

Definition at line 5691 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator- ( ) const

Definition at line 5669 of file opennurbs_point.cpp.

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

Definition at line 5767 of file opennurbs_point.cpp.

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

Definition at line 5772 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator- ( const ON_2dVector v) const

Definition at line 5787 of file opennurbs_point.cpp.

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

Definition at line 5792 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator- ( const ON_3fVector v) const

Definition at line 5807 of file opennurbs_point.cpp.

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

Definition at line 5812 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator- ( const ON_2fVector v) const

Definition at line 5827 of file opennurbs_point.cpp.

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

Definition at line 5832 of file opennurbs_point.cpp.

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

Definition at line 5699 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator/ ( int  i) const

Definition at line 5739 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator/ ( float  f) const

Definition at line 5745 of file opennurbs_point.cpp.

ON_3dVector ON_3dVector::operator/ ( double  d) const

Definition at line 5751 of file opennurbs_point.cpp.

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

Definition at line 5682 of file opennurbs_point.cpp.

bool ON_3dVector::operator< ( const ON_3dVector v) const

Definition at line 5865 of file opennurbs_point.cpp.

bool ON_3dVector::operator<= ( const ON_3dVector v) const

Definition at line 5853 of file opennurbs_point.cpp.

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

Definition at line 5612 of file opennurbs_point.cpp.

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

Definition at line 5620 of file opennurbs_point.cpp.

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

Definition at line 5628 of file opennurbs_point.cpp.

ON_3dVector & ON_3dVector::operator= ( const double *  v)

Definition at line 5599 of file opennurbs_point.cpp.

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

Definition at line 5637 of file opennurbs_point.cpp.

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

Definition at line 5645 of file opennurbs_point.cpp.

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

Definition at line 5653 of file opennurbs_point.cpp.

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

Definition at line 5661 of file opennurbs_point.cpp.

ON_3dVector & ON_3dVector::operator= ( const float *  v)

Definition at line 5586 of file opennurbs_point.cpp.

bool ON_3dVector::operator== ( const ON_3dVector v) const

Definition at line 5843 of file opennurbs_point.cpp.

bool ON_3dVector::operator> ( const ON_3dVector v) const

Definition at line 5871 of file opennurbs_point.cpp.

bool ON_3dVector::operator>= ( const ON_3dVector v) const

Definition at line 5859 of file opennurbs_point.cpp.

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

Definition at line 5882 of file opennurbs_point.cpp.

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

Definition at line 5877 of file opennurbs_point.cpp.

double & ON_3dVector::operator[] ( unsigned int  i)

Definition at line 5893 of file opennurbs_point.cpp.

double ON_3dVector::operator[] ( unsigned int  i) const

Definition at line 5888 of file opennurbs_point.cpp.

Definition at line 554 of file opennurbs_point.cpp.

bool ON_3dVector::PerpendicularTo ( const ON_3dPoint P0,
const ON_3dPoint P1,
const ON_3dPoint P2 
)

Definition at line 618 of file opennurbs_point.cpp.

Definition at line 5971 of file opennurbs_point.cpp.

void ON_3dVector::Rotate ( double  angle,
const ON_3dVector axis 
)

Definition at line 1116 of file opennurbs_point.cpp.

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

Definition at line 1124 of file opennurbs_point.cpp.

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

Definition at line 6208 of file opennurbs_point.cpp.

void ON_3dVector::Transform ( const ON_Xform xform)

Reimplemented in ON_PlaneEquation.

Definition at line 986 of file opennurbs_point.cpp.

Definition at line 5978 of file opennurbs_point.cpp.

const ON_3dVector & ON_3dVector::UnitVector ( int  index) [static]

Definition at line 5511 of file opennurbs_point.cpp.

Definition at line 5966 of file opennurbs_point.cpp.


Member Data Documentation

Definition at line 961 of file opennurbs_point.h.

Definition at line 955 of file opennurbs_point.h.

Definition at line 958 of file opennurbs_point.h.

Definition at line 955 of file opennurbs_point.h.

Definition at line 959 of file opennurbs_point.h.

Definition at line 955 of file opennurbs_point.h.

Definition at line 960 of file opennurbs_point.h.

Definition at line 957 of file opennurbs_point.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:50