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_2fVector & | operator= (const ON_2fPoint &)
ON_2fVector & | operator= (const ON_3fPoint &)
ON_2fVector & | operator= (const ON_3fVector &)
ON_2fVector & | operator= (const float *)
ON_2fVector & | operator= (const ON_2dPoint &)
ON_2fVector & | operator= (const ON_3dPoint &)
ON_2fVector & | operator= (const ON_2dVector &)
ON_2fVector & | operator= (const ON_3dVector &)
ON_2fVector & | operator= (const double *)
ON_2fVector | operator- () const
ON_2fVector & | operator*= (float)
ON_2fVector & | operator/= (float)
ON_2fVector & | operator+= (const ON_2fVector &)
ON_2fVector & | operator-= (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_2fVector & | UnitVector (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::ON_2fVector | ( |  | ) |

ON_2fVector::ON_2fVector | ( | float | x,
|  | float | y
| ) |  |

ON_2fVector::ON_2fVector | ( | const ON_2fPoint & |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_3fPoint & |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_4fPoint & |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_3fVector & |  | ) |

ON_2fVector::ON_2fVector | ( | const float * |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_2dPoint & |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_3dPoint & |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_4dPoint & |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_2dVector & |  | ) |

ON_2fVector::ON_2fVector | ( | const ON_3dVector & |  | ) |

ON_2fVector::ON_2fVector | ( | const double * |  | ) |

## Member Function Documentation

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

int ON_2fVector::IsParallelTo | ( | const ON_2fVector & | ,
|  | double | = `ON_DEFAULT_ANGLE_TOLERANCE`
| ) |  | const

bool ON_2fVector::IsPerpendicularTo | ( | const ON_2fVector & | ,
|  | double | = `ON_DEFAULT_ANGLE_TOLERANCE`
| ) |  | const

bool ON_2fVector::IsTiny | ( | double | = `ON_ZERO_TOLERANCE` | ) | const

bool ON_2fVector::IsUnitVector | ( |  | ) | const

bool ON_2fVector::IsZero | ( |  | ) | const

double ON_2fVector::Length | ( |  | ) | const

double ON_2fVector::LengthSquared | ( |  | ) | const

double ON_2fVector::MaximumCoordinate | ( |  | ) | const

int ON_2fVector::MaximumCoordinateIndex | ( |  | ) | const

ON_2fVector::operator const float * | ( |  | ) | const

ON_2fVector::operator float * | ( |  | ) |

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

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

float ON_2fVector::operator* | ( | const ON_2fPoint & |  | ) | const

double ON_2fVector::operator* | ( | const ON_2dVector & |  | ) | const

ON_2fVector ON_2fVector::operator* | ( | int |  | ) | const

ON_2fVector ON_2fVector::operator* | ( | float |  | ) | const

ON_2dVector ON_2fVector::operator* | ( | double |  | ) | const

float ON_2fVector::operator* | ( | const ON_4fPoint & |  | ) | const

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

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

ON_2fPoint ON_2fVector::operator+ | ( | const ON_2fPoint & |  | ) | const

ON_3fVector ON_2fVector::operator+ | ( | const ON_3fVector & |  | ) | const

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

ON_2dVector ON_2fVector::operator+ | ( | const ON_2dVector & |  | ) | const

ON_2dPoint ON_2fVector::operator+ | ( | const ON_2dPoint & |  | ) | const

ON_3dVector ON_2fVector::operator+ | ( | const ON_3dVector & |  | ) | const

ON_3dPoint ON_2fVector::operator+ | ( | const ON_3dPoint & |  | ) | const

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

ON_2fVector ON_2fVector::operator- | ( |  | ) | const

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

ON_2fPoint ON_2fVector::operator- | ( | const ON_2fPoint & |  | ) | const

ON_3fVector ON_2fVector::operator- | ( | const ON_3fVector & |  | ) | const

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

ON_2dVector ON_2fVector::operator- | ( | const ON_2dVector & |  | ) | const

ON_2dPoint ON_2fVector::operator- | ( | const ON_2dPoint & |  | ) | const

ON_3dVector ON_2fVector::operator- | ( | const ON_3dVector & |  | ) | const

ON_3dPoint ON_2fVector::operator- | ( | const ON_3dPoint & |  | ) | const

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

ON_2fVector ON_2fVector::operator/ | ( | int |  | ) | const

ON_2fVector ON_2fVector::operator/ | ( | float |  | ) | const

ON_2dVector ON_2fVector::operator/ | ( | double |  | ) | const

ON_2fVector& ON_2fVector::operator/= | ( | float |  | ) |

bool ON_2fVector::operator< | ( | const ON_2fVector & |  | ) | const

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

ON_2fVector& ON_2fVector::operator= | ( | const ON_2fPoint & |  | ) |

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

ON_2fVector& ON_2fVector::operator= | ( | const ON_3fVector & |  | ) |

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

ON_2fVector& ON_2fVector::operator= | ( | const ON_2dPoint & |  | ) |

ON_2fVector& ON_2fVector::operator= | ( | const ON_3dPoint & |  | ) |

ON_2fVector& ON_2fVector::operator= | ( | const ON_2dVector & |  | ) |

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

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

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

bool ON_2fVector::operator> | ( | const ON_2fVector & |  | ) | const

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

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

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

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

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

bool ON_2fVector::PerpendicularTo | ( | const ON_2fVector & |  | ) |

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

void ON_2fVector::Reverse | ( |  | ) |

void ON_2fVector::Set | ( | float | ,
|  | float |
| ) |  |

bool ON_2fVector::Unitize | ( |  | ) |

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

static

void ON_2fVector::Zero | ( |  | ) |

## Member Data Documentation

float ON_2fVector::x

Definition at line 402 of file opennurbs_fpoint.h.

const ON_2fVector ON_2fVector::XAxis

static

Definition at line 405 of file opennurbs_fpoint.h.

float ON_2fVector::y

Definition at line 402 of file opennurbs_fpoint.h.

const ON_2fVector ON_2fVector::YAxis

static

Definition at line 406 of file opennurbs_fpoint.h.

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:

- /build/pcl-0nnAvv/pcl-1.7.2/surface/include/pcl/surface/3rdparty/opennurbs/opennurbs_fpoint.h