Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes
ON_2dVector Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_point.h>

Public Member Functions

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

Static Public Member Functions

static const ON_2dVectorUnitVector (int)
 

Public Attributes

double x
 
double y
 

Static Public Attributes

static const ON_2dVector ZeroVector
 
static const ON_2dVector XAxis
 
static const ON_2dVector YAxis
 
static const ON_2dVector UnsetVector
 

Detailed Description

Definition at line 674 of file opennurbs_point.h.

Constructor & Destructor Documentation

ON_2dVector::ON_2dVector ( )
ON_2dVector::ON_2dVector ( double  x,
double  y 
)
ON_2dVector::ON_2dVector ( const ON_3dVector )
ON_2dVector::ON_2dVector ( const ON_2dPoint )
ON_2dVector::ON_2dVector ( const ON_3dPoint )
ON_2dVector::ON_2dVector ( const double *  )
ON_2dVector::ON_2dVector ( const ON_2fVector )
ON_2dVector::ON_2dVector ( const ON_3fVector )
ON_2dVector::ON_2dVector ( const ON_2fPoint )
ON_2dVector::ON_2dVector ( const ON_3fPoint )
ON_2dVector::ON_2dVector ( const float *  )

Member Function Documentation

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

Member Data Documentation

const ON_2dVector ON_2dVector::UnsetVector
static

Definition at line 682 of file opennurbs_point.h.

double ON_2dVector::x

Definition at line 677 of file opennurbs_point.h.

const ON_2dVector ON_2dVector::XAxis
static

Definition at line 680 of file opennurbs_point.h.

double ON_2dVector::y

Definition at line 677 of file opennurbs_point.h.

const ON_2dVector ON_2dVector::YAxis
static

Definition at line 681 of file opennurbs_point.h.

const ON_2dVector ON_2dVector::ZeroVector
static

Definition at line 679 of file opennurbs_point.h.


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