Public Member Functions | Public Attributes
ON_Box Class Reference

#include <opennurbs_box.h>

List of all members.

Public Member Functions

double Area () const
ON_BoundingBox BoundingBox () const
ON_3dPoint Center () const
bool ClosestPointTo (ON_3dPoint point, double *r, double *s, double *t) const
ON_3dPoint ClosestPointTo (ON_3dPoint test_point) const
bool Create (const ON_BoundingBox &bbox)
void Destroy ()
bool GetCorners (ON_3dPoint *corners) const
bool GetCorners (ON_SimpleArray< ON_3dPoint > &corners) const
int IsDegenerate (double tolerance=ON_UNSET_VALUE) const
bool IsValid () const
 ON_Box ()
 ON_Box (const ON_BoundingBox &bbox)
ON_3dPoint PointAt (double r, double s, double t) 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 Transform (const ON_Xform &)
bool Translate (const ON_3dVector &)
double Volume () const
 ~ON_Box ()

Public Attributes

ON_Interval dx
ON_Interval dy
ON_Interval dz
ON_Plane plane

Detailed Description

Definition at line 20 of file opennurbs_box.h.


Constructor & Destructor Documentation

Definition at line 3 of file opennurbs_box.cpp.

ON_Box::ON_Box ( const ON_BoundingBox bbox)

Definition at line 6 of file opennurbs_box.cpp.

Definition at line 11 of file opennurbs_box.cpp.


Member Function Documentation

double ON_Box::Area ( ) const

Definition at line 252 of file opennurbs_box.cpp.

Definition at line 105 of file opennurbs_box.cpp.

Definition at line 70 of file opennurbs_box.cpp.

bool ON_Box::ClosestPointTo ( ON_3dPoint  point,
double *  r,
double *  s,
double *  t 
) const

Definition at line 125 of file opennurbs_box.cpp.

Definition at line 151 of file opennurbs_box.cpp.

bool ON_Box::Create ( const ON_BoundingBox bbox)

Definition at line 31 of file opennurbs_box.cpp.

void ON_Box::Destroy ( )

Definition at line 14 of file opennurbs_box.cpp.

bool ON_Box::GetCorners ( ON_3dPoint corners) const

Definition at line 75 of file opennurbs_box.cpp.

bool ON_Box::GetCorners ( ON_SimpleArray< ON_3dPoint > &  corners) const

Definition at line 95 of file opennurbs_box.cpp.

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

Definition at line 40 of file opennurbs_box.cpp.

bool ON_Box::IsValid ( ) const

Definition at line 22 of file opennurbs_box.cpp.

ON_3dPoint ON_Box::PointAt ( double  r,
double  s,
double  t 
) const

Definition at line 114 of file opennurbs_box.cpp.

bool ON_Box::Rotate ( double  sin_angle,
double  cos_angle,
const ON_3dVector axis_of_rotation 
)

Definition at line 160 of file opennurbs_box.cpp.

bool ON_Box::Rotate ( double  angle_radians,
const ON_3dVector axis_of_rotation 
)

Definition at line 169 of file opennurbs_box.cpp.

bool ON_Box::Rotate ( double  sin_angle,
double  cos_angle,
const ON_3dVector axis_of_rotation,
const ON_3dPoint center_of_rotation 
)

Definition at line 178 of file opennurbs_box.cpp.

bool ON_Box::Rotate ( double  angle_radians,
const ON_3dVector axis_of_rotation,
const ON_3dPoint center_of_rotation 
)

Definition at line 188 of file opennurbs_box.cpp.

bool ON_Box::Transform ( const ON_Xform xform)

Definition at line 205 of file opennurbs_box.cpp.

bool ON_Box::Translate ( const ON_3dVector delta)

Definition at line 197 of file opennurbs_box.cpp.

double ON_Box::Volume ( ) const

Definition at line 247 of file opennurbs_box.cpp.


Member Data Documentation

Definition at line 25 of file opennurbs_box.h.

Definition at line 26 of file opennurbs_box.h.

Definition at line 27 of file opennurbs_box.h.

Definition at line 23 of file opennurbs_box.h.


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


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:51