#include <points.H>
Inheritance diagram for mlib::NDCZpt:
Public Types | |
typedef double | value_type |
Public Member Functions | |
Point3 () | |
Point3 (double s) | |
Point3 (double x, double y, double z) | |
void | set (double x, double y, double z) |
const double * | data () const |
double | operator[] (int index) const |
double & | operator[] (int index) |
NDCZpt | operator * (double s) const |
NDCZpt | operator/ (double s) const |
NDCZpt | operator+ (const NDCZpt &p) const |
Adds a point to a point. | |
NDCZpt | operator+ (const NDCZvec &v) const |
NDCZvec | operator- (const NDCZpt &p) const |
NDCZpt | operator- (const NDCZvec &v) const |
NDCZpt | operator- () const |
void | operator+= (const NDCZpt &p) |
Adds a point to a point. | |
void | operator+= (const NDCZvec &v) |
void | operator-= (const NDCZvec &v) |
void | operator *= (double s) |
void | operator/= (double s) |
double | dist_sqrd (const NDCZpt &p) const |
Computes the distance squared between two points. | |
double | dist (const NDCZpt &p) const |
Computes the distance between two points. | |
bool | operator== (const NDCZpt &p) const |
Are the two points exactly equal (component wise)? | |
bool | operator!= (const NDCZpt &p) const |
Are the two points not equal (component wise)? | |
bool | is_equal (const NDCZpt &p, double epsSqrd=epsAbsSqrdMath()) const |
Is the distance squared between the two points essentially zero? | |
Constructors | |
NDCZpt () | |
NDCZpt (double s) | |
NDCZpt (double x, double y, double z) | |
NDCZpt (CWpt &w) | |
NDCZpt (CWpt &w, CWtransf &PM) | |
NDCZpt (CXYpt &) | |
NDCZpt (CNDCpt &) | |
NDCZpt (CPIXEL &) | |
Two Point Operations | |
double | planar_length (CNDCZpt &p) const |
Return the distance between NDCZpts, ignoring z-coord. | |
Misc. Functions | |
bool | in_frustum () const |
Project to an XYpt_list, provided all points lie in the view frustum. Assumes Wpts are not in "object space.". | |
Static Public Member Functions | |
static CNDCZpt & | Origin () |
static int | dim () |
Protected Attributes | |
double | _x |
double | _y |
double | _z |
Static Protected Attributes | |
static CNDCZpt | _origin |
Definition at line 734 of file points.H.
|
|
|
|
|
|
|
|
|
Definition at line 250 of file points.C. References mlib::Point3< NDCZpt, NDCZvec >::_x, mlib::Point3< NDCZpt, NDCZvec >::_y, mlib::Point3< NDCZpt, NDCZvec >::_z, and VIEW_NDC_TRANS. |
|
Definition at line 259 of file points.C. References mlib::Point3< NDCZpt, NDCZvec >::_x, mlib::Point3< NDCZpt, NDCZvec >::_y, and mlib::Point3< NDCZpt, NDCZvec >::_z. |
|
Definition at line 275 of file points.C. References mlib::Point3< NDCZpt, NDCZvec >::_x, mlib::Point3< NDCZpt, NDCZvec >::_y, mlib::Point3< NDCZpt, NDCZvec >::_z, and VIEW_ASPECT. |
|
Definition at line 288 of file points.C. References mlib::Point3< NDCZpt, NDCZvec >::_x, mlib::Point3< NDCZpt, NDCZvec >::_y, and mlib::Point3< NDCZpt, NDCZvec >::_z. |
|
Definition at line 295 of file points.C. References mlib::Point3< NDCZpt, NDCZvec >::_x, mlib::Point3< NDCZpt, NDCZvec >::_y, mlib::Point3< NDCZpt, NDCZvec >::_z, VIEW_ASPECT, and VIEW_SIZE. |
|
Definition at line 71 of file point3.H. References mlib::Point3< P, V >::_x. |
|
|
|
Computes the distance between two points.
Definition at line 111 of file point3.H. References mlib::Point3< P, V >::dist_sqrd(). |
|
Computes the distance squared between two points.
Definition at line 107 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, mlib::Point3< P, V >::_z, and sqr(). |
|
Project to an XYpt_list, provided all points lie in the view frustum. Assumes Wpts are not in "object space.".
Definition at line 177 of file points.C. References mlib::Point3< NDCZpt, NDCZvec >::_x, mlib::Point3< NDCZpt, NDCZvec >::_y, mlib::Point3< NDCZpt, NDCZvec >::_z, in_interval(), and VIEW_SIZE. Referenced by BMESH::get_enclosed_verts(), and mlib::Wpt_list::project(). |
|
Is the distance squared between the two points essentially zero?
Definition at line 129 of file point3.H. References mlib::Point3< P, V >::dist_sqrd(). |
|
Definition at line 81 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 98 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Are the two points not equal (component wise)?
Definition at line 121 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 87 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Adds a point to a point.
Definition at line 86 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 96 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Adds a point to a point.
Definition at line 95 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 90 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 89 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 88 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 97 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 82 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 99 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Are the two points exactly equal (component wise)?
Definition at line 119 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 74 of file point3.H. References mlib::Point3< P, V >::_x. |
|
Definition at line 73 of file point3.H. References mlib::Point3< P, V >::_x. |
|
Definition at line 777 of file points.H. References _origin. |
|
Return the distance between NDCZpts, ignoring z-coord.
Definition at line 760 of file points.H. References mlib::Point3< NDCZpt, NDCZvec >::_x, and mlib::Point3< NDCZpt, NDCZvec >::_y. |
|
|
|
|
|
|
|
Definition at line 70 of file point3.H. References mlib::Point3< P, V >::_x, mlib::Point3< P, V >::_y, and mlib::Point3< P, V >::_z. |
|
Definition at line 738 of file points.H. Referenced by Origin(). |
|
Definition at line 46 of file point3.H. Referenced by in_frustum(), NDCZpt(), and planar_length(). |
|
Definition at line 46 of file point3.H. Referenced by in_frustum(), NDCZpt(), and planar_length(). |
|
Definition at line 46 of file point3.H. Referenced by in_frustum(), and NDCZpt(). |