17 #if !defined(ON_BOUNDING_BOX_INC_) 18 #define ON_BOUNDING_BOX_INC_ 95 bool IsUnsetOrNan() const;
98 bool IsNotEmpty() const;
120 double tolerance = ON_UNSET_VALUE
131 double Tolerance() const;
142 const
double* point_array,
176 const
float* point_array,
207 int bStrictlyIn = false
233 double MinimumDistanceTo( const
ON_3dPoint& P ) const;
247 double MaximumDistanceTo( const
ON_3dPoint& P ) const;
293 double MinimumDistanceTo( const
ON_Line& line ) const;
308 double MinimumDistanceTo( const
ON_Plane& plane ) const;
324 double MaximumDistanceTo( const
ON_Line& line ) const;
343 double MaximumDistanceTo( const
ON_Plane& plane ) const;
358 bool IsFartherThan(
double d, const
ON_3dPoint& P ) const;
373 bool IsFartherThan(
double d, const
ON_Line& line ) const;
387 bool IsFartherThan(
double d, const
ON_Plane& plane ) const;
403 bool IsFartherThan(
double d, const
ON_PlaneEquation& plane_equation ) const;
416 bool IsFartherThan(
double d, const
ON_BoundingBox& other ) const;
452 bool GetClosestPoint(
529 bool bProperSubSet = false
532 double Volume() const;
561 bool SwapCoordinates(
int,
int );
684 bool RemoveBoundingBox(
700 void RemoveAllBoundingBoxes();
706 unsigned int BoundingBoxCount()
const;
718 unsigned int m_count = 0;
721 unsigned int m_capacity = 0;
731 unsigned int Internal_CacheIndex(
const ON_SHA1_Hash& hash)
const;
734 #if defined(ON_DLL_TEMPLATE) 762 bool ON_GetPointListBoundingBox(
767 const double* point_list,
769 int bGrowBox =
false,
774 bool ON_GetPointListBoundingBox(
779 const float* point_list,
781 int bGrowBox =
false,
786 bool ON_GetPointListBoundingBox(
791 const double* point_list,
803 const double* point_list
807 bool ON_GetPointListBoundingBox(
812 const float* point_list,
824 const float* point_list
828 bool ON_GetPointGridBoundingBox(
831 int point_count0,
int point_count1,
832 int point_stride0,
int point_stride1,
833 const double* point_grid,
843 int point_count0,
int point_count1,
844 int point_stride0,
int point_stride1,
845 const double* point_grid
849 double ON_BoundingBoxTolerance(
851 const double* bboxmin,
852 const double* bboxmax
886 bool ON_WorldBBoxIsInTightBBox(
Definition: opennurbs_bounding_box.h:581
Definition: opennurbs_bounding_box.h:626
static const ON_BoundingBox EmptyBoundingBox
((1.0,0.0,0.0),(-1.0,0.0,0.0))
Definition: opennurbs_bounding_box.h:28
static const ON_SHA1_Hash EmptyContentHash
SHA-1 hash of zero bytes.
Definition: opennurbs_sha1.h:23
Definition: opennurbs_array.h:36
Definition: opennurbs_sha1.h:19
Definition: opennurbs_fpoint.h:216
static const ON_BoundingBox UnsetBoundingBox
all coordinates are ON_UNSET_VALUE
Definition: opennurbs_bounding_box.h:29
Definition: opennurbs_point.h:292
Definition: opennurbs_point.h:2073
static const ON_BoundingBox NanBoundingBox
all coordinates are ON_DBL_QNAN
Definition: opennurbs_bounding_box.h:30
Definition: opennurbs_point.h:673
Definition: opennurbs_bounding_box.h:25
Definition: opennurbs_line.h:20
Definition: opennurbs_textlog.h:20
< use for generic serialization of binary data
Definition: opennurbs_archive.h:1866
Definition: opennurbs_fpoint.h:38
Definition: opennurbs_point.h:480
Definition: opennurbs_plane.h:20
Definition: opennurbs_fpoint.h:395
Definition: opennurbs_point.h:1465
Definition: opennurbs_point.h:1182