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_2fVector Class Reference

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

Public Member Functions

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

Static Public Member Functions

static const ON_2fVectorUnitVector (int)
 

Public Attributes

float x
 
float y
 

Static Public Attributes

static const ON_2fVector ZeroVector
 
static const ON_2fVector XAxis
 
static const ON_2fVector YAxis
 

Detailed Description

Definition at line 399 of file opennurbs_fpoint.h.

Constructor & Destructor Documentation

◆ ON_2fVector() [1/13]

ON_2fVector::ON_2fVector ( )

◆ ON_2fVector() [2/13]

ON_2fVector::ON_2fVector ( float  x,
float  y 
)

◆ ON_2fVector() [3/13]

ON_2fVector::ON_2fVector ( const ON_2fPoint )

◆ ON_2fVector() [4/13]

ON_2fVector::ON_2fVector ( const ON_3fPoint )

◆ ON_2fVector() [5/13]

ON_2fVector::ON_2fVector ( const ON_4fPoint )

◆ ON_2fVector() [6/13]

ON_2fVector::ON_2fVector ( const ON_3fVector )

◆ ON_2fVector() [7/13]

ON_2fVector::ON_2fVector ( const float *  )

◆ ON_2fVector() [8/13]

ON_2fVector::ON_2fVector ( const ON_2dPoint )

◆ ON_2fVector() [9/13]

ON_2fVector::ON_2fVector ( const ON_3dPoint )

◆ ON_2fVector() [10/13]

ON_2fVector::ON_2fVector ( const ON_4dPoint )

◆ ON_2fVector() [11/13]

ON_2fVector::ON_2fVector ( const ON_2dVector )

◆ ON_2fVector() [12/13]

ON_2fVector::ON_2fVector ( const ON_3dVector )

◆ ON_2fVector() [13/13]

ON_2fVector::ON_2fVector ( const double *  )

Member Function Documentation

◆ Decompose()

bool ON_2fVector::Decompose ( const ON_2fVector ,
const ON_2fVector ,
double *  ,
double *   
) const

◆ IsParallelTo()

int ON_2fVector::IsParallelTo ( const ON_2fVector ,
double  = ON_DEFAULT_ANGLE_TOLERANCE 
) const

◆ IsPerpendicularTo()

bool ON_2fVector::IsPerpendicularTo ( const ON_2fVector ,
double  = ON_DEFAULT_ANGLE_TOLERANCE 
) const

◆ IsTiny()

bool ON_2fVector::IsTiny ( double  = ON_ZERO_TOLERANCE) const

◆ IsUnitVector()

bool ON_2fVector::IsUnitVector ( ) const

◆ IsZero()

bool ON_2fVector::IsZero ( ) const

◆ Length()

double ON_2fVector::Length ( ) const

◆ LengthSquared()

double ON_2fVector::LengthSquared ( ) const

◆ MaximumCoordinate()

double ON_2fVector::MaximumCoordinate ( ) const

◆ MaximumCoordinateIndex()

int ON_2fVector::MaximumCoordinateIndex ( ) const

◆ operator const float *()

ON_2fVector::operator const float * ( ) const

◆ operator float *()

ON_2fVector::operator float * ( )

◆ operator!=()

bool ON_2fVector::operator!= ( const ON_2fVector ) const

◆ operator*() [1/7]

float ON_2fVector::operator* ( const ON_2fVector ) const

◆ operator*() [2/7]

float ON_2fVector::operator* ( const ON_2fPoint ) const

◆ operator*() [3/7]

double ON_2fVector::operator* ( const ON_2dVector ) const

◆ operator*() [4/7]

ON_2fVector ON_2fVector::operator* ( int  ) const

◆ operator*() [5/7]

ON_2fVector ON_2fVector::operator* ( float  ) const

◆ operator*() [6/7]

ON_2dVector ON_2fVector::operator* ( double  ) const

◆ operator*() [7/7]

float ON_2fVector::operator* ( const ON_4fPoint ) const

◆ operator*=()

ON_2fVector& ON_2fVector::operator*= ( float  )

◆ operator+() [1/8]

ON_2fVector ON_2fVector::operator+ ( const ON_2fVector ) const

◆ operator+() [2/8]

ON_2fPoint ON_2fVector::operator+ ( const ON_2fPoint ) const

◆ operator+() [3/8]

ON_3fVector ON_2fVector::operator+ ( const ON_3fVector ) const

◆ operator+() [4/8]

ON_3fPoint ON_2fVector::operator+ ( const ON_3fPoint ) const

◆ operator+() [5/8]

ON_2dVector ON_2fVector::operator+ ( const ON_2dVector ) const

◆ operator+() [6/8]

ON_2dPoint ON_2fVector::operator+ ( const ON_2dPoint ) const

◆ operator+() [7/8]

ON_3dVector ON_2fVector::operator+ ( const ON_3dVector ) const

