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

#include <opennurbs_point.h>

List of all members.

Public Member Functions

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
bool IsTiny (double tiny_tol=ON_ZERO_TOLERANCE) const
bool IsUnitVector () const
bool IsUnsetVector () const
bool IsValid () const
bool IsZero () const
double Length () const
double LengthSquared () const
double MaximumCoordinate () const
int MaximumCoordinateIndex () const
double MinimumCoordinate () const
int MinimumCoordinateIndex () const
 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 const double * () const
 operator double * ()
bool operator!= (const ON_2dVector &) const
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* (float) const
ON_2dVector operator* (double) const
double operator* (const ON_4dPoint &) const
ON_2dVector operator* (const ON_Xform &) const
ON_2dVectoroperator*= (double)
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_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_2dVectoroperator+= (const ON_2dVector &)
ON_2dVector operator- () 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_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_2dVectoroperator-= (const ON_2dVector &)
ON_2dVector operator/ (int) const
ON_2dVector operator/ (float) const
ON_2dVector operator/ (double) const
ON_2dVectoroperator/= (double)
bool operator< (const ON_2dVector &) const
bool operator<= (const ON_2dVector &) 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 *)
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 PerpendicularTo (const ON_2dVector &)
bool PerpendicularTo (const ON_2dPoint &, const ON_2dPoint &)
void Reverse ()
void Rotate (double angle)
void Rotate (double sin_angle, double cos_angle)
void Set (double x, double y)
void Transform (const ON_Xform &)
bool Unitize ()
double WedgeProduct (const ON_2dVector &B) const
void Zero ()

Static Public Member Functions

static const ON_2dVectorUnitVector (int)

Public Attributes

double x
double y

Static Public Attributes

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

Detailed Description

Definition at line 674 of file opennurbs_point.h.


Constructor & Destructor Documentation

Definition at line 4957 of file opennurbs_point.cpp.

ON_2dVector::ON_2dVector ( double  x,
double  y 
)

Definition at line 4980 of file opennurbs_point.cpp.

Definition at line 4983 of file opennurbs_point.cpp.

Definition at line 4986 of file opennurbs_point.cpp.

Definition at line 4989 of file opennurbs_point.cpp.

ON_2dVector::ON_2dVector ( const double *  v)

Definition at line 4970 of file opennurbs_point.cpp.

Definition at line 4992 of file opennurbs_point.cpp.

Definition at line 4995 of file opennurbs_point.cpp.

Definition at line 4998 of file opennurbs_point.cpp.

Definition at line 5001 of file opennurbs_point.cpp.

ON_2dVector::ON_2dVector ( const float *  v)

Definition at line 4960 of file opennurbs_point.cpp.


Member Function Documentation

bool ON_2dVector::Decompose ( const ON_2dVector X,
const ON_2dVector Y,
double *  a,
double *  b 
) const

Definition at line 878 of file opennurbs_point.cpp.

int ON_2dVector::IsParallelTo ( const ON_2dVector other,
double  angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE 
) const

Definition at line 912 of file opennurbs_point.cpp.

bool ON_2dVector::IsPerpendicularTo ( const ON_2dVector other,
double  angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE 
) const

Definition at line 947 of file opennurbs_point.cpp.

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

Definition at line 5436 of file opennurbs_point.cpp.

bool ON_2dVector::IsUnitVector ( ) const

Definition at line 5446 of file opennurbs_point.cpp.

Definition at line 6141 of file opennurbs_point.cpp.

bool ON_2dVector::IsValid ( ) const

Definition at line 6136 of file opennurbs_point.cpp.

bool ON_2dVector::IsZero ( ) const

Definition at line 5441 of file opennurbs_point.cpp.

double ON_2dVector::Length ( ) const

Definition at line 5374 of file opennurbs_point.cpp.

double ON_2dVector::LengthSquared ( ) const

Definition at line 5339 of file opennurbs_point.cpp.

Definition at line 5322 of file opennurbs_point.cpp.

Definition at line 5317 of file opennurbs_point.cpp.

Definition at line 5333 of file opennurbs_point.cpp.

Definition at line 5328 of file opennurbs_point.cpp.

ON_2dVector::operator const double * ( ) const

Definition at line 5010 of file opennurbs_point.cpp.

ON_2dVector::operator double * ( )

Definition at line 5005 of file opennurbs_point.cpp.

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

Definition at line 5266 of file opennurbs_point.cpp.

double ON_2dVector::operator* ( const ON_2dVector v) const

Definition at line 5139 of file opennurbs_point.cpp.

double ON_2dVector::operator* ( const ON_2dPoint v) const

Definition at line 5144 of file opennurbs_point.cpp.

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

Definition at line 5149 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator* ( int  i) const

Definition at line 5122 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator* ( float  f) const

Definition at line 5128 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator* ( double  d) const

Definition at line 5134 of file opennurbs_point.cpp.

double ON_2dVector::operator* ( const ON_4dPoint h) const

Definition at line 5256 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator* ( const ON_Xform xform) const

Definition at line 1268 of file opennurbs_point.cpp.

ON_2dVector & ON_2dVector::operator*= ( double  d)

Definition at line 5093 of file opennurbs_point.cpp.

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

Definition at line 5172 of file opennurbs_point.cpp.

ON_2dPoint ON_2dVector::operator+ ( const ON_2dPoint p) const

Definition at line 5177 of file opennurbs_point.cpp.

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

Definition at line 5193 of file opennurbs_point.cpp.

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

Definition at line 5198 of file opennurbs_point.cpp.

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

Definition at line 5213 of file opennurbs_point.cpp.

ON_2dPoint ON_2dVector::operator+ ( const ON_2fPoint p) const

Definition at line 5218 of file opennurbs_point.cpp.

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

Definition at line 5234 of file opennurbs_point.cpp.

ON_3dPoint ON_2dVector::operator+ ( const ON_3fPoint p) const

Definition at line 5239 of file opennurbs_point.cpp.

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

Definition at line 5108 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator- ( ) const

Definition at line 5088 of file opennurbs_point.cpp.

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

Definition at line 5182 of file opennurbs_point.cpp.

ON_2dPoint ON_2dVector::operator- ( const ON_2dPoint v) const

Definition at line 5187 of file opennurbs_point.cpp.

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

Definition at line 5203 of file opennurbs_point.cpp.

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

Definition at line 5208 of file opennurbs_point.cpp.

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

Definition at line 5223 of file opennurbs_point.cpp.

ON_2dPoint ON_2dVector::operator- ( const ON_2fPoint v) const

Definition at line 5228 of file opennurbs_point.cpp.

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

Definition at line 5244 of file opennurbs_point.cpp.

ON_3dPoint ON_2dVector::operator- ( const ON_3fPoint v) const

Definition at line 5249 of file opennurbs_point.cpp.

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

Definition at line 5115 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator/ ( int  i) const

Definition at line 5154 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator/ ( float  f) const

Definition at line 5160 of file opennurbs_point.cpp.

ON_2dVector ON_2dVector::operator/ ( double  d) const

Definition at line 5166 of file opennurbs_point.cpp.

ON_2dVector & ON_2dVector::operator/= ( double  d)

Definition at line 5100 of file opennurbs_point.cpp.

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

Definition at line 5283 of file opennurbs_point.cpp.

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

Definition at line 5271 of file opennurbs_point.cpp.

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

Definition at line 5039 of file opennurbs_point.cpp.

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

Definition at line 5046 of file opennurbs_point.cpp.

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

Definition at line 5053 of file opennurbs_point.cpp.

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

Definition at line 5027 of file opennurbs_point.cpp.

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

Definition at line 5060 of file opennurbs_point.cpp.

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

Definition at line 5067 of file opennurbs_point.cpp.

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

Definition at line 5074 of file opennurbs_point.cpp.

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

Definition at line 5081 of file opennurbs_point.cpp.

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

Definition at line 5015 of file opennurbs_point.cpp.

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

Definition at line 5261 of file opennurbs_point.cpp.

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

Definition at line 5289 of file opennurbs_point.cpp.

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

Definition at line 5277 of file opennurbs_point.cpp.

double & ON_2dVector::operator[] ( int  i)

Definition at line 5300 of file opennurbs_point.cpp.

double ON_2dVector::operator[] ( int  i) const

Definition at line 5295 of file opennurbs_point.cpp.

double & ON_2dVector::operator[] ( unsigned int  i)

Definition at line 5311 of file opennurbs_point.cpp.

double ON_2dVector::operator[] ( unsigned int  i) const

Definition at line 5306 of file opennurbs_point.cpp.

Definition at line 5452 of file opennurbs_point.cpp.

bool ON_2dVector::PerpendicularTo ( const ON_2dPoint p,
const ON_2dPoint q 
)

Definition at line 5463 of file opennurbs_point.cpp.

Definition at line 5388 of file opennurbs_point.cpp.

void ON_2dVector::Rotate ( double  angle)

Definition at line 1037 of file opennurbs_point.cpp.

void ON_2dVector::Rotate ( double  sin_angle,
double  cos_angle 
)

Definition at line 1044 of file opennurbs_point.cpp.

void ON_2dVector::Set ( double  x,
double  y 
)

Definition at line 6203 of file opennurbs_point.cpp.

void ON_2dVector::Transform ( const ON_Xform xform)

Definition at line 964 of file opennurbs_point.cpp.

Definition at line 5394 of file opennurbs_point.cpp.

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

Definition at line 4942 of file opennurbs_point.cpp.

double ON_2dVector::WedgeProduct ( const ON_2dVector B) const

Definition at line 5379 of file opennurbs_point.cpp.

Definition at line 5383 of file opennurbs_point.cpp.


Member Data Documentation

Definition at line 682 of file opennurbs_point.h.

Definition at line 677 of file opennurbs_point.h.

Definition at line 680 of file opennurbs_point.h.

Definition at line 677 of file opennurbs_point.h.

Definition at line 681 of file opennurbs_point.h.

Definition at line 679 of file opennurbs_point.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