#include <opennurbs_point.h>
Static Public Member Functions | |
static int | Compare (const ON_2dPoint &lhs, const ON_2dPoint &rhs) |
A well ordered dictionary compare function that is nan aware and can be used for robust sorting. More... | |
Public Attributes | |
double | x |
double | y |
Static Public Attributes | |
static const ON_2dPoint | NanPoint |
static const ON_2dPoint | Origin |
static const ON_2dPoint | UnsetPoint |
|
default |
x,y not initialized
|
default |
|
default |
|
explicit |
ON_2dPoint::ON_2dPoint | ( | const ON_3dPoint & | ) |
|
explicit |
ON_2dPoint::ON_2dPoint | ( | const ON_2dVector & | ) |
|
explicit |
|
explicit |
ON_2dPoint::ON_2dPoint | ( | const class ON_2fPoint & | ) |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
explicit |
|
static |
A well ordered dictionary compare function that is nan aware and can be used for robust sorting.
ON__UINT32 ON_2dPoint::DataCRC | ( | ON__UINT32 | current_remainder | ) | const |
double ON_2dPoint::DistanceTo | ( | const ON_2dPoint & | ) | const |
bool ON_2dPoint::IsNotZero | ( | ) | const |
bool ON_2dPoint::IsUnset | ( | ) | const |
bool ON_2dPoint::IsValid | ( | ) | const |
bool ON_2dPoint::IsZero | ( | ) | const |
double ON_2dPoint::MaximumCoordinate | ( | ) | const |
int ON_2dPoint::MaximumCoordinateIndex | ( | ) | const |
double ON_2dPoint::MinimumCoordinate | ( | ) | const |
int ON_2dPoint::MinimumCoordinateIndex | ( | ) | const |
ON_2dPoint::operator const double * | ( | ) | const |
ON_2dPoint::operator double * | ( | ) |
(double*) conversion operators
bool ON_2dPoint::operator!= | ( | const ON_2dPoint & | ) | const |
ON_2dPoint ON_2dPoint::operator* | ( | int | ) | const |
ON_2dPoint ON_2dPoint::operator* | ( | float | ) | const |
ON_2dPoint ON_2dPoint::operator* | ( | double | ) | const |
double ON_2dPoint::operator* | ( | const ON_2dPoint & | ) | const |
double ON_2dPoint::operator* | ( | const ON_2dVector & | ) | const |
ON_2dPoint ON_2dPoint::operator* | ( | const ON_Xform & | ) | const |
ON_2dPoint& ON_2dPoint::operator*= | ( | double | ) |
ON_2dPoint ON_2dPoint::operator+ | ( | const ON_2dPoint & | ) | const |
ON_2dPoint ON_2dPoint::operator+ | ( | const ON_2dVector & | ) | const |
ON_3dPoint ON_2dPoint::operator+ | ( | const ON_3dPoint & | ) | const |
ON_3dPoint ON_2dPoint::operator+ | ( | const ON_3dVector & | ) | const |
ON_2dPoint ON_2dPoint::operator+ | ( | const ON_2fPoint & | ) | const |
ON_2dPoint ON_2dPoint::operator+ | ( | const ON_2fVector & | ) | const |
ON_3dPoint ON_2dPoint::operator+ | ( | const ON_3fPoint & | ) | const |
ON_3dPoint ON_2dPoint::operator+ | ( | const ON_3fVector & | ) | const |
ON_2dPoint& ON_2dPoint::operator+= | ( | const ON_2dVector & | ) |
ON_2dVector ON_2dPoint::operator- | ( | const ON_2dPoint & | ) | const |
ON_2dPoint ON_2dPoint::operator- | ( | const ON_2dVector & | ) | const |
ON_3dVector ON_2dPoint::operator- | ( | const ON_3dPoint & | ) | const |
ON_3dPoint ON_2dPoint::operator- | ( | const ON_3dVector & | ) | const |
ON_2dVector ON_2dPoint::operator- | ( | const ON_2fPoint & | ) | const |
ON_2dPoint ON_2dPoint::operator- | ( | const ON_2fVector & | ) | const |
ON_3dVector ON_2dPoint::operator- | ( | const ON_3fPoint & | ) | const |
ON_3dPoint ON_2dPoint::operator- | ( | const ON_3fVector & | ) | const |
ON_2dPoint& ON_2dPoint::operator-= | ( | const ON_2dVector & | ) |
ON_2dPoint ON_2dPoint::operator/ | ( | int | ) | const |
ON_2dPoint ON_2dPoint::operator/ | ( | float | ) | const |
ON_2dPoint ON_2dPoint::operator/ | ( | double | ) | const |
ON_2dPoint& ON_2dPoint::operator/= | ( | double | ) |
bool ON_2dPoint::operator< | ( | const ON_2dPoint & | ) | const |
bool ON_2dPoint::operator<= | ( | const ON_2dPoint & | ) | const |
dictionary order comparisons
|
default |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_3dPoint & | ) |
use implicit operator=(const ON_2dPoint&)
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_4dPoint & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_2dVector & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_3dVector & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const double * | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_2fPoint & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_3fPoint & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_4fPoint & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_2fVector & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const ON_3fVector & | ) |
ON_2dPoint& ON_2dPoint::operator= | ( | const float * | ) |
bool ON_2dPoint::operator== | ( | const ON_2dPoint & | ) | const |
bool ON_2dPoint::operator> | ( | const ON_2dPoint & | ) | const |
bool ON_2dPoint::operator>= | ( | const ON_2dPoint & | ) | const |
double& ON_2dPoint::operator[] | ( | int | ) |
index operators mimic double[2] behavior
double ON_2dPoint::operator[] | ( | int | ) | const |
double& ON_2dPoint::operator[] | ( | unsigned | int | ) |
double ON_2dPoint::operator[] | ( | unsigned | int | ) | const |
void ON_2dPoint::Rotate | ( | double | angle, |
const ON_2dPoint & | center | ||
) |
void ON_2dPoint::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_2dPoint & | center | ||
) |
void ON_2dPoint::Set | ( | double | x, |
double | y | ||
) |
set 2d point value
void ON_2dPoint::Transform | ( | const ON_Xform & | ) |
void ON_2dPoint::Zero | ( | ) |
|
static |
|
static |
|
static |
double ON_2dPoint::x |
double ON_2dPoint::y |