Public Member Functions | Private Attributes | Friends
ON_Arc Class Reference

#include <opennurbs_arc.h>

Inheritance diagram for ON_Arc:
Inheritance graph
[legend]

List of all members.

Public Member Functions

double AngleDegrees () const
double AngleRadians () const
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_Circle &circle, double angle_in_radians)
bool Create (const ON_Circle &circle, ON_Interval angle_interval_in_radians)
bool Create (const ON_Plane &plane, double radius, double angle_in_radians)
bool Create (const ON_3dPoint &center, double radius, double angle_in_radians)
bool Create (const ON_Plane &plane, const ON_3dPoint &center, double radius, double angle_in_radians)
bool Create (const ON_2dPoint &start_point, const ON_2dPoint &interior_point, const ON_2dPoint &end_point)
bool Create (const ON_3dPoint &start_point, const ON_3dPoint &interior_point, const ON_3dPoint &end_point)
bool Create (const ON_2dPoint &start_point, const ON_2dVector &dir_at_start, const ON_2dPoint &end_point)
bool Create (const ON_3dPoint &start_point, const ON_3dVector &dir_at_start, const ON_3dPoint &end_point)
ON_Interval Domain () const
ON_Interval DomainDegrees () const
ON_Interval DomainRadians () const
void Dump (ON_TextLog &dump) const
ON_3dPoint EndPoint () const
bool GetBoundingBox (ON_BoundingBox &bbox, int bGrowBox=false) const
int GetNurbForm (ON_NurbsCurve &nurbs_curve) const
bool GetNurbFormParameterFromRadian (double arc_radians_parameter, double *nurbs_parameter) const
bool GetRadianFromNurbFormParameter (double nurbs_parameter, double *arc_radians_parameter) const
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
bool IsCircle () const
bool IsValid () const
double Length () const
ON_3dPoint MidPoint () const
 ON_Arc ()
 ON_Arc (const ON_Circle &circle, double angle_in_radians)
 ON_Arc (const ON_Circle &circle, ON_Interval angle_interval_in_radians)
 ON_Arc (const ON_Plane &plane, double radius, double angle_in_radians)
 ON_Arc (const ON_3dPoint &center, double radius, double angle_in_radians)
 ON_Arc (const ON_Plane &plane, const ON_3dPoint &center, double radius, double angle_in_radians)
 ON_Arc (const ON_2dPoint &start_point, const ON_2dPoint &interior_point, const ON_2dPoint &end_point)
 ON_Arc (const ON_3dPoint &start_point, const ON_3dPoint &interior_point, const ON_3dPoint &end_point)
ON_Arcoperator= (const ON_Circle &)
bool Reverse ()
double SectorArea () const
ON_3dPoint SectorAreaCentroid () const
double SegmentArea () const
ON_3dPoint SegmentAreaCentroid () const
bool SetAngleDegrees (double angle_in_degrees)
bool SetAngleIntervalRadians (ON_Interval angle_in_radians)
bool SetAngleRadians (double angle_in_radians)
ON_3dPoint StartPoint () const
bool Trim (ON_Interval domain_radian)
 ~ON_Arc ()

Private Attributes

ON_Interval m_angle

Friends

bool ON_BinaryArchive::ReadArc (ON_Arc &)
bool ON_BinaryArchive::WriteArc (const ON_Arc &)

Detailed Description

Definition at line 34 of file opennurbs_arc.h.


Constructor & Destructor Documentation

Definition at line 19 of file opennurbs_arc.cpp.

ON_Arc::ON_Arc ( const ON_Circle circle,
double  angle_in_radians 
)

Definition at line 24 of file opennurbs_arc.cpp.

ON_Arc::ON_Arc ( const ON_Circle circle,
ON_Interval  angle_interval_in_radians 
)

Definition at line 30 of file opennurbs_arc.cpp.

ON_Arc::ON_Arc ( const ON_Plane plane,
double  radius,
double  angle_in_radians 
)

Definition at line 36 of file opennurbs_arc.cpp.

ON_Arc::ON_Arc ( const ON_3dPoint center,
double  radius,
double  angle_in_radians 
)

Definition at line 42 of file opennurbs_arc.cpp.

ON_Arc::ON_Arc ( const ON_Plane plane,
const ON_3dPoint center,
double  radius,
double  angle_in_radians 
)

Definition at line 48 of file opennurbs_arc.cpp.

ON_Arc::ON_Arc ( const ON_2dPoint start_point,
const ON_2dPoint interior_point,
const ON_2dPoint end_point 
)

Definition at line 54 of file opennurbs_arc.cpp.

ON_Arc::ON_Arc ( const ON_3dPoint start_point,
const ON_3dPoint interior_point,
const ON_3dPoint end_point 
)

Definition at line 60 of file opennurbs_arc.cpp.

Definition at line 228 of file opennurbs_arc.cpp.


Member Function Documentation

double ON_Arc::AngleDegrees ( ) const

Definition at line 316 of file opennurbs_arc.cpp.

double ON_Arc::AngleRadians ( ) const

Definition at line 311 of file opennurbs_arc.cpp.

Reimplemented from ON_Circle.

Definition at line 274 of file opennurbs_arc.cpp.

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

Reimplemented from ON_Circle.

Definition at line 558 of file opennurbs_arc.cpp.

ON_3dPoint ON_Arc::ClosestPointTo ( const ON_3dPoint test_point) const

Reimplemented from ON_Circle.

Definition at line 615 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_Circle circle,
double  angle_in_radians 
)

Definition at line 81 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_Circle circle,
ON_Interval  angle_interval_in_radians 
)

Definition at line 89 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_Plane plane,
double  radius,
double  angle_in_radians 
)

Definition at line 117 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_3dPoint center,
double  radius,
double  angle_in_radians 
)

Definition at line 126 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_Plane plane,
const ON_3dPoint center,
double  radius,
double  angle_in_radians 
)

Definition at line 137 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_2dPoint start_point,
const ON_2dPoint interior_point,
const ON_2dPoint end_point 
)

Reimplemented from ON_Circle.

Definition at line 150 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_3dPoint start_point,
const ON_3dPoint interior_point,
const ON_3dPoint end_point 
)

Reimplemented from ON_Circle.

Definition at line 162 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_2dPoint start_point,
const ON_2dVector dir_at_start,
const ON_2dPoint end_point 
)

Reimplemented from ON_Circle.

Definition at line 198 of file opennurbs_arc.cpp.

bool ON_Arc::Create ( const ON_3dPoint start_point,
const ON_3dVector dir_at_start,
const ON_3dPoint end_point 
)

Reimplemented from ON_Circle.

Definition at line 209 of file opennurbs_arc.cpp.

Definition at line 321 of file opennurbs_arc.cpp.

Definition at line 331 of file opennurbs_arc.cpp.

Definition at line 326 of file opennurbs_arc.cpp.

void ON_Arc::Dump ( ON_TextLog dump) const

Definition at line 231 of file opennurbs_arc.cpp.

Definition at line 260 of file opennurbs_arc.cpp.

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

Definition at line 290 of file opennurbs_arc.cpp.

int ON_Arc::GetNurbForm ( ON_NurbsCurve nurbs_curve) const

Reimplemented from ON_Circle.

Definition at line 809 of file opennurbs_arccurve.cpp.

bool ON_Arc::GetNurbFormParameterFromRadian ( double  arc_radians_parameter,
double *  nurbs_parameter 
) const

Reimplemented from ON_Circle.

Definition at line 899 of file opennurbs_arccurve.cpp.

bool ON_Arc::GetRadianFromNurbFormParameter ( double  nurbs_parameter,
double *  arc_radians_parameter 
) const

Reimplemented from ON_Circle.

Definition at line 816 of file opennurbs_arccurve.cpp.

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

Reimplemented from ON_Circle.

Definition at line 765 of file opennurbs_bezier.cpp.

bool ON_Arc::IsCircle ( ) const

Definition at line 305 of file opennurbs_arc.cpp.

bool ON_Arc::IsValid ( ) const

Reimplemented from ON_Circle.

Definition at line 265 of file opennurbs_arc.cpp.

double ON_Arc::Length ( ) const

Definition at line 444 of file opennurbs_arc.cpp.

Definition at line 255 of file opennurbs_arc.cpp.

ON_Arc & ON_Arc::operator= ( const ON_Circle c)

Definition at line 66 of file opennurbs_arc.cpp.

bool ON_Arc::Reverse ( )

Reimplemented from ON_Circle.

Definition at line 435 of file opennurbs_arc.cpp.

double ON_Arc::SectorArea ( ) const

Definition at line 449 of file opennurbs_arc.cpp.

Definition at line 454 of file opennurbs_arc.cpp.

double ON_Arc::SegmentArea ( ) const

Definition at line 463 of file opennurbs_arc.cpp.

Definition at line 469 of file opennurbs_arc.cpp.

bool ON_Arc::SetAngleDegrees ( double  angle_in_degrees)

Definition at line 366 of file opennurbs_arc.cpp.

bool ON_Arc::SetAngleIntervalRadians ( ON_Interval  angle_in_radians)

Definition at line 355 of file opennurbs_arc.cpp.

bool ON_Arc::SetAngleRadians ( double  angle_in_radians)

Definition at line 340 of file opennurbs_arc.cpp.

Definition at line 250 of file opennurbs_arc.cpp.

bool ON_Arc::Trim ( ON_Interval  domain_radian)

Definition at line 371 of file opennurbs_arc.cpp.


Friends And Related Function Documentation

bool ON_BinaryArchive::ReadArc ( ON_Arc ) [friend]
bool ON_BinaryArchive::WriteArc ( const ON_Arc ) [friend]

Member Data Documentation

Definition at line 596 of file opennurbs_arc.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