ON_3dVector Class Reference

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

Inheritance diagram for ON_3dVector:

## Public Member Functions

| 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 double * ()
| operator const double * () const
ON_3dVector & | operator= (const ON_2dVector &)
ON_3dVector & | operator= (const ON_2dPoint &)
ON_3dVector & | operator= (const ON_3dPoint &)
ON_3dVector & | operator= (const double *)
ON_3dVector & | operator= (const ON_2fVector &)
ON_3dVector & | operator= (const ON_3fVector &)
ON_3dVector & | operator= (const ON_2fPoint &)
ON_3dVector & | operator= (const ON_3fPoint &)
ON_3dVector & | operator= (const float *)
ON_3dVector | operator- () const
ON_3dVector & | operator*= (double)
ON_3dVector & | operator/= (double)
ON_3dVector & | operator+= (const ON_3dVector &)
ON_3dVector & | operator-= (const ON_3dVector &)
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/ (int) const
ON_3dVector | operator* (float) const
ON_3dVector | operator/ (float) const
ON_3dVector | operator* (double) const
ON_3dVector | operator/ (double) 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_3dVector | operator+ (const ON_2dVector &) const
ON_3dPoint | operator+ (const ON_2dPoint &) 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_3fVector &) const
ON_3dPoint | operator- (const ON_3fPoint &) const
ON_3dVector | operator+ (const ON_2fVector &) const
ON_3dPoint | operator+ (const ON_2fPoint &) const
ON_3dVector | operator- (const ON_2fVector &) const
ON_3dPoint | operator- (const ON_2fPoint &) const
double | operator* (const ON_4dPoint &) const
ON_3dVector | operator* (const ON_Xform &) const
bool | operator== (const ON_3dVector &) const
bool | operator!= (const ON_3dVector &) const
bool | operator<= (const ON_3dVector &) const
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 | IsValid () const
bool | IsUnsetVector () const
void | Set (double x, double y, double z)
int | MaximumCoordinateIndex () const
double | MaximumCoordinate () const
int | MinimumCoordinateIndex () const
double | MinimumCoordinate () const
double | LengthSquared () const
double | Length () const
bool | Decompose (const ON_3dVector &, const ON_3dVector &, const ON_3dVector &, double *, double *, double *) 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
double | Fuzz (double tolerance=ON_ZERO_TOLERANCE) const
void | Zero ()
void | Reverse ()
bool | Unitize ()
double | LengthAndUnitize ()
bool | IsTiny (double tiny_tol=ON_ZERO_TOLERANCE) const
bool | IsZero () const
bool | IsUnitVector () const
bool | PerpendicularTo (const ON_3dVector &)
bool | PerpendicularTo (const ON_3dPoint &, const ON_3dPoint &, const ON_3dPoint &)
void | Transform (const ON_Xform &)
void | Rotate (double angle, const ON_3dVector &axis)
void | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis)

## Static Public Member Functions

static const ON_3dVector & | UnitVector (int)

## Public Attributes

double | x
double | y
double | z

## Static Public Attributes

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

## Detailed Description

Definition at line 952 of file opennurbs_point.h.

## Constructor & Destructor Documentation

ON_3dVector::ON_3dVector | ( |  | ) |

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

ON_3dVector::ON_3dVector | ( | const ON_2dVector & |  | ) |

ON_3dVector::ON_3dVector | ( | const ON_2dPoint & |  | ) |

ON_3dVector::ON_3dVector | ( | const ON_3dPoint & |  | ) |

ON_3dVector::ON_3dVector | ( | const double * |  | ) |

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

ON_3dVector::ON_3dVector | ( | const ON_3fVector & |  | ) |

ON_3dVector::ON_3dVector | ( | const ON_2fPoint & |  | ) |

ON_3dVector::ON_3dVector | ( | const ON_3fPoint & |  | ) |

ON_3dVector::ON_3dVector | ( | const float * |  | ) |

## Member Function Documentation

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

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

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

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

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

bool ON_3dVector::IsUnitVector | ( |  | ) | const

bool ON_3dVector::IsUnsetVector | ( |  | ) | const

bool ON_3dVector::IsValid | ( |  | ) | const

bool ON_3dVector::IsZero | ( |  | ) | const

double ON_3dVector::Length | ( |  | ) | const

double ON_3dVector::LengthAndUnitize | ( |  | ) |

double ON_3dVector::LengthSquared | ( |  | ) | const

double ON_3dVector::MaximumCoordinate | ( |  | ) | const

int ON_3dVector::MaximumCoordinateIndex | ( |  | ) | const

double ON_3dVector::MinimumCoordinate | ( |  | ) | const

int ON_3dVector::MinimumCoordinateIndex | ( |  | ) | const

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

ON_3dVector::operator double * | ( |  | ) |

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

double ON_3dVector::operator* | ( | const ON_3dVector & |  | ) | const

double ON_3dVector::operator* | ( | const ON_3dPoint & |  | ) | const

double ON_3dVector::operator* | ( | const ON_3fVector & |  | ) | const

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

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

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

double ON_3dVector::operator* | ( | const ON_4dPoint & |  | ) | const

ON_3dVector ON_3dVector::operator* | ( | const ON_Xform & |  | ) | const

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

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

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

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

ON_3dPoint ON_3dVector::operator+ | ( | const ON_2dPoint & |  | ) | const

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

ON_3dPoint ON_3dVector::operator+ | ( | const ON_3fPoint & |  | ) | const

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

ON_3dPoint ON_3dVector::operator+ | ( | const ON_2fPoint & |  | ) | const

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

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

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

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

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

ON_3dPoint ON_3dVector::operator- | ( | const ON_2dPoint & |  | ) | const

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

ON_3dPoint ON_3dVector::operator- | ( | const ON_3fPoint & |  | ) | const

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

ON_3dPoint ON_3dVector::operator- | ( | const ON_2fPoint & |  | ) | const

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

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

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

ON_3dVector ON_3dVector::operator/ | ( | double |  | ) | const

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

bool ON_3dVector::PerpendicularTo | ( | const ON_3dPoint & | ,
|  | const ON_3dPoint & | ,
|  | const ON_3dPoint & |
| ) |  |

void ON_3dVector::Reverse | ( |  | ) |

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

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

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

void ON_3dVector::Transform | ( | const ON_Xform & |  | ) |

bool ON_3dVector::Unitize | ( |  | ) |

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

static

void ON_3dVector::Zero | ( |  | ) |

## Member Data Documentation

const ON_3dVector ON_3dVector::UnsetVector

static

Definition at line 961 of file opennurbs_point.h.

double ON_3dVector::x

Definition at line 955 of file opennurbs_point.h.

const ON_3dVector ON_3dVector::XAxis

static

Definition at line 958 of file opennurbs_point.h.

double ON_3dVector::y

Definition at line 955 of file opennurbs_point.h.

const ON_3dVector ON_3dVector::YAxis

static

Definition at line 959 of file opennurbs_point.h.

double ON_3dVector::z

Definition at line 955 of file opennurbs_point.h.

const ON_3dVector ON_3dVector::ZAxis

static

Definition at line 960 of file opennurbs_point.h.

const ON_3dVector ON_3dVector::ZeroVector

static

Definition at line 957 of file opennurbs_point.h.

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

- /build/pcl-6_P28C/pcl-1.7.2/surface/include/pcl/surface/3rdparty/opennurbs/opennurbs_point.h