Point Cloud Library (PCL)  1.7.0
Public Member Functions | Public Attributes
ON_Line Class Reference

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

List of all members.

Public Member Functions

 ON_Line ()
 ON_Line (const ON_3dPoint &start, const ON_3dPoint &end)
 ~ON_Line ()
bool IsValid () const
ON_3dPointoperator[] (int)
const ON_3dPointoperator[] (int) const
bool Create (const ON_3dPoint &start, const ON_3dPoint &end)
ON_BoundingBox BoundingBox () const
bool GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
bool InPlane (ON_Plane &plane, double tolerance=0.0) const
double Length () const
ON_3dVector Direction () const
ON_3dVector Tangent () const
ON_3dPoint PointAt (double t) const
bool ClosestPointTo (const ON_3dPoint &test_point, double *t) const
ON_3dPoint ClosestPointTo (const ON_3dPoint &test_point) const
double DistanceTo (ON_3dPoint test_point) const
double MinimumDistanceTo (const ON_3dPoint &P) const
double MinimumDistanceTo (const ON_Line &L) const
double MaximumDistanceTo (const ON_3dPoint &P) const
double MaximumDistanceTo (const ON_Line &other) const
bool IsFartherThan (double d, const ON_3dPoint &P) const
bool IsFartherThan (double d, const ON_Line &L) const
void Reverse ()
bool Transform (const ON_Xform &xform)
bool Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
bool Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
bool Translate (const ON_3dVector &delta)

Public Attributes

ON_3dPoint from
ON_3dPoint to

Detailed Description

Definition at line 20 of file opennurbs_line.h.


Constructor & Destructor Documentation

ON_Line::ON_Line ( const ON_3dPoint start,
const ON_3dPoint end 
)

Member Function Documentation

bool ON_Line::ClosestPointTo ( const ON_3dPoint test_point,
double *  t 
) const
ON_3dPoint ON_Line::ClosestPointTo ( const ON_3dPoint test_point) const
bool ON_Line::Create ( const ON_3dPoint start,
const ON_3dPoint end 
)
double ON_Line::DistanceTo ( ON_3dPoint  test_point) const
bool ON_Line::GetBoundingBox ( ON_BoundingBox bbox,
int  bGrowBox = false 
) const
bool ON_Line::GetTightBoundingBox ( ON_BoundingBox tight_bbox,
int  bGrowBox = false,
const ON_Xform xform = 0 
) const
bool ON_Line::InPlane ( ON_Plane plane,
double  tolerance = 0.0 
) const
bool ON_Line::IsFartherThan ( double  d,
const ON_3dPoint P 
) const
bool ON_Line::IsFartherThan ( double  d,
const ON_Line L 
) const
bool ON_Line::IsValid ( ) const
double ON_Line::Length ( ) const
double ON_Line::MaximumDistanceTo ( const ON_3dPoint P) const
double ON_Line::MaximumDistanceTo ( const ON_Line other) const
double ON_Line::MinimumDistanceTo ( const ON_3dPoint P) const
double ON_Line::MinimumDistanceTo ( const ON_Line L) const
ON_3dPoint& ON_Line::operator[] ( int  )
const ON_3dPoint& ON_Line::operator[] ( int  ) const
ON_3dPoint ON_Line::PointAt ( double  t) const
void ON_Line::Reverse ( )
bool ON_Line::Rotate ( double  sin_angle,
double  cos_angle,
const ON_3dVector axis_of_rotation,
const ON_3dPoint center_of_rotation 
)
bool ON_Line::Rotate ( double  angle_in_radians,
const ON_3dVector axis_of_rotation,
const ON_3dPoint center_of_rotation 
)
bool ON_Line::Transform ( const ON_Xform xform)
bool ON_Line::Translate ( const ON_3dVector delta)

Member Data Documentation

Definition at line 266 of file opennurbs_line.h.

Definition at line 267 of file opennurbs_line.h.


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