#include <opennurbs_bounding_box.h>
Public Member Functions | |
double | Area () const |
ON_3dPoint | Center () const |
ON_3dPoint | ClosestPoint (const ON_3dPoint &test_point) const |
ON_3dPoint | Corner (int, int, int) const |
void | Destroy () |
ON_3dVector | Diagonal () const |
void | Dump (class ON_TextLog &) const |
ON_3dPoint | FarPoint (const ON_3dPoint &) const |
int | GetClosestPoint (const ON_Line &, ON_3dPoint &, double *, double *) const |
bool | GetClosestPoint (const ON_BoundingBox &, ON_3dPoint &, ON_3dPoint &) const |
bool | GetCorners (ON_3dPointArray &box_corners) const |
bool | GetCorners (ON_3dPoint box_corners[8]) const |
bool | GetFarPoint (const ON_BoundingBox &, ON_3dPoint &, ON_3dPoint &) const |
bool | Includes (const ON_BoundingBox &other, bool bProperSubSet=false) const |
bool | Intersection (const ON_BoundingBox &other_bbox) |
bool | Intersection (const ON_BoundingBox &bbox_A, const ON_BoundingBox &bbox_B) |
bool | Intersection (const ON_Line &, double *=NULL, double *=NULL) const |
int | IsDegenerate (double tolerance=ON_UNSET_VALUE) const |
bool | IsDisjoint (const ON_BoundingBox &other_bbox) const |
bool | IsFartherThan (double d, const ON_3dPoint &P) const |
bool | IsFartherThan (double d, const ON_Line &line) const |
bool | IsFartherThan (double d, const ON_Plane &plane) const |
bool | IsFartherThan (double d, const ON_PlaneEquation &plane_equation) const |
bool | IsFartherThan (double d, const ON_BoundingBox &other) const |
bool | IsPointIn (const ON_3dPoint &test_point, int bStrictlyIn=false) const |
bool | IsValid () const |
int | IsVisible (const ON_Xform &bbox2c) const |
ON_3dPoint | Max () const |
double | MaximumDistanceTo (const ON_3dPoint &P) const |
double | MaximumDistanceTo (const ON_BoundingBox &other) const |
double | MaximumDistanceTo (const ON_Line &line) const |
double | MaximumDistanceTo (const ON_Plane &plane) const |
double | MaximumDistanceTo (const ON_PlaneEquation &plane_equation) const |
ON_3dPoint | Min () const |
double | MinimumDistanceTo (const ON_3dPoint &P) const |
double | MinimumDistanceTo (const ON_BoundingBox &other) const |
double | MinimumDistanceTo (const ON_Line &line) const |
double | MinimumDistanceTo (const ON_Plane &plane) const |
double | MinimumDistanceTo (const ON_PlaneEquation &plane_equation) const |
ON_BoundingBox () | |
ON_BoundingBox (const ON_3dPoint &, const ON_3dPoint &) | |
ON_3dPoint & | operator[] (int) |
const ON_3dPoint & | operator[] (int) const |
bool | Set (int dim, int is_rat, int count, int stride, const double *point_array, int bGrowBox=false) |
bool | Set (const ON_3dPoint &point, int bGrowBox=false) |
bool | Set (const ON_SimpleArray< ON_4dPoint > &point_array, int bGrowBox=false) |
bool | Set (const ON_SimpleArray< ON_3dPoint > &point_array, int bGrowBox=false) |
bool | Set (const ON_SimpleArray< ON_2dPoint > &point_array, int bGrowBox=false) |
bool | SwapCoordinates (int, int) |
double | Tolerance () const |
bool | Transform (const ON_Xform &) |
bool | Union (const ON_BoundingBox &) |
bool | Union (const ON_BoundingBox &, const ON_BoundingBox &) |
double | Volume () const |
~ON_BoundingBox () | |
Public Attributes | |
ON_3dPoint | m_max |
ON_3dPoint | m_min |
Static Public Attributes | |
static const ON_BoundingBox | EmptyBoundingBox |
Definition at line 25 of file opennurbs_bounding_box.h.
Definition at line 19 of file opennurbs_bounding_box.cpp.
ON_BoundingBox::ON_BoundingBox | ( | const ON_3dPoint & | min_pt, |
const ON_3dPoint & | max_pt | ||
) |
Definition at line 26 of file opennurbs_bounding_box.cpp.
Definition at line 31 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::Area | ( | ) | const |
Definition at line 1664 of file opennurbs_bounding_box.cpp.
ON_3dPoint ON_BoundingBox::Center | ( | ) | const |
Definition at line 90 of file opennurbs_bounding_box.cpp.
ON_3dPoint ON_BoundingBox::ClosestPoint | ( | const ON_3dPoint & | test_point | ) | const |
Definition at line 1168 of file opennurbs_bounding_box.cpp.
ON_3dPoint ON_BoundingBox::Corner | ( | int | x_index, |
int | y_index, | ||
int | z_index | ||
) | const |
Definition at line 95 of file opennurbs_bounding_box.cpp.
void ON_BoundingBox::Destroy | ( | ) |
Definition at line 34 of file opennurbs_bounding_box.cpp.
ON_3dVector ON_BoundingBox::Diagonal | ( | ) | const |
Definition at line 85 of file opennurbs_bounding_box.cpp.
void ON_BoundingBox::Dump | ( | class ON_TextLog & | text_log | ) | const |
Definition at line 6999 of file opennurbs_point.cpp.
ON_3dPoint ON_BoundingBox::FarPoint | ( | const ON_3dPoint & | test_point | ) | const |
Definition at line 1342 of file opennurbs_bounding_box.cpp.
int ON_BoundingBox::GetClosestPoint | ( | const ON_Line & | line, |
ON_3dPoint & | box_point, | ||
double * | t0, | ||
double * | t1 | ||
) | const |
Definition at line 1192 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::GetClosestPoint | ( | const ON_BoundingBox & | other_box, |
ON_3dPoint & | this_point, | ||
ON_3dPoint & | other_point | ||
) | const |
Definition at line 1389 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::GetCorners | ( | ON_3dPointArray & | box_corners | ) | const |
Definition at line 136 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::GetCorners | ( | ON_3dPoint | box_corners[8] | ) | const |
Definition at line 109 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::GetFarPoint | ( | const ON_BoundingBox & | other_box, |
ON_3dPoint & | this_point, | ||
ON_3dPoint & | other_point | ||
) | const |
Definition at line 1426 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Includes | ( | const ON_BoundingBox & | other, |
bool | bProperSubSet = false |
||
) | const |
Definition at line 1605 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Intersection | ( | const ON_BoundingBox & | other_bbox | ) |
Definition at line 1497 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Intersection | ( | const ON_BoundingBox & | bbox_A, |
const ON_BoundingBox & | bbox_B | ||
) |
Definition at line 1586 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Intersection | ( | const ON_Line & | line, |
double * | t0 = NULL , |
||
double * | t1 = NULL |
||
) | const |
Definition at line 1521 of file opennurbs_bounding_box.cpp.
int ON_BoundingBox::IsDegenerate | ( | double | tolerance = ON_UNSET_VALUE | ) | const |
Definition at line 2480 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsDisjoint | ( | const ON_BoundingBox & | other_bbox | ) | const |
Definition at line 1474 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsFartherThan | ( | double | d, |
const ON_3dPoint & | P | ||
) | const |
Definition at line 3170 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsFartherThan | ( | double | d, |
const ON_Line & | line | ||
) | const |
Definition at line 3175 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsFartherThan | ( | double | d, |
const ON_Plane & | plane | ||
) | const |
Definition at line 2831 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsFartherThan | ( | double | d, |
const ON_PlaneEquation & | plane_equation | ||
) | const |
Definition at line 2838 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsFartherThan | ( | double | d, |
const ON_BoundingBox & | other | ||
) | const |
Definition at line 3189 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsPointIn | ( | const ON_3dPoint & | test_point, |
int | bStrictlyIn = false |
||
) | const |
Definition at line 1152 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::IsValid | ( | ) | const |
Definition at line 6985 of file opennurbs_point.cpp.
int ON_BoundingBox::IsVisible | ( | const ON_Xform & | bbox2c | ) | const |
Definition at line 1103 of file opennurbs_bounding_box.cpp.
ON_3dPoint ON_BoundingBox::Max | ( | ) | const |
Definition at line 80 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MaximumDistanceTo | ( | const ON_3dPoint & | P | ) | const |
Definition at line 2537 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MaximumDistanceTo | ( | const ON_BoundingBox & | other | ) | const |
Definition at line 3145 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MaximumDistanceTo | ( | const ON_Line & | line | ) | const |
Definition at line 3052 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MaximumDistanceTo | ( | const ON_Plane & | plane | ) | const |
Definition at line 2793 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MaximumDistanceTo | ( | const ON_PlaneEquation & | plane_equation | ) | const |
Definition at line 2800 of file opennurbs_bounding_box.cpp.
ON_3dPoint ON_BoundingBox::Min | ( | ) | const |
Definition at line 75 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MinimumDistanceTo | ( | const ON_3dPoint & | P | ) | const |
Definition at line 2504 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MinimumDistanceTo | ( | const ON_BoundingBox & | other | ) | const |
Definition at line 3115 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MinimumDistanceTo | ( | const ON_Line & | line | ) | const |
Definition at line 2924 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MinimumDistanceTo | ( | const ON_Plane & | plane | ) | const |
Definition at line 2697 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::MinimumDistanceTo | ( | const ON_PlaneEquation & | plane_equation | ) | const |
Definition at line 2704 of file opennurbs_bounding_box.cpp.
ON_3dPoint & ON_BoundingBox::operator[] | ( | int | i | ) |
Definition at line 65 of file opennurbs_bounding_box.cpp.
const ON_3dPoint & ON_BoundingBox::operator[] | ( | int | i | ) | const |
Definition at line 70 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Set | ( | int | dim, |
int | is_rat, | ||
int | count, | ||
int | stride, | ||
const double * | point_array, | ||
int | bGrowBox = false |
||
) |
Definition at line 1672 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Set | ( | const ON_3dPoint & | point, |
int | bGrowBox = false |
||
) |
Definition at line 1681 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Set | ( | const ON_SimpleArray< ON_4dPoint > & | point_array, |
int | bGrowBox = false |
||
) |
Definition at line 1698 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Set | ( | const ON_SimpleArray< ON_3dPoint > & | point_array, |
int | bGrowBox = false |
||
) |
Definition at line 1705 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Set | ( | const ON_SimpleArray< ON_2dPoint > & | point_array, |
int | bGrowBox = false |
||
) |
Definition at line 1712 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::SwapCoordinates | ( | int | i, |
int | j | ||
) |
Definition at line 1461 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::Tolerance | ( | ) | const |
Definition at line 59 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Transform | ( | const ON_Xform & | xform | ) |
Definition at line 47 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Union | ( | const ON_BoundingBox & | a | ) |
Definition at line 1557 of file opennurbs_bounding_box.cpp.
bool ON_BoundingBox::Union | ( | const ON_BoundingBox & | a, |
const ON_BoundingBox & | b | ||
) |
Definition at line 1629 of file opennurbs_bounding_box.cpp.
double ON_BoundingBox::Volume | ( | ) | const |
Definition at line 1656 of file opennurbs_bounding_box.cpp.
const ON_BoundingBox ON_BoundingBox::EmptyBoundingBox [static] |
Definition at line 28 of file opennurbs_bounding_box.h.
Definition at line 492 of file opennurbs_bounding_box.h.
Definition at line 491 of file opennurbs_bounding_box.h.