Public Member Functions | Public Attributes
ON_Line Class Reference

#include <opennurbs_line.h>

List of all members.

Public Member Functions

ON_BoundingBox BoundingBox () const
bool ClosestPointTo (const ON_3dPoint &test_point, double *t) const
ON_3dPoint ClosestPointTo (const ON_3dPoint &test_point) const
bool Create (const ON_3dPoint &start, const ON_3dPoint &end)
ON_3dVector Direction () const
double DistanceTo (ON_3dPoint test_point) 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
bool IsFartherThan (double d, const ON_3dPoint &P) const
bool IsFartherThan (double d, const ON_Line &L) const
bool IsValid () const
double Length () const
double MaximumDistanceTo (const ON_3dPoint &P) const
double MaximumDistanceTo (const ON_Line &other) const
double MinimumDistanceTo (const ON_3dPoint &P) const
double MinimumDistanceTo (const ON_Line &L) const
 ON_Line ()
 ON_Line (const ON_3dPoint &start, const ON_3dPoint &end)
ON_3dPointoperator[] (int)
const ON_3dPointoperator[] (int) const
ON_3dPoint PointAt (double t) const
void Reverse ()
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)
ON_3dVector Tangent () const
bool Transform (const ON_Xform &xform)
bool Translate (const ON_3dVector &delta)
 ~ON_Line ()

Public Attributes

ON_3dPoint from
ON_3dPoint to

Detailed Description

Definition at line 20 of file opennurbs_line.h.


Constructor & Destructor Documentation

Definition at line 19 of file opennurbs_line.cpp.

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

Definition at line 25 of file opennurbs_line.cpp.

Definition at line 29 of file opennurbs_line.cpp.


Member Function Documentation

Definition at line 281 of file opennurbs_line.cpp.

bool ON_Line::ClosestPointTo ( const ON_3dPoint test_point,
double *  t 
) const

Definition at line 94 of file opennurbs_line.cpp.

ON_3dPoint ON_Line::ClosestPointTo ( const ON_3dPoint test_point) const

Definition at line 116 of file opennurbs_line.cpp.

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

Definition at line 43 of file opennurbs_line.cpp.

Definition at line 61 of file opennurbs_line.cpp.

double ON_Line::DistanceTo ( ON_3dPoint  test_point) const

Definition at line 123 of file opennurbs_line.cpp.

bool ON_Line::GetBoundingBox ( ON_BoundingBox bbox,
int  bGrowBox = false 
) const

Definition at line 288 of file opennurbs_line.cpp.

bool ON_Line::GetTightBoundingBox ( ON_BoundingBox tight_bbox,
int  bGrowBox = false,
const ON_Xform xform = 0 
) const

Definition at line 736 of file opennurbs_bezier.cpp.

bool ON_Line::InPlane ( ON_Plane plane,
double  tolerance = 0.0 
) const

Definition at line 297 of file opennurbs_line.cpp.

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

Definition at line 413 of file opennurbs_line.cpp.

bool ON_Line::IsFartherThan ( double  d,
const ON_Line L 
) const

Definition at line 443 of file opennurbs_line.cpp.

bool ON_Line::IsValid ( ) const

Definition at line 51 of file opennurbs_line.cpp.

double ON_Line::Length ( ) const

Definition at line 56 of file opennurbs_line.cpp.

double ON_Line::MaximumDistanceTo ( const ON_3dPoint P) const

Definition at line 397 of file opennurbs_line.cpp.

double ON_Line::MaximumDistanceTo ( const ON_Line other) const

Definition at line 405 of file opennurbs_line.cpp.

double ON_Line::MinimumDistanceTo ( const ON_3dPoint P) const

Definition at line 340 of file opennurbs_line.cpp.

double ON_Line::MinimumDistanceTo ( const ON_Line L) const

Definition at line 359 of file opennurbs_line.cpp.

ON_3dPoint & ON_Line::operator[] ( int  i)

Definition at line 33 of file opennurbs_line.cpp.

const ON_3dPoint & ON_Line::operator[] ( int  i) const

Definition at line 38 of file opennurbs_line.cpp.

ON_3dPoint ON_Line::PointAt ( double  t) const

Definition at line 73 of file opennurbs_line.cpp.

void ON_Line::Reverse ( )

Definition at line 87 of file opennurbs_line.cpp.

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

Definition at line 140 of file opennurbs_line.cpp.

bool ON_Line::Rotate ( double  angle_in_radians,
const ON_3dVector axis_of_rotation,
const ON_3dPoint center_of_rotation 
)

Definition at line 159 of file opennurbs_line.cpp.

Definition at line 66 of file opennurbs_line.cpp.

bool ON_Line::Transform ( const ON_Xform xform)

Definition at line 129 of file opennurbs_line.cpp.

bool ON_Line::Translate ( const ON_3dVector delta)

Definition at line 168 of file opennurbs_line.cpp.


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 files:


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