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

#include <opennurbs_fpoint.h>

List of all members.

Public Member Functions

double Fuzz (double=ON_ZERO_TOLERANCE) const
bool IsPerpendicularTo (const ON_3fVector &, double=ON_DEFAULT_ANGLE_TOLERANCE) const
bool IsTiny (double=ON_ZERO_TOLERANCE) const
bool IsUnitVector () const
bool IsZero () const
double Length () const
double LengthSquared () const
double MaximumCoordinate () const
int MaximumCoordinateIndex () const
 ON_3fVector ()
 ON_3fVector (float x, float y, float z)
 ON_3fVector (const ON_2fPoint &)
 ON_3fVector (const ON_3fPoint &)
 ON_3fVector (const ON_4fPoint &)
 ON_3fVector (const ON_2fVector &)
 ON_3fVector (const float *)
 ON_3fVector (const ON_2dPoint &)
 ON_3fVector (const ON_3dPoint &)
 ON_3fVector (const ON_4dPoint &)
 ON_3fVector (const ON_2dVector &)
 ON_3fVector (const ON_3dVector &)
 ON_3fVector (const double *)
 operator const float * () const
 operator float * ()
bool operator!= (const ON_3fVector &) const
float operator* (const ON_3fVector &) const
float operator* (const ON_3fPoint &) const
double operator* (const ON_3dVector &) const
ON_3fVector operator* (int) const
ON_3fVector operator* (float) const
ON_3dVector operator* (double) const
float operator* (const ON_4fPoint &) const
ON_3fVectoroperator*= (float)
ON_3fVector operator+ (const ON_3fVector &) const
ON_3fPoint operator+ (const ON_3fPoint &) const
ON_3fVector operator+ (const ON_2fVector &) const
ON_3fPoint operator+ (const ON_2fPoint &) 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_3fVectoroperator+= (const ON_3fVector &)
ON_3fVector operator- () const
ON_3fVector operator- (const ON_3fVector &) const
ON_3fPoint operator- (const ON_3fPoint &) const
ON_3fVector operator- (const ON_2fVector &) const
ON_3fPoint operator- (const ON_2fPoint &) 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_3fVectoroperator-= (const ON_3fVector &)
ON_3fVector operator/ (int) const
ON_3fVector operator/ (float) const
ON_3dVector operator/ (double) const
ON_3fVectoroperator/= (float)
bool operator< (const ON_3fVector &) const
bool operator<= (const ON_3fVector &) const
ON_3fVectoroperator= (const ON_2fPoint &)
ON_3fVectoroperator= (const ON_3fPoint &)
ON_3fVectoroperator= (const ON_4fPoint &)
ON_3fVectoroperator= (const ON_2fVector &)
ON_3fVectoroperator= (const float *)
ON_3fVectoroperator= (const ON_2dPoint &)
ON_3fVectoroperator= (const ON_3dPoint &)
ON_3fVectoroperator= (const ON_4dPoint &)
ON_3fVectoroperator= (const ON_2dVector &)
ON_3fVectoroperator= (const ON_3dVector &)
ON_3fVectoroperator= (const double *)
bool operator== (const ON_3fVector &) const
bool operator> (const ON_3fVector &) const
bool operator>= (const ON_3fVector &) const
float & operator[] (int)
float operator[] (int) const
float & operator[] (unsigned int)
float operator[] (unsigned int) const
bool PerpendicularTo (const ON_3fVector &)
void Reverse ()
void Rotate (double, const ON_3fVector &)
void Rotate (double, double, const ON_3fVector &)
void Set (float, float, float)
void Transform (const ON_Xform &)
bool Unitize ()
void Zero ()

Static Public Member Functions

static const ON_3fVectorUnitVector (int)

Public Attributes

float x
float y
float z

Static Public Attributes

static const ON_3fVector XAxis
static const ON_3fVector YAxis
static const ON_3fVector ZAxis
static const ON_3fVector ZeroVector

Detailed Description

Definition at line 631 of file opennurbs_fpoint.h.


Constructor & Destructor Documentation

Definition at line 3148 of file opennurbs_point.cpp.

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

Definition at line 3171 of file opennurbs_point.cpp.

Definition at line 3177 of file opennurbs_point.cpp.

Definition at line 3180 of file opennurbs_point.cpp.

Definition at line 3174 of file opennurbs_point.cpp.

ON_3fVector::ON_3fVector ( const float *  v)

Definition at line 3161 of file opennurbs_point.cpp.

Definition at line 3189 of file opennurbs_point.cpp.

Definition at line 3192 of file opennurbs_point.cpp.

Definition at line 3183 of file opennurbs_point.cpp.

Definition at line 3186 of file opennurbs_point.cpp.

ON_3fVector::ON_3fVector ( const double *  v)

Definition at line 3151 of file opennurbs_point.cpp.


Member Function Documentation

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

Definition at line 1292 of file opennurbs_point.cpp.

bool ON_3fVector::IsPerpendicularTo ( const ON_3fVector v,
double  angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE 
) const

Definition at line 519 of file opennurbs_point.cpp.

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

Definition at line 3571 of file opennurbs_point.cpp.

bool ON_3fVector::IsUnitVector ( ) const

Definition at line 3063 of file opennurbs_point.cpp.

bool ON_3fVector::IsZero ( ) const

Definition at line 3576 of file opennurbs_point.cpp.

double ON_3fVector::Length ( ) const

Definition at line 3535 of file opennurbs_point.cpp.

double ON_3fVector::LengthSquared ( ) const

Definition at line 3530 of file opennurbs_point.cpp.

Definition at line 3524 of file opennurbs_point.cpp.

