Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Public Attributes
ON_Box Class Reference

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

Public Member Functions

 ON_Box ()
 
 ON_Box (const ON_BoundingBox &bbox)
 
 ~ON_Box ()
 
bool IsValid () const
 
bool Create (const ON_BoundingBox &bbox)
 
void Destroy ()
 
ON_3dPoint Center () const
 
bool GetCorners (ON_3dPoint *corners) const
 
bool GetCorners (ON_SimpleArray< ON_3dPoint > &corners) const
 
ON_BoundingBox BoundingBox () const
 
ON_3dPoint PointAt (double r, double s, double t) const
 
bool ClosestPointTo (ON_3dPoint point, double *r, double *s, double *t) const
 
ON_3dPoint ClosestPointTo (ON_3dPoint test_point) const
 
bool Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation)
 
bool Rotate (double angle_radians, const ON_3dVector &axis_of_rotation)
 
bool Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
 
bool Rotate (double angle_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
 
bool Translate (const ON_3dVector &)
 
bool Transform (const ON_Xform &)
 
int IsDegenerate (double tolerance=ON_UNSET_VALUE) const
 
double Volume () const
 
double Area () const
 

Public Attributes

ON_Plane plane
 
ON_Interval dx
 
ON_Interval dy
 
ON_Interval dz
 

Detailed Description

Definition at line 20 of file opennurbs_box.h.

Constructor & Destructor Documentation

ON_Box::ON_Box ( )
ON_Box::ON_Box ( const ON_BoundingBox bbox)
ON_Box::~ON_Box ( )

Member Function Documentation

double ON_Box::Area ( ) const
ON_BoundingBox ON_Box::BoundingBox ( ) const
ON_3dPoint ON_Box::Center ( ) const
bool ON_Box::ClosestPointTo ( ON_3dPoint  point,
double *  r,
double *  s,
double *  t 
) const
ON_3dPoint ON_Box::ClosestPointTo ( ON_3dPoint  test_point) const
bool ON_Box::Create ( const ON_BoundingBox bbox)
void ON_Box::Destroy ( )
bool ON_Box::GetCorners ( ON_3dPoint corners) const
bool ON_Box::GetCorners ( ON_SimpleArray< ON_3dPoint > &  corners) const
int ON_Box::IsDegenerate ( double  tolerance = ON_UNSET_VALUE) const
bool ON_Box::IsValid ( ) const
ON_3dPoint ON_Box::PointAt ( double  r,
double  s,
double  t 
) const
bool ON_Box::Rotate ( double  sin_angle,
double  cos_angle,
const ON_3dVector axis_of_rotation 
)
bool ON_Box::Rotate ( double  angle_radians,
const ON_3dVector axis_of_rotation 
)
bool ON_Box::Rotate ( double  sin_angle,
double  cos_angle,
const ON_3dVector axis_of_rotation,
const ON_3dPoint center_of_rotation 
)
bool ON_Box::Rotate ( double  angle_radians,
const ON_3dVector axis_of_rotation,
const ON_3dPoint center_of_rotation 
)
bool ON_Box::Transform ( const ON_Xform )
bool ON_Box::Translate ( const ON_3dVector )
double ON_Box::Volume ( ) const

Member Data Documentation

ON_Interval ON_Box::dx

Definition at line 25 of file opennurbs_box.h.

ON_Interval ON_Box::dy

Definition at line 26 of file opennurbs_box.h.

ON_Interval ON_Box::dz

Definition at line 27 of file opennurbs_box.h.

ON_Plane ON_Box::plane

Definition at line 23 of file opennurbs_box.h.


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