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

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

Public Member Functions

 ON_Plane ()
 
 ON_Plane (const ON_3dPoint &origin, const ON_3dVector &normal)
 
 ON_Plane (const ON_3dPoint &origin, const ON_3dVector &x_dir, const ON_3dVector &y_dir)
 
 ON_Plane (const ON_3dPoint &origin, const ON_3dPoint &x_point, const ON_3dPoint &y_point)
 
 ON_Plane (const double equation[4])
 
 ~ON_Plane ()
 
bool operator== (const ON_Plane &) const
 
bool operator!= (const ON_Plane &) const
 
bool CreateFromNormal (const ON_3dPoint &origin, const ON_3dVector &normal)
 
bool CreateFromFrame (const ON_3dPoint &origin, const ON_3dVector &x_dir, const ON_3dVector &y_dir)
 
bool CreateFromPoints (const ON_3dPoint &origin, const ON_3dPoint &point_on_x, const ON_3dPoint &point_on)
 
bool CreateFromEquation (const double equation[4])
 
bool IsValid () const
 
const ON_3dPointOrigin () const
 
const ON_3dVectorXaxis () const
 
const ON_3dVectorYaxis () const
 
const ON_3dVectorNormal () const
 
void SetOrigin (const ON_3dPoint &origin)
 
ON_3dPoint PointAt (double u, double v) const
 
ON_3dPoint PointAt (double u, double v, double w) const
 
ON_Line IsoLine (int dir, double c) const
 
double DistanceTo (const ON_3dPoint &point) const
 
bool GetDistanceToBoundingBox (const ON_BoundingBox &, double *min, double *max) const
 
bool UpdateEquation ()
 
bool ClosestPointTo (ON_3dPoint world_point, double *u, double *v) const
 
ON_3dPoint ClosestPointTo (ON_3dPoint point) const
 
bool Transform (const ON_Xform &xform)
 
bool SwapCoordinates (int i, int j)
 
bool Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis)
 
bool Rotate (double angle, const ON_3dVector &axis)
 
bool Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis, const ON_3dPoint &center)
 
bool Rotate (double angle, const ON_3dVector &axis, const ON_3dPoint &center)
 
bool Translate (const ON_3dVector &delta)
 
bool Flip ()
 

Public Attributes

ON_3dPoint origin
 
ON_3dVector xaxis
 
ON_3dVector yaxis
 
ON_3dVector zaxis
 
ON_PlaneEquation plane_equation
 

Static Public Attributes

static const ON_Plane World_xy
 

Detailed Description

Definition at line 20 of file opennurbs_plane.h.

Constructor & Destructor Documentation

ON_Plane::ON_Plane ( )
ON_Plane::ON_Plane ( const ON_3dPoint origin,
const ON_3dVector normal 
)
ON_Plane::ON_Plane ( const ON_3dPoint origin,
const ON_3dVector x_dir,
const ON_3dVector y_dir 
)
ON_Plane::ON_Plane ( const ON_3dPoint origin,
const ON_3dPoint x_point,
const ON_3dPoint y_point 
)
ON_Plane::ON_Plane ( const double  equation[4])
ON_Plane::~ON_Plane ( )

Member Function Documentation

bool ON_Plane::ClosestPointTo ( ON_3dPoint  world_point,
double *  u,
double *  v 
) const
ON_3dPoint ON_Plane::ClosestPointTo ( ON_3dPoint  point) const
bool ON_Plane::CreateFromEquation ( const double  equation[4])
bool ON_Plane::CreateFromFrame ( const ON_3dPoint origin,
const ON_3dVector x_dir,
const ON_3dVector y_dir 
)
bool ON_Plane::CreateFromNormal ( const ON_3dPoint origin,
const ON_3dVector normal 
)
bool ON_Plane::CreateFromPoints ( const ON_3dPoint origin,
const ON_3dPoint point_on_x,
const ON_3dPoint point_on 
)
double ON_Plane::DistanceTo ( const ON_3dPoint point) const
bool ON_Plane::Flip ( )
bool ON_Plane::GetDistanceToBoundingBox ( const ON_BoundingBox ,
double *  min,
double *  max 
) const
ON_Line ON_Plane::IsoLine ( int  dir,
double  c 
) const
bool ON_Plane::IsValid ( ) const
const ON_3dVector& ON_Plane::Normal ( ) const
bool ON_Plane::operator!= ( const ON_Plane ) const
bool ON_Plane::operator== ( const ON_Plane ) const
const ON_3dPoint& ON_Plane::Origin ( ) const
ON_3dPoint ON_Plane::PointAt ( double  u,
double  v 
) const
ON_3dPoint ON_Plane::PointAt ( double  u,
double  v,
double  w 
) const
bool ON_Plane::Rotate ( double  sin_angle,
double  cos_angle,
const ON_3dVector axis 
)
bool ON_Plane::Rotate ( double  angle,
const ON_3dVector axis 
)
bool ON_Plane::Rotate ( double  sin_angle,
double  cos_angle,
const ON_3dVector axis,
const ON_3dPoint center 
)
bool ON_Plane::Rotate ( double  angle,
const ON_3dVector axis,
const ON_3dPoint center 
)
void ON_Plane::SetOrigin ( const ON_3dPoint origin)
bool ON_Plane::SwapCoordinates ( int  i,
int  j 
)
bool ON_Plane::Transform ( const ON_Xform xform)
bool ON_Plane::Translate ( const ON_3dVector delta)
bool ON_Plane::UpdateEquation ( )
const ON_3dVector& ON_Plane::Xaxis ( ) const
const ON_3dVector& ON_Plane::Yaxis ( ) const

Member Data Documentation

ON_3dPoint ON_Plane::origin

Definition at line 452 of file opennurbs_plane.h.

ON_PlaneEquation ON_Plane::plane_equation

Definition at line 464 of file opennurbs_plane.h.

const ON_Plane ON_Plane::World_xy
static

Definition at line 448 of file opennurbs_plane.h.

ON_3dVector ON_Plane::xaxis

Definition at line 455 of file opennurbs_plane.h.

ON_3dVector ON_Plane::yaxis

Definition at line 458 of file opennurbs_plane.h.

ON_3dVector ON_Plane::zaxis

Definition at line 461 of file opennurbs_plane.h.


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