Definition at line 3519 of file opennurbs_point.cpp.

ON_3fVector::operator const float * ( ) const

Definition at line 3200 of file opennurbs_point.cpp.

ON_3fVector::operator float * ( )

Definition at line 3195 of file opennurbs_point.cpp.

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

Definition at line 3468 of file opennurbs_point.cpp.

float ON_3fVector::operator* ( const ON_3fVector v) const

Definition at line 3341 of file opennurbs_point.cpp.

float ON_3fVector::operator* ( const ON_3fPoint v) const

Definition at line 3346 of file opennurbs_point.cpp.

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

Definition at line 3351 of file opennurbs_point.cpp.

ON_3fVector ON_3fVector::operator* ( int  d) const

Definition at line 3326 of file opennurbs_point.cpp.

ON_3fVector ON_3fVector::operator* ( float  d) const

Definition at line 3331 of file opennurbs_point.cpp.

ON_3dVector ON_3fVector::operator* ( double  d) const

Definition at line 3336 of file opennurbs_point.cpp.

float ON_3fVector::operator* ( const ON_4fPoint h) const

Definition at line 3458 of file opennurbs_point.cpp.

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

Definition at line 3293 of file opennurbs_point.cpp.

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

Definition at line 3374 of file opennurbs_point.cpp.

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

Definition at line 3379 of file opennurbs_point.cpp.

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

Definition at line 3394 of file opennurbs_point.cpp.

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

Definition at line 3399 of file opennurbs_point.cpp.

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

Definition at line 3417 of file opennurbs_point.cpp.

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

Definition at line 3422 of file opennurbs_point.cpp.

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

Definition at line 3437 of file opennurbs_point.cpp.

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

Definition at line 3442 of file opennurbs_point.cpp.

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

Definition at line 3310 of file opennurbs_point.cpp.

ON_3fVector ON_3fVector::operator- ( ) const

Definition at line 3288 of file opennurbs_point.cpp.

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

Definition at line 3384 of file opennurbs_point.cpp.

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

Definition at line 3389 of file opennurbs_point.cpp.

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

Definition at line 3404 of file opennurbs_point.cpp.

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

Definition at line 3409 of file opennurbs_point.cpp.

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

Definition at line 3427 of file opennurbs_point.cpp.

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

Definition at line 3432 of file opennurbs_point.cpp.

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

Definition at line 3447 of file opennurbs_point.cpp.

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

Definition at line 3452 of file opennurbs_point.cpp.

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

Definition at line 3318 of file opennurbs_point.cpp.

ON_3fVector ON_3fVector::operator/ ( int  d) const

Definition at line 3356 of file opennurbs_point.cpp.

ON_3fVector ON_3fVector::operator/ ( float  d) const

Definition at line 3362 of file opennurbs_point.cpp.

ON_3dVector ON_3fVector::operator/ ( double  d) const

Definition at line 3368 of file opennurbs_point.cpp.

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

Definition at line 3301 of file opennurbs_point.cpp.

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

Definition at line 3485 of file opennurbs_point.cpp.

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

Definition at line 3473 of file opennurbs_point.cpp.

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

Definition at line 3239 of file opennurbs_point.cpp.

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

Definition at line 3247 of file opennurbs_point.cpp.

ON_3fVector& ON_3fVector::operator= ( const ON_4fPoint )
ON_3fVector & ON_3fVector::operator= ( const ON_2fVector v)

Definition at line 3231 of file opennurbs_point.cpp.

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

Definition at line 3218 of file opennurbs_point.cpp.

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

Definition at line 3272 of file opennurbs_point.cpp.

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

Definition at line 3280 of file opennurbs_point.cpp.

ON_3fVector& ON_3fVector::operator= ( const ON_4dPoint )
ON_3fVector & ON_3fVector::operator= ( const ON_2dVector v)

Definition at line 3256 of file opennurbs_point.cpp.

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

Definition at line 3264 of file opennurbs_point.cpp.

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

Definition at line 3205 of file opennurbs_point.cpp.

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

Definition at line 3463 of file opennurbs_point.cpp.

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

Definition at line 3491 of file opennurbs_point.cpp.

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

Definition at line 3479 of file opennurbs_point.cpp.

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

Definition at line 3502 of file opennurbs_point.cpp.

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

Definition at line 3497 of file opennurbs_point.cpp.

float & ON_3fVector::operator[] ( unsigned int  i)

Definition at line 3513 of file opennurbs_point.cpp.

float ON_3fVector::operator[] ( unsigned int  i) const

Definition at line 3508 of file opennurbs_point.cpp.

Definition at line 548 of file opennurbs_point.cpp.

Definition at line 3545 of file opennurbs_point.cpp.

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

Definition at line 1096 of file opennurbs_point.cpp.

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

Definition at line 1104 of file opennurbs_point.cpp.

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

Definition at line 6235 of file opennurbs_point.cpp.

void ON_3fVector::Transform ( const ON_Xform xform)

Definition at line 973 of file opennurbs_point.cpp.

Definition at line 3552 of file opennurbs_point.cpp.

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

Definition at line 3130 of file opennurbs_point.cpp.

Definition at line 3540 of file opennurbs_point.cpp.


Member Data Documentation

Definition at line 634 of file opennurbs_fpoint.h.

Definition at line 637 of file opennurbs_fpoint.h.

Definition at line 634 of file opennurbs_fpoint.h.

Definition at line 638 of file opennurbs_fpoint.h.

Definition at line 634 of file opennurbs_fpoint.h.

Definition at line 639 of file opennurbs_fpoint.h.

Definition at line 636 of file opennurbs_fpoint.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