Inkscape
Vector Graphics Editor
|
#include <proj_pt.h>
Public Member Functions | |
Pt2 () | |
Pt2 (double x, double y, double w) | |
Pt2 (Geom::Point const &point) | |
Pt2 (const char *coord_str) | |
double | operator[] (unsigned int index) const |
double & | operator[] (unsigned int index) |
bool | operator== (Pt2 &rhs) |
bool | operator!= (Pt2 &rhs) |
Pt2 | operator+ (Pt2 &rhs) const |
Pt2 | operator- (Pt2 &rhs) const |
Pt2 | operator* (double const s) const |
void | normalize () |
Geom::Point | affine () |
bool | is_finite () |
char * | coord_string () |
void | print (char const *s) const |
Private Attributes | |
double | pt [3] |
|
inline |
|
inline |
Proj::Pt2::Pt2 | ( | const char * | coord_str | ) |
Definition at line 20 of file proj_pt.cpp.
References pt.
Geom::Point Proj::Pt2::affine | ( | ) |
Definition at line 51 of file proj_pt.cpp.
References Proj::epsilon, Geom::infinity(), and pt.
Referenced by box3d_set_new_z_orders_case1(), Box3D::VPDrag::drawLinesForFace(), Box3D::VanishingPoint::get_pos(), SPBox3D::pt_lies_in_PL_sector(), SPBox3D::recompute_z_orders(), and SPBox3D::VP_lies_in_PL_sector().
char * Proj::Pt2::coord_string | ( | ) |
Definition at line 59 of file proj_pt.cpp.
References pt, and Inkscape::SVGOStringStream::str().
Referenced by Persp3D::create_xml_element(), Persp3D::print_debugging_info(), and sp_file_convert_dpi().
|
inline |
Definition at line 84 of file proj_pt.h.
References pt.
Referenced by Box3D::VPDrag::drawLinesForFace(), Box3D::VanishingPoint::is_finite(), and Box3D::PerspectiveLine::PerspectiveLine().
void Proj::Pt2::normalize | ( | ) |
Definition at line 42 of file proj_pt.cpp.
References pt.
Referenced by Proj::TransfMat3x4::normalize_column(), operator+(), operator-(), and operator==().
|
inline |
Definition at line 53 of file proj_pt.h.
References normalize(), pt, and result.
Definition at line 63 of file proj_pt.h.
References normalize(), pt, and result.
|
inline |
Definition at line 40 of file proj_pt.h.
References Proj::epsilon, normalize(), and pt.
|
inline |
|
inline |
Definition at line 31 of file proj_pt.h.
References index, Geom::infinity(), and pt.
|
inline |
Definition at line 86 of file proj_pt.h.
References pt.
Referenced by Box3D::VanishingPoint::printPt().
|
private |
Definition at line 89 of file proj_pt.h.
Referenced by affine(), coord_string(), is_finite(), normalize(), operator+(), operator-(), operator==(), operator[](), operator[](), print(), Pt2(), Pt2(), Pt2(), and Pt2().