◆ operator+() [8/8]

ON_3dPoint ON_2fVector::operator+ ( const ON_3dPoint ) const

◆ operator+=()

ON_2fVector& ON_2fVector::operator+= ( const ON_2fVector )

◆ operator-() [1/9]

ON_2fVector ON_2fVector::operator- ( ) const

◆ operator-() [2/9]

ON_2fVector ON_2fVector::operator- ( const ON_2fVector ) const

◆ operator-() [3/9]

ON_2fPoint ON_2fVector::operator- ( const ON_2fPoint ) const

◆ operator-() [4/9]

ON_3fVector ON_2fVector::operator- ( const ON_3fVector ) const

◆ operator-() [5/9]

ON_3fPoint ON_2fVector::operator- ( const ON_3fPoint ) const

◆ operator-() [6/9]

ON_2dVector ON_2fVector::operator- ( const ON_2dVector ) const

◆ operator-() [7/9]

ON_2dPoint ON_2fVector::operator- ( const ON_2dPoint ) const

◆ operator-() [8/9]

ON_3dVector ON_2fVector::operator- ( const ON_3dVector ) const

◆ operator-() [9/9]

ON_3dPoint ON_2fVector::operator- ( const ON_3dPoint ) const

◆ operator-=()

ON_2fVector& ON_2fVector::operator-= ( const ON_2fVector )

◆ operator/() [1/3]

ON_2fVector ON_2fVector::operator/ ( int  ) const

◆ operator/() [2/3]

ON_2fVector ON_2fVector::operator/ ( float  ) const

◆ operator/() [3/3]

ON_2dVector ON_2fVector::operator/ ( double  ) const

◆ operator/=()

ON_2fVector& ON_2fVector::operator/= ( float  )

◆ operator<()

bool ON_2fVector::operator< ( const ON_2fVector ) const

◆ operator<=()

bool ON_2fVector::operator<= ( const ON_2fVector ) const

◆ operator=() [1/9]

ON_2fVector& ON_2fVector::operator= ( const ON_2fPoint )

◆ operator=() [2/9]

ON_2fVector& ON_2fVector::operator= ( const ON_3fPoint )

◆ operator=() [3/9]

ON_2fVector& ON_2fVector::operator= ( const ON_3fVector )

◆ operator=() [4/9]

ON_2fVector& ON_2fVector::operator= ( const float *  )

◆ operator=() [5/9]

ON_2fVector& ON_2fVector::operator= ( const ON_2dPoint )

◆ operator=() [6/9]

ON_2fVector& ON_2fVector::operator= ( const ON_3dPoint )

◆ operator=() [7/9]

ON_2fVector& ON_2fVector::operator= ( const ON_2dVector )

◆ operator=() [8/9]

ON_2fVector& ON_2fVector::operator= ( const ON_3dVector )

◆ operator=() [9/9]

ON_2fVector& ON_2fVector::operator= ( const double *  )

◆ operator==()

bool ON_2fVector::operator== ( const ON_2fVector ) const

◆ operator>()

bool ON_2fVector::operator> ( const ON_2fVector ) const

◆ operator>=()

bool ON_2fVector::operator>= ( const ON_2fVector ) const

◆ operator[]() [1/4]

float& ON_2fVector::operator[] ( int  )

◆ operator[]() [2/4]

float ON_2fVector::operator[] ( int  ) const

◆ operator[]() [3/4]

float& ON_2fVector::operator[] ( unsigned  int)

◆ operator[]() [4/4]

float ON_2fVector::operator[] ( unsigned  int) const

◆ PerpendicularTo() [1/2]

bool ON_2fVector::PerpendicularTo ( const ON_2fVector )

◆ PerpendicularTo() [2/2]

bool ON_2fVector::PerpendicularTo ( const ON_2fPoint ,
const ON_2fPoint  
)

◆ Reverse()

void ON_2fVector::Reverse ( )

◆ Set()

void ON_2fVector::Set ( float  ,
float   
)

◆ Unitize()

bool ON_2fVector::Unitize ( )

◆ UnitVector()

static const ON_2fVector& ON_2fVector::UnitVector ( int  )
static

◆ Zero()

void ON_2fVector::Zero ( )

Member Data Documentation

◆ x

float ON_2fVector::x

Definition at line 402 of file opennurbs_fpoint.h.

◆ XAxis

const ON_2fVector ON_2fVector::XAxis
static

Definition at line 405 of file opennurbs_fpoint.h.

◆ y

float ON_2fVector::y

Definition at line 402 of file opennurbs_fpoint.h.

◆ YAxis

const ON_2fVector ON_2fVector::YAxis
static

Definition at line 406 of file opennurbs_fpoint.h.

◆ ZeroVector

const ON_2fVector ON_2fVector::ZeroVector
static

Definition at line 404 of file opennurbs_fpoint.h.


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