QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
ON_Arc Class Reference

#include <opennurbs_arc.h>

Inheritance diagram for ON_Arc:
ON_Circle

Public Member Functions

double AngleDegrees () const
 
double AngleRadians () const
 
ON_BoundingBox BoundingBox () const
 
ON_3dPoint ClosestPointTo (const ON_3dPoint &test_point) const
 
bool ClosestPointTo (const ON_3dPoint &test_point, double *t) const
 
bool Create (const ON_2dPoint &, const ON_2dPoint &, const ON_2dPoint &)
 
bool Create (const ON_2dPoint &, const ON_2dVector &, const ON_2dPoint &)
 
bool Create (const ON_3dPoint &, const ON_3dPoint &, const ON_3dPoint &)
 
bool Create (const ON_3dPoint &, const ON_3dVector &, const ON_3dPoint &)
 
bool Create (const ON_3dPoint &, double, double)
 
bool Create (const ON_Circle &, double)
 
bool Create (const ON_Circle &circle, ON_Interval angle_interval_in_radians)
 
bool Create (const ON_Plane &, const ON_3dPoint &, double, double)
 
bool Create (const ON_Plane &, double, double)
 
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_2dPoint &, const ON_2dPoint &, const ON_2dPoint &)
 
 ON_Arc (const ON_3dPoint &, const ON_3dPoint &, const ON_3dPoint &)
 
 ON_Arc (const ON_3dPoint &, double, double)
 
 ON_Arc (const ON_Circle &, double)
 
 ON_Arc (const ON_Circle &circle, ON_Interval angle_interval_in_radians)
 
 ON_Arc (const ON_Plane &, const ON_3dPoint &, double, double)
 
 ON_Arc (const ON_Plane &, double, double)
 
ON_Arcoperator= (const ON_Circle &)
 
bool Reverse ()
 
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 ()
 
- Public Member Functions inherited from ON_Circle
ON_BoundingBox BoundingBox () const
 
const ON_3dPointCenter () const
 
double Circumference () const
 
ON_3dPoint ClosestPointTo (const ON_3dPoint &point) const
 
bool ClosestPointTo (const ON_3dPoint &point, double *t) const
 
bool Create (const ON_2dPoint &P, const ON_2dPoint &Q, const ON_2dPoint &R)
 
bool Create (const ON_2dPoint &P, const ON_2dVector &tangent_at_P, const ON_2dPoint &Q)
 
bool Create (const ON_3dPoint &center, double radius)
 
bool Create (const ON_3dPoint &P, const ON_3dPoint &Q, const ON_3dPoint &R)
 
bool Create (const ON_3dPoint &P, const ON_3dVector &tangent_at_P, const ON_3dPoint &Q)
 
bool Create (const ON_Plane &plane, const ON_3dPoint &center, double radius)
 
bool Create (const ON_Plane &plane, double radius)
 
ON_3dVector DerivativeAt (int, double) const
 
double Diameter () const
 
double EquationAt (const ON_2dPoint &plane_point) const
 
int GetNurbForm (ON_NurbsCurve &nurbs_curve) const
 
bool GetNurbFormParameterFromRadian (double circle_radians_parameter, double *nurbs_parameter) const
 
bool GetRadianFromNurbFormParameter (double nurbs_parameter, double *circle_radians_parameter) const
 
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
 
ON_2dVector GradientAt (const ON_2dPoint &plane_point) const
 
bool IsInPlane (const ON_Plane &, double=ON_ZERO_TOLERANCE) const
 
bool IsValid () const
 
const ON_3dVectorNormal () const
 
 ON_Circle ()
 
 ON_Circle (const ON_2dPoint &P, const ON_2dPoint &Q, const ON_2dPoint &R)
 
 ON_Circle (const ON_3dPoint &center, double radius)
 
 ON_Circle (const ON_3dPoint &P, const ON_3dPoint &Q, const ON_3dPoint &R)
 
 ON_Circle (const ON_Plane &plane, const ON_3dPoint &center, double radius)
 
 ON_Circle (const ON_Plane &plane, double radius)
 
const ON_PlanePlane () const
 
ON_3dPoint PointAt (double) const
 
double Radius () const
 
bool Reverse ()
 
bool Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation)
 
bool Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint &center_of_rotation)
 
bool Rotate (double sin_angle, double cos_angle, 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)
 
ON_3dVector TangentAt (double) const
 
bool Transform (const ON_Xform &)
 
bool Translate (const ON_3dVector &delta)
 
 ~ON_Circle ()
 

Private Attributes

ON_Interval m_angle
 

Friends

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

Additional Inherited Members

- Public Attributes inherited from ON_Circle
ON_Plane plane
 
double radius
 

Constructor & Destructor Documentation

◆ ON_Arc() [1/8]

