#include <opennurbs_circle.h>
Public Member Functions | |
ON_BoundingBox | BoundingBox () const |
const ON_3dPoint & | Center () const |
double | Circumference () const |
bool | ClosestPointTo (const ON_3dPoint &point, double *t) const |
ON_3dPoint | ClosestPointTo (const ON_3dPoint &point) const |
bool | Create (const ON_Plane &plane, double radius) |
bool | Create (const ON_3dPoint ¢er, double radius) |
bool | Create (const ON_Plane &plane, const ON_3dPoint ¢er, double radius) |
bool | Create (const ON_2dPoint &P, const ON_2dPoint &Q, const ON_2dPoint &R) |
bool | Create (const ON_3dPoint &P, const ON_3dPoint &Q, const ON_3dPoint &R) |
bool | Create (const ON_2dPoint &P, const ON_2dVector &tangent_at_P, const ON_2dPoint &Q) |
bool | Create (const ON_3dPoint &P, const ON_3dVector &tangent_at_P, const ON_3dPoint &Q) |
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_3dVector & | Normal () const |
ON_Circle () | |
ON_Circle (const ON_Plane &plane, double radius) | |
ON_Circle (const ON_3dPoint ¢er, double radius) | |
ON_Circle (const ON_Plane &plane, const ON_3dPoint ¢er, double radius) | |
ON_Circle (const ON_2dPoint &P, const ON_2dPoint &Q, const ON_2dPoint &R) | |
ON_Circle (const ON_3dPoint &P, const ON_3dPoint &Q, const ON_3dPoint &R) | |
const ON_Plane & | Plane () const |
ON_3dPoint | PointAt (double) const |
double | Radius () const |
bool | Reverse () |
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation) |
bool | Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation) |
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation, const ON_3dPoint ¢er_of_rotation) |
bool | Rotate (double angle_in_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint ¢er_of_rotation) |
ON_3dVector | TangentAt (double) const |
bool | Transform (const ON_Xform &) |
bool | Translate (const ON_3dVector &delta) |
~ON_Circle () | |
Public Attributes | |
ON_Plane | plane |
double | radius |
Definition at line 33 of file opennurbs_circle.h.
Definition at line 19 of file opennurbs_circle.cpp.
ON_Circle::ON_Circle | ( | const ON_Plane & | plane, |
double | radius | ||
) |
Definition at line 30 of file opennurbs_circle.cpp.
ON_Circle::ON_Circle | ( | const ON_3dPoint & | center, |
double | radius | ||
) |
Definition at line 35 of file opennurbs_circle.cpp.
ON_Circle::ON_Circle | ( | const ON_Plane & | plane, |
const ON_3dPoint & | center, | ||
double | radius | ||
) |
Definition at line 40 of file opennurbs_circle.cpp.
ON_Circle::ON_Circle | ( | const ON_2dPoint & | P, |
const ON_2dPoint & | Q, | ||
const ON_2dPoint & | R | ||
) |
Definition at line 45 of file opennurbs_circle.cpp.
ON_Circle::ON_Circle | ( | const ON_3dPoint & | P, |
const ON_3dPoint & | Q, | ||
const ON_3dPoint & | R | ||
) |
Definition at line 50 of file opennurbs_circle.cpp.
Definition at line 27 of file opennurbs_circle.cpp.
ON_BoundingBox ON_Circle::BoundingBox | ( | ) | const |
Reimplemented in ON_Arc.
Definition at line 81 of file opennurbs_circle.cpp.
const ON_3dPoint & ON_Circle::Center | ( | ) | const |
Definition at line 66 of file opennurbs_circle.cpp.
double ON_Circle::Circumference | ( | ) | const |
Definition at line 214 of file opennurbs_circle.cpp.
bool ON_Circle::ClosestPointTo | ( | const ON_3dPoint & | point, |
double * | t | ||
) | const |
Reimplemented in ON_Arc.
Definition at line 434 of file opennurbs_circle.cpp.
ON_3dPoint ON_Circle::ClosestPointTo | ( | const ON_3dPoint & | point | ) | const |
Reimplemented in ON_Arc.
Definition at line 452 of file opennurbs_circle.cpp.
bool ON_Circle::Create | ( | const ON_Plane & | plane, |
double | radius | ||
) |
Definition at line 219 of file opennurbs_circle.cpp.
bool ON_Circle::Create | ( | const ON_3dPoint & | center, |
double | radius | ||
) |
Definition at line 231 of file opennurbs_circle.cpp.
bool ON_Circle::Create | ( | const ON_Plane & | plane, |
const ON_3dPoint & | center, | ||
double | radius | ||
) |
Definition at line 239 of file opennurbs_circle.cpp.
bool ON_Circle::Create | ( | const ON_2dPoint & | P, |
const ON_2dPoint & | Q, | ||
const ON_2dPoint & | R | ||
) |
Reimplemented in ON_Arc.
Definition at line 250 of file opennurbs_circle.cpp.
bool ON_Circle::Create | ( | const ON_3dPoint & | P, |
const ON_3dPoint & | Q, | ||
const ON_3dPoint & | R | ||
) |
Reimplemented in ON_Arc.
Definition at line 259 of file opennurbs_circle.cpp.
bool ON_Circle::Create | ( | const ON_2dPoint & | P, |
const ON_2dVector & | tangent_at_P, | ||
const ON_2dPoint & | Q | ||
) |
Reimplemented in ON_Arc.
Definition at line 314 of file opennurbs_circle.cpp.
bool ON_Circle::Create | ( | const ON_3dPoint & | P, |
const ON_3dVector & | tangent_at_P, | ||
const ON_3dPoint & | Q | ||
) |
Reimplemented in ON_Arc.
Definition at line 325 of file opennurbs_circle.cpp.
ON_3dVector ON_Circle::DerivativeAt | ( | int | d, |
double | t | ||
) | const |
Definition at line 399 of file opennurbs_circle.cpp.
double ON_Circle::Diameter | ( | ) | const |
Definition at line 61 of file opennurbs_circle.cpp.
double ON_Circle::EquationAt | ( | const ON_2dPoint & | plane_point | ) | const |
Definition at line 466 of file opennurbs_circle.cpp.
int ON_Circle::GetNurbForm | ( | ON_NurbsCurve & | nurbs_curve | ) | const |
Reimplemented in ON_Arc.
Definition at line 554 of file opennurbs_circle.cpp.
bool ON_Circle::GetNurbFormParameterFromRadian | ( | double | circle_radians_parameter, |
double * | nurbs_parameter | ||
) | const |
Reimplemented in ON_Arc.
Definition at line 603 of file opennurbs_circle.cpp.
bool ON_Circle::GetRadianFromNurbFormParameter | ( | double | nurbs_parameter, |
double * | circle_radians_parameter | ||
) | const |
Reimplemented in ON_Arc.
Definition at line 591 of file opennurbs_circle.cpp.
bool ON_Circle::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const |
Reimplemented in ON_Arc.
Definition at line 821 of file opennurbs_bezier.cpp.
ON_2dVector ON_Circle::GradientAt | ( | const ON_2dPoint & | plane_point | ) | const |
Definition at line 482 of file opennurbs_circle.cpp.
bool ON_Circle::IsInPlane | ( | const ON_Plane & | plane, |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
Definition at line 382 of file opennurbs_circle.cpp.
bool ON_Circle::IsValid | ( | ) | const |
Reimplemented in ON_Arc.
Definition at line 373 of file opennurbs_circle.cpp.
const ON_3dVector & ON_Circle::Normal | ( | ) | const |
Definition at line 71 of file opennurbs_circle.cpp.
const ON_Plane & ON_Circle::Plane | ( | ) | const |
Definition at line 76 of file opennurbs_circle.cpp.
ON_3dPoint ON_Circle::PointAt | ( | double | t | ) | const |
Definition at line 394 of file opennurbs_circle.cpp.
double ON_Circle::Radius | ( | ) | const |
Definition at line 56 of file opennurbs_circle.cpp.
bool ON_Circle::Reverse | ( | ) |
Reimplemented in ON_Arc.
Definition at line 543 of file opennurbs_circle.cpp.
bool ON_Circle::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis_of_rotation | ||
) |
Definition at line 498 of file opennurbs_circle.cpp.
bool ON_Circle::Rotate | ( | double | angle_in_radians, |
const ON_3dVector & | axis_of_rotation | ||
) |
Definition at line 506 of file opennurbs_circle.cpp.
bool ON_Circle::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis_of_rotation, | ||
const ON_3dPoint & | center_of_rotation | ||
) |
Definition at line 514 of file opennurbs_circle.cpp.
bool ON_Circle::Rotate | ( | double | angle_in_radians, |
const ON_3dVector & | axis_of_rotation, | ||
const ON_3dPoint & | center_of_rotation | ||
) |
Definition at line 523 of file opennurbs_circle.cpp.
ON_3dVector ON_Circle::TangentAt | ( | double | t | ) | const |
Definition at line 427 of file opennurbs_circle.cpp.
bool ON_Circle::Transform | ( | const ON_Xform & | xform | ) |
Definition at line 93 of file opennurbs_circle.cpp.
bool ON_Circle::Translate | ( | const ON_3dVector & | delta | ) |
Definition at line 533 of file opennurbs_circle.cpp.
Definition at line 318 of file opennurbs_circle.h.
double ON_Circle::radius |
Definition at line 319 of file opennurbs_circle.h.