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

#include <opennurbs_fpoint.h>

List of all members.

Public Member Functions

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
bool IsTiny (double=ON_ZERO_TOLERANCE) const
bool IsUnitVector () const
bool IsZero () const
double Length () const
double LengthSquared () const
double MaximumCoordinate () const
int MaximumCoordinateIndex () const
 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 const float * () const
 operator float * ()
bool operator!= (const ON_2fVector &) const
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* (float) const
ON_2dVector operator* (double) const
float operator* (const ON_4fPoint &) const
ON_2fVectoroperator*= (float)
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_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_2fVectoroperator+= (const ON_2fVector &)
ON_2fVector operator- () 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_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_2fVectoroperator-= (const ON_2fVector &)
ON_2fVector operator/ (int) const
ON_2fVector operator/ (float) const
ON_2dVector operator/ (double) const
ON_2fVectoroperator/= (float)
bool operator< (const ON_2fVector &) const
bool operator<= (const ON_2fVector &) 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 *)
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
bool PerpendicularTo (const ON_2fVector &)
bool PerpendicularTo (const ON_2fPoint &, const ON_2fPoint &)
void Reverse ()
void Set (float, float)
bool Unitize ()
void Zero ()

Static Public Member Functions

static const ON_2fVectorUnitVector (int)

Public Attributes

float x
float y

Static Public Attributes

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

Detailed Description

Definition at line 399 of file opennurbs_fpoint.h.


Constructor & Destructor Documentation

Definition at line 2651 of file opennurbs_point.cpp.

ON_2fVector::ON_2fVector ( float  x,
float  y 
)

Definition at line 2674 of file opennurbs_point.cpp.

Definition at line 2680 of file opennurbs_point.cpp.

Definition at line 2683 of file opennurbs_point.cpp.

Definition at line 2677 of file opennurbs_point.cpp.

ON_2fVector::ON_2fVector ( const float *  v)

Definition at line 2664 of file opennurbs_point.cpp.

Definition at line 2692 of file opennurbs_point.cpp.

Definition at line 2695 of file opennurbs_point.cpp.

Definition at line 2686 of file opennurbs_point.cpp.

Definition at line 2689 of file opennurbs_point.cpp.

ON_2fVector::ON_2fVector ( const double *  v)

Definition at line 2654 of file opennurbs_point.cpp.


Member Function Documentation

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

Definition at line 862 of file opennurbs_point.cpp.

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

Definition at line 899 of file opennurbs_point.cpp.

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

Definition at line 935 of file opennurbs_point.cpp.

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

Definition at line 3068 of file opennurbs_point.cpp.

bool ON_2fVector::IsUnitVector ( ) const

Definition at line 3058 of file opennurbs_point.cpp.

bool ON_2fVector::IsZero ( ) const

Definition at line 3073 of file opennurbs_point.cpp.

double ON_2fVector::Length ( ) const

Definition at line 3025 of file opennurbs_point.cpp.

double ON_2fVector::LengthSquared ( ) const

Definition at line 3020 of file opennurbs_point.cpp.

Definition at line 3014 of file opennurbs_point.cpp.

Definition at line 3009 of file opennurbs_point.cpp.

ON_2fVector::operator const float * ( ) const

Definition at line 2703 of file opennurbs_point.cpp.

ON_2fVector::operator float * ( )

Definition at line 2698 of file opennurbs_point.cpp.

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

Definition at line 2958 of file opennurbs_point.cpp.

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

Definition at line 2831 of file opennurbs_point.cpp.

float ON_2fVector::operator* ( const ON_2fPoint v) const

Definition at line 2836 of file opennurbs_point.cpp.

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

Definition at line 2841 of file opennurbs_point.cpp.

ON_2fVector ON_2fVector::operator* ( int  d) const

Definition at line 2816 of file opennurbs_point.cpp.

ON_2fVector ON_2fVector::operator* ( float  d) const

Definition at line 2821 of file opennurbs_point.cpp.

ON_2dVector ON_2fVector::operator* ( double  d) const

Definition at line 2826 of file opennurbs_point.cpp.

float ON_2fVector::operator* ( const ON_4fPoint h) const

Definition at line 2948 of file opennurbs_point.cpp.

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

Definition at line 2787 of file opennurbs_point.cpp.

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

Definition at line 2864 of file opennurbs_point.cpp.

ON_2fPoint ON_2fVector::operator+ ( const ON_2fPoint p) const

Definition at line 2869 of file opennurbs_point.cpp.

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

Definition at line 2884 of file opennurbs_point.cpp.

ON_3fPoint ON_2fVector::operator+ ( const ON_3fPoint p) const

Definition at line 2889 of file opennurbs_point.cpp.

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

Definition at line 2907 of file opennurbs_point.cpp.

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

Definition at line 2912 of file opennurbs_point.cpp.

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

Definition at line 2927 of file opennurbs_point.cpp.

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

Definition at line 2932 of file opennurbs_point.cpp.

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

Definition at line 2802 of file opennurbs_point.cpp.

ON_2fVector ON_2fVector::operator- ( ) const

Definition at line 2782 of file opennurbs_point.cpp.

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

Definition at line 2874 of file opennurbs_point.cpp.

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

Definition at line 2879 of file opennurbs_point.cpp.

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

Definition at line 2894 of file opennurbs_point.cpp.

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

Definition at line 2899 of file opennurbs_point.cpp.

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

Definition at line 2917 of file opennurbs_point.cpp.

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

Definition at line 2922 of file opennurbs_point.cpp.

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

Definition at line 2937 of file opennurbs_point.cpp.

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

Definition at line 2942 of file opennurbs_point.cpp.

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

Definition at line 2809 of file opennurbs_point.cpp.

ON_2fVector ON_2fVector::operator/ ( int  d) const

Definition at line 2846 of file opennurbs_point.cpp.

ON_2fVector ON_2fVector::operator/ ( float  d) const

Definition at line 2852 of file opennurbs_point.cpp.

ON_2dVector ON_2fVector::operator/ ( double  d) const

Definition at line 2858 of file opennurbs_point.cpp.

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

Definition at line 2794 of file opennurbs_point.cpp.

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

Definition at line 2975 of file opennurbs_point.cpp.

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

Definition at line 2963 of file opennurbs_point.cpp.

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

Definition at line 2739 of file opennurbs_point.cpp.

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

Definition at line 2746 of file opennurbs_point.cpp.

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

Definition at line 2732 of file opennurbs_point.cpp.

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

Definition at line 2720 of file opennurbs_point.cpp.

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

Definition at line 2768 of file opennurbs_point.cpp.

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

Definition at line 2775 of file opennurbs_point.cpp.

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

Definition at line 2754 of file opennurbs_point.cpp.

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

Definition at line 2761 of file opennurbs_point.cpp.

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

Definition at line 2708 of file opennurbs_point.cpp.

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

Definition at line 2953 of file opennurbs_point.cpp.

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

Definition at line 2981 of file opennurbs_point.cpp.

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

Definition at line 2969 of file opennurbs_point.cpp.

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

Definition at line 2992 of file opennurbs_point.cpp.

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

Definition at line 2987 of file opennurbs_point.cpp.

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

Definition at line 3003 of file opennurbs_point.cpp.

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

Definition at line 2998 of file opennurbs_point.cpp.

Definition at line 3079 of file opennurbs_point.cpp.

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

Definition at line 3090 of file opennurbs_point.cpp.

Definition at line 3035 of file opennurbs_point.cpp.

void ON_2fVector::Set ( float  xx,
float  yy 
)

Definition at line 6230 of file opennurbs_point.cpp.

Definition at line 3041 of file opennurbs_point.cpp.

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

Definition at line 2636 of file opennurbs_point.cpp.

Definition at line 3030 of file opennurbs_point.cpp.


Member Data Documentation

Definition at line 402 of file opennurbs_fpoint.h.

Definition at line 405 of file opennurbs_fpoint.h.

Definition at line 402 of file opennurbs_fpoint.h.

Definition at line 406 of file opennurbs_fpoint.h.

Definition at line 404 of file opennurbs_fpoint.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