#include <opennurbs_plane.h>
Public Member Functions | |
bool | ClosestPointTo (ON_3dPoint world_point, double *u, double *v) const |
ON_3dPoint | ClosestPointTo (ON_3dPoint point) const |
bool | CreateFromEquation (const double equation[4]) |
bool | CreateFromFrame (const ON_3dPoint &origin, const ON_3dVector &x_dir, const ON_3dVector &y_dir) |
bool | CreateFromNormal (const ON_3dPoint &origin, const ON_3dVector &normal) |
bool | CreateFromPoints (const ON_3dPoint &origin, const ON_3dPoint &point_on_x, const ON_3dPoint &point_on) |
double | DistanceTo (const ON_3dPoint &point) const |
bool | Flip () |
bool | GetDistanceToBoundingBox (const ON_BoundingBox &, double *min, double *max) const |
ON_Line | IsoLine (int dir, double c) const |
bool | IsValid () const |
const ON_3dVector & | Normal () const |
ON_Plane () | |
ON_Plane (const ON_3dPoint &origin, const ON_3dVector &normal) | |
ON_Plane (const ON_3dPoint &origin, const ON_3dVector &x_dir, const ON_3dVector &y_dir) | |
ON_Plane (const ON_3dPoint &origin, const ON_3dPoint &x_point, const ON_3dPoint &y_point) | |
ON_Plane (const double equation[4]) | |
bool | operator!= (const ON_Plane &) const |
bool | operator== (const ON_Plane &) const |
const ON_3dPoint & | Origin () const |
ON_3dPoint | PointAt (double u, double v) const |
ON_3dPoint | PointAt (double u, double v, double w) const |
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis) |
bool | Rotate (double angle, const ON_3dVector &axis) |
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis, const ON_3dPoint ¢er) |
bool | Rotate (double angle, const ON_3dVector &axis, const ON_3dPoint ¢er) |
void | SetOrigin (const ON_3dPoint &origin) |
bool | SwapCoordinates (int i, int j) |
bool | Transform (const ON_Xform &xform) |
bool | Translate (const ON_3dVector &delta) |
bool | UpdateEquation () |
const ON_3dVector & | Xaxis () const |
const ON_3dVector & | Yaxis () const |
~ON_Plane () | |
Public Attributes | |
ON_3dPoint | origin |
ON_PlaneEquation | plane_equation |
ON_3dVector | xaxis |
ON_3dVector | yaxis |
ON_3dVector | zaxis |
Static Public Attributes | |
static const ON_Plane | World_xy = ON_xy_plane |
Definition at line 20 of file opennurbs_plane.h.
Definition at line 36 of file opennurbs_plane.cpp.
ON_Plane::ON_Plane | ( | const ON_3dPoint & | origin, |
const ON_3dVector & | normal | ||
) |
Definition at line 44 of file opennurbs_plane.cpp.
ON_Plane::ON_Plane | ( | const ON_3dPoint & | origin, |
const ON_3dVector & | x_dir, | ||
const ON_3dVector & | y_dir | ||
) |
Definition at line 52 of file opennurbs_plane.cpp.
ON_Plane::ON_Plane | ( | const ON_3dPoint & | origin, |
const ON_3dPoint & | x_point, | ||
const ON_3dPoint & | y_point | ||
) |
Definition at line 61 of file opennurbs_plane.cpp.
ON_Plane::ON_Plane | ( | const double | equation[4] | ) |
Definition at line 70 of file opennurbs_plane.cpp.
Definition at line 77 of file opennurbs_plane.cpp.
bool ON_Plane::ClosestPointTo | ( | ON_3dPoint | world_point, |
double * | u, | ||
double * | v | ||
) | const |
Definition at line 201 of file opennurbs_plane.cpp.
ON_3dPoint ON_Plane::ClosestPointTo | ( | ON_3dPoint | point | ) | const |
Definition at line 211 of file opennurbs_plane.cpp.
bool ON_Plane::CreateFromEquation | ( | const double | equation[4] | ) |
Definition at line 279 of file opennurbs_plane.cpp.
bool ON_Plane::CreateFromFrame | ( | const ON_3dPoint & | origin, |
const ON_3dVector & | x_dir, | ||
const ON_3dVector & | y_dir | ||
) |
Definition at line 249 of file opennurbs_plane.cpp.
bool ON_Plane::CreateFromNormal | ( | const ON_3dPoint & | origin, |
const ON_3dVector & | normal | ||
) |
Definition at line 231 of file opennurbs_plane.cpp.
bool ON_Plane::CreateFromPoints | ( | const ON_3dPoint & | origin, |
const ON_3dPoint & | point_on_x, | ||
const ON_3dPoint & | point_on | ||
) |
Definition at line 306 of file opennurbs_plane.cpp.
double ON_Plane::DistanceTo | ( | const ON_3dPoint & | point | ) | const |
Definition at line 111 of file opennurbs_plane.cpp.
bool ON_Plane::Flip | ( | ) |
Definition at line 485 of file opennurbs_plane.cpp.
bool ON_Plane::GetDistanceToBoundingBox | ( | const ON_BoundingBox & | Box, |
double * | min, | ||
double * | max | ||
) | const |
Definition at line 118 of file opennurbs_plane.cpp.
ON_Line ON_Plane::IsoLine | ( | int | dir, |
double | c | ||
) | const |
Definition at line 91 of file opennurbs_plane.cpp.
bool ON_Plane::IsValid | ( | ) | const |
Definition at line 325 of file opennurbs_plane.cpp.
const ON_3dVector & ON_Plane::Normal | ( | ) | const |
Definition at line 189 of file opennurbs_plane.cpp.
bool ON_Plane::operator!= | ( | const ON_Plane & | other | ) | const |
Definition at line 225 of file opennurbs_plane.cpp.
bool ON_Plane::operator== | ( | const ON_Plane & | other | ) | const |
Definition at line 219 of file opennurbs_plane.cpp.
const ON_3dPoint & ON_Plane::Origin | ( | ) | const |
Definition at line 174 of file opennurbs_plane.cpp.
ON_3dPoint ON_Plane::PointAt | ( | double | u, |
double | v | ||
) | const |
Definition at line 80 of file opennurbs_plane.cpp.
ON_3dPoint ON_Plane::PointAt | ( | double | u, |
double | v, | ||
double | w | ||
) | const |
Definition at line 85 of file opennurbs_plane.cpp.
bool ON_Plane::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis | ||
) |
Definition at line 414 of file opennurbs_plane.cpp.
bool ON_Plane::Rotate | ( | double | angle, |
const ON_3dVector & | axis | ||
) |
Definition at line 435 of file opennurbs_plane.cpp.
bool ON_Plane::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis, | ||
const ON_3dPoint & | center | ||
) |
Definition at line 444 of file opennurbs_plane.cpp.
bool ON_Plane::Rotate | ( | double | angle, |
const ON_3dVector & | axis, | ||
const ON_3dPoint & | center | ||
) |
Definition at line 467 of file opennurbs_plane.cpp.
void ON_Plane::SetOrigin | ( | const ON_3dPoint & | origin | ) |
Definition at line 194 of file opennurbs_plane.cpp.
bool ON_Plane::SwapCoordinates | ( | int | i, |
int | j | ||
) |
Definition at line 398 of file opennurbs_plane.cpp.
bool ON_Plane::Transform | ( | const ON_Xform & | xform | ) |
Definition at line 366 of file opennurbs_plane.cpp.
bool ON_Plane::Translate | ( | const ON_3dVector & | delta | ) |
Definition at line 476 of file opennurbs_plane.cpp.
bool ON_Plane::UpdateEquation | ( | ) |
Definition at line 168 of file opennurbs_plane.cpp.
const ON_3dVector & ON_Plane::Xaxis | ( | ) | const |
Definition at line 179 of file opennurbs_plane.cpp.
const ON_3dVector & ON_Plane::Yaxis | ( | ) | const |
Definition at line 184 of file opennurbs_plane.cpp.
Definition at line 452 of file opennurbs_plane.h.
Definition at line 464 of file opennurbs_plane.h.
const ON_Plane ON_Plane::World_xy = ON_xy_plane [static] |
Definition at line 448 of file opennurbs_plane.h.
Definition at line 455 of file opennurbs_plane.h.
Definition at line 458 of file opennurbs_plane.h.
Definition at line 461 of file opennurbs_plane.h.