ON_Arc::ON_Arc ( )

◆ ON_Arc() [2/8]

ON_Arc::ON_Arc ( const ON_Circle & c,
double angle_in_radians )

◆ ON_Arc() [3/8]

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

◆ ON_Arc() [4/8]

ON_Arc::ON_Arc ( const ON_Plane & p,
double r,
double angle_in_radians )

◆ ON_Arc() [5/8]

ON_Arc::ON_Arc ( const ON_3dPoint & C,
double r,
double angle_in_radians )

◆ ON_Arc() [6/8]

ON_Arc::ON_Arc ( const ON_Plane & pln,
const ON_3dPoint & C,
double r,
double angle_in_radians )

◆ ON_Arc() [7/8]

ON_Arc::ON_Arc ( const ON_2dPoint & P,
const ON_2dPoint & Q,
const ON_2dPoint & R )

◆ ON_Arc() [8/8]

ON_Arc::ON_Arc ( const ON_3dPoint & P,
const ON_3dPoint & Q,
const ON_3dPoint & R )

◆ ~ON_Arc()

ON_Arc::~ON_Arc ( )

Member Function Documentation

◆ AngleDegrees()

double ON_Arc::AngleDegrees ( ) const

◆ AngleRadians()

double ON_Arc::AngleRadians ( ) const

◆ BoundingBox()

ON_BoundingBox ON_Arc::BoundingBox ( ) const

◆ ClosestPointTo() [1/2]

ON_3dPoint ON_Arc::ClosestPointTo ( const ON_3dPoint & test_point) const

◆ ClosestPointTo() [2/2]

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

◆ Create() [1/9]

bool ON_Arc::Create ( const ON_2dPoint & P,
const ON_2dPoint & Q,
const ON_2dPoint & R )

◆ Create() [2/9]

bool ON_Arc::Create ( const ON_2dPoint & P,
const ON_2dVector & Pdir,
const ON_2dPoint & Q )

◆ Create() [3/9]

bool ON_Arc::Create ( const ON_3dPoint & P,
const ON_3dPoint & Q,
const ON_3dPoint & R )

◆ Create() [4/9]

bool ON_Arc::Create ( const ON_3dPoint & P,
const ON_3dVector & Pdir,
const ON_3dPoint & Q )

◆ Create() [5/9]

bool ON_Arc::Create ( const ON_3dPoint & center,
double r,
double angle_radians )

◆ Create() [6/9]

bool ON_Arc::Create ( const ON_Circle & circle,
double angle_radians )

◆ Create() [7/9]

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

◆ Create() [8/9]

bool ON_Arc::Create ( const ON_Plane & pl,
const ON_3dPoint & center,
double r,
double angle_radians )

◆ Create() [9/9]

bool ON_Arc::Create ( const ON_Plane & pl,
double r,
double angle_radians )

◆ Domain()

ON_Interval ON_Arc::Domain ( ) const

◆ DomainDegrees()

ON_Interval ON_Arc::DomainDegrees ( ) const

◆ DomainRadians()

ON_Interval ON_Arc::DomainRadians ( ) const

◆ Dump()

void ON_Arc::Dump ( ON_TextLog & dump) const

◆ EndPoint()

ON_3dPoint ON_Arc::EndPoint ( ) const

◆ GetBoundingBox()

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

◆ GetNurbForm()

int ON_Arc::GetNurbForm ( ON_NurbsCurve & nurbs_curve) const

◆ GetNurbFormParameterFromRadian()

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

◆ GetRadianFromNurbFormParameter()

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

◆ GetTightBoundingBox()

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

◆ IsCircle()

bool ON_Arc::IsCircle ( ) const

◆ IsValid()

bool ON_Arc::IsValid ( ) const

◆ Length()

double ON_Arc::Length ( ) const

◆ MidPoint()

ON_3dPoint ON_Arc::MidPoint ( ) const

◆ operator=()

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

◆ Reverse()

bool ON_Arc::Reverse ( )

◆ SetAngleDegrees()

bool ON_Arc::SetAngleDegrees ( double angle_in_degrees)

◆ SetAngleIntervalRadians()

bool ON_Arc::SetAngleIntervalRadians ( ON_Interval angle_in_radians)

◆ SetAngleRadians()

bool ON_Arc::SetAngleRadians ( double angle_in_radians)

◆ StartPoint()

ON_3dPoint ON_Arc::StartPoint ( ) const

◆ Trim()

bool ON_Arc::Trim ( ON_Interval domain_radian)

Friends And Related Symbol Documentation

◆ ON_BinaryArchive::ReadArc

bool ON_BinaryArchive::ReadArc ( ON_Arc & )
friend

◆ ON_BinaryArchive::WriteArc

Member Data Documentation

◆ m_angle

ON_Interval ON_Arc::m_angle
private

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