Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions | Public Attributes | Static Public Attributes
ON_BoundingBox Class Reference

#include <pcl/surface/3rdparty/opennurbs/opennurbs_bounding_box.h>

+ Collaboration diagram for ON_BoundingBox:

Public Member Functions

 ON_BoundingBox ()
 
 ON_BoundingBox (const ON_3dPoint &, const ON_3dPoint &)
 
 ~ON_BoundingBox ()
 
int IsVisible (const ON_Xform &bbox2c) const
 
void Destroy ()
 
ON_3dPointoperator[] (int)
 
const ON_3dPointoperator[] (int) const
 
ON_3dPoint Min () const
 
ON_3dPoint Max () const
 
ON_3dVector Diagonal () const
 
ON_3dPoint Center () const
 
ON_3dPoint Corner (int, int, int) const
 
bool GetCorners (ON_3dPointArray &box_corners) const
 
bool GetCorners (ON_3dPoint box_corners[8]) const
 
bool IsValid () const
 
void Dump (class ON_TextLog &) const
 
int IsDegenerate (double tolerance=ON_UNSET_VALUE) const
 
bool Transform (const ON_Xform &)
 
double Tolerance () 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 IsPointIn (const ON_3dPoint &test_point, int bStrictlyIn=false) const
 
ON_3dPoint ClosestPoint (const ON_3dPoint &test_point) const
 
double MinimumDistanceTo (const ON_3dPoint &P) const
 
double MaximumDistanceTo (const ON_3dPoint &P) const
 
double MinimumDistanceTo (const ON_BoundingBox &other) const
 
double MaximumDistanceTo (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
 
double MaximumDistanceTo (const ON_Line &line) const
 
double MaximumDistanceTo (const ON_Plane &plane) const
 
double MaximumDistanceTo (const ON_PlaneEquation &plane_equation) 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
 
int GetClosestPoint (const ON_Line &, ON_3dPoint &, double *, double *) const
 
bool GetClosestPoint (const ON_BoundingBox &, ON_3dPoint &, ON_3dPoint &) const
 
ON_3dPoint FarPoint (const ON_3dPoint &) const
 
bool GetFarPoint (const ON_BoundingBox &, ON_3dPoint &, ON_3dPoint &) 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
 
bool Includes (const ON_BoundingBox &other, bool bProperSubSet=false) const
 
double Volume () const
 
double Area () const
 
bool Union (const ON_BoundingBox &)
 
bool Union (const ON_BoundingBox &, const ON_BoundingBox &)
 
bool IsDisjoint (const ON_BoundingBox &other_bbox) const
 
bool SwapCoordinates (int, int)
 

Public Attributes

ON_3dPoint m_min
 
ON_3dPoint m_max
 

Static Public Attributes

static const ON_BoundingBox EmptyBoundingBox
 

Detailed Description

Definition at line 25 of file opennurbs_bounding_box.h.

Constructor & Destructor Documentation

◆ ON_BoundingBox() [1/2]

ON_BoundingBox::ON_BoundingBox ( )

◆ ON_BoundingBox() [2/2]

ON_BoundingBox::ON_BoundingBox ( const ON_3dPoint ,
const ON_3dPoint  
)

◆ ~ON_BoundingBox()

ON_BoundingBox::~ON_BoundingBox ( )

Member Function Documentation

◆ Area()

double ON_BoundingBox::Area ( ) const

◆ Center()

ON_3dPoint ON_BoundingBox::Center ( ) const

◆ ClosestPoint()

ON_3dPoint ON_BoundingBox::ClosestPoint ( const ON_3dPoint test_point) const

◆ Corner()

ON_3dPoint ON_BoundingBox::Corner ( int  ,
int  ,
int   
) const

◆ Destroy()

void ON_BoundingBox::Destroy ( )

◆ Diagonal()

ON_3dVector ON_BoundingBox::Diagonal ( ) const

◆ Dump()

void ON_BoundingBox::Dump ( class ON_TextLog ) const

◆ FarPoint()

ON_3dPoint ON_BoundingBox::FarPoint ( const ON_3dPoint ) const

◆ GetClosestPoint() [1/2]

bool ON_BoundingBox::GetClosestPoint ( const ON_BoundingBox ,
ON_3dPoint ,
ON_3dPoint  
) const

◆ GetClosestPoint() [2/2]

int ON_BoundingBox::GetClosestPoint ( const ON_Line ,
ON_3dPoint ,
double *  ,
double *   
) const

◆ GetCorners() [1/2]

bool ON_BoundingBox::GetCorners ( ON_3dPoint  box_corners[8]) const

◆ GetCorners() [2/2]

bool ON_BoundingBox::GetCorners ( ON_3dPointArray box_corners) const

◆ GetFarPoint()

bool ON_BoundingBox::GetFarPoint ( const ON_BoundingBox ,
ON_3dPoint ,
ON_3dPoint  
) const

◆ Includes()

bool ON_BoundingBox::Includes ( const ON_BoundingBox other,
bool  bProperSubSet = false 
) const

◆ Intersection() [1/3]

bool ON_BoundingBox::Intersection ( const ON_BoundingBox bbox_A,
const ON_BoundingBox bbox_B 
)

◆ Intersection() [2/3]

bool ON_BoundingBox::Intersection ( const ON_BoundingBox other_bbox)

◆ Intersection() [3/3]

bool ON_BoundingBox::Intersection ( const ON_Line ,
double *  = NULL,
double *  = NULL 
) const

◆ IsDegenerate()

int ON_BoundingBox::IsDegenerate ( double  tolerance = ON_UNSET_VALUE) const

◆ IsDisjoint()

bool ON_BoundingBox::IsDisjoint ( const ON_BoundingBox other_bbox) const

◆ IsFartherThan() [1/5]

bool ON_BoundingBox::IsFartherThan ( double  d,
const ON_3dPoint P 
) const

◆ IsFartherThan() [2/5]

bool ON_BoundingBox::IsFartherThan ( double  d,
const ON_BoundingBox other 
) const

◆ IsFartherThan() [3/5]

bool ON_BoundingBox::IsFartherThan ( double  d,
const ON_Line line 
) const

◆ IsFartherThan() [4/5]

bool ON_BoundingBox::IsFartherThan ( double  d,
const ON_Plane plane 
) const

◆ IsFartherThan() [5/5]

bool ON_BoundingBox::IsFartherThan ( double  d,
const ON_PlaneEquation plane_equation 
) const

◆ IsPointIn()

bool ON_BoundingBox::IsPointIn ( const ON_3dPoint test_point,
int  bStrictlyIn = false 
) const

◆ IsValid()

bool ON_BoundingBox::IsValid ( ) const

◆ IsVisible()

int ON_BoundingBox::IsVisible ( const ON_Xform bbox2c) const

◆ Max()

ON_3dPoint ON_BoundingBox::Max ( ) const

◆ MaximumDistanceTo() [1/5]

double ON_BoundingBox::MaximumDistanceTo ( const ON_3dPoint P) const

◆ MaximumDistanceTo() [2/5]

double ON_BoundingBox::MaximumDistanceTo ( const ON_BoundingBox other) const

◆ MaximumDistanceTo() [3/5]

double ON_BoundingBox::MaximumDistanceTo ( const ON_Line line) const

◆ MaximumDistanceTo() [4/5]

double ON_BoundingBox::MaximumDistanceTo ( const ON_Plane plane) const

◆ MaximumDistanceTo() [5/5]

double ON_BoundingBox::MaximumDistanceTo ( const ON_PlaneEquation plane_equation) const

◆ Min()

ON_3dPoint ON_BoundingBox::Min ( ) const

◆ MinimumDistanceTo() [1/5]

double ON_BoundingBox::MinimumDistanceTo ( const ON_3dPoint P) const

◆ MinimumDistanceTo() [2/5]

double ON_BoundingBox::MinimumDistanceTo ( const ON_BoundingBox other) const

◆ MinimumDistanceTo() [3/5]

double ON_BoundingBox::MinimumDistanceTo ( const ON_Line line) const

◆ MinimumDistanceTo() [4/5]

double ON_BoundingBox::MinimumDistanceTo ( const ON_Plane plane) const

◆ MinimumDistanceTo() [5/5]

double ON_BoundingBox::MinimumDistanceTo ( const ON_PlaneEquation plane_equation) const

◆ operator[]() [1/2]

ON_3dPoint& ON_BoundingBox::operator[] ( int  )

◆ operator[]() [2/2]

const ON_3dPoint& ON_BoundingBox::operator[] ( int  ) const

◆ Set() [1/5]

bool ON_BoundingBox::Set ( const ON_3dPoint point,
int  bGrowBox = false 
)

◆ Set() [2/5]

bool ON_BoundingBox::Set ( const ON_SimpleArray< ON_2dPoint > &  point_array,
int  bGrowBox = false 
)

◆ Set() [3/5]

bool ON_BoundingBox::Set ( const ON_SimpleArray< ON_3dPoint > &  point_array,
int  bGrowBox = false 
)

◆ Set() [4/5]

bool ON_BoundingBox::Set ( const ON_SimpleArray< ON_4dPoint > &  point_array,
int  bGrowBox = false 
)

◆ Set() [5/5]

bool ON_BoundingBox::Set ( int  dim,
int  is_rat,
int  count,
int  stride,
const double *  point_array,
int  bGrowBox = false 
)

◆ SwapCoordinates()

bool ON_BoundingBox::SwapCoordinates ( int  ,
int   
)

◆ Tolerance()

double ON_BoundingBox::Tolerance ( ) const

◆ Transform()

bool ON_BoundingBox::Transform ( const ON_Xform )

◆ Union() [1/2]

bool ON_BoundingBox::Union ( const ON_BoundingBox )

◆ Union() [2/2]

bool ON_BoundingBox::Union ( const ON_BoundingBox ,
const ON_BoundingBox  
)

◆ Volume()

double ON_BoundingBox::Volume ( ) const

Member Data Documentation

◆ EmptyBoundingBox

const ON_BoundingBox ON_BoundingBox::EmptyBoundingBox
static

Definition at line 28 of file opennurbs_bounding_box.h.

◆ m_max

ON_3dPoint ON_BoundingBox::m_max

Definition at line 492 of file opennurbs_bounding_box.h.

◆ m_min

ON_3dPoint ON_BoundingBox::m_min

Definition at line 491 of file opennurbs_bounding_box.h.


The documentation for this class was generated from the following file: