#include <opennurbs_torus.h>
Public Member Functions | |
ON_3dVector | Axis () const |
ON_3dPoint | Center () const |
ON_BOOL32 | ClosestPointTo (ON_3dPoint test_point, double *major_angle_radians, double *minor_angle_radians) const |
ON_3dPoint | ClosestPointTo (ON_3dPoint test_point) const |
ON_BOOL32 | Create (const ON_Plane &major__plane, double major__radius, double minor__radius) |
ON_BOOL32 | Create (const ON_Circle &major__circle, double minor__radius) |
int | GetNurbForm (ON_NurbsSurface &) const |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
ON_Circle | MajorCircleDegrees (double minor_angle_degrees) const |
ON_Circle | MajorCircleRadians (double minor_angle_radians) const |
double | MajorRadius () const |
ON_Circle | MinorCircleDegrees (double major_angle_degrees) const |
ON_Circle | MinorCircleRadians (double major_angle_radians) const |
double | MinorRadius () const |
ON_3dVector | NormalAt (double major_angle_radians, double minor_angle_radians) const |
ON_Torus () | |
ON_Torus (const ON_Plane &major__plane, double major__radius, double minor__radius) | |
ON_Torus (const ON_Circle &major__circle, double minor__radius) | |
ON_3dPoint | PointAt (double major_angle_radians, double minor_angle_radians) const |
ON_RevSurface * | RevSurfaceForm (ON_RevSurface *srf=NULL) const |
ON_BOOL32 | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation) |
ON_BOOL32 | Rotate (double angle_radians, const ON_3dVector &axis_of_rotation) |
ON_BOOL32 | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation, const ON_3dPoint ¢er_of_rotation) |
ON_BOOL32 | Rotate (double angle_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint ¢er_of_rotation) |
ON_BOOL32 | Transform (const ON_Xform &) |
ON_BOOL32 | Translate (const ON_3dVector &) |
~ON_Torus () | |
Public Attributes | |
double | major_radius |
double | minor_radius |
ON_Plane | plane |
Definition at line 29 of file opennurbs_torus.h.
Definition at line 19 of file opennurbs_torus.cpp.
ON_Torus::ON_Torus | ( | const ON_Plane & | major__plane, |
double | major__radius, | ||
double | minor__radius | ||
) |
Definition at line 22 of file opennurbs_torus.cpp.
ON_Torus::ON_Torus | ( | const ON_Circle & | major__circle, |
double | minor__radius | ||
) |
Definition at line 27 of file opennurbs_torus.cpp.
Definition at line 32 of file opennurbs_torus.cpp.
ON_3dVector ON_Torus::Axis | ( | ) | const |
Definition at line 132 of file opennurbs_torus.cpp.
ON_3dPoint ON_Torus::Center | ( | ) | const |
Definition at line 127 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::ClosestPointTo | ( | ON_3dPoint | test_point, |
double * | major_angle_radians, | ||
double * | minor_angle_radians | ||
) | const |
Definition at line 147 of file opennurbs_torus.cpp.
ON_3dPoint ON_Torus::ClosestPointTo | ( | ON_3dPoint | test_point | ) | const |
Definition at line 178 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Create | ( | const ON_Plane & | major__plane, |
double | major__radius, | ||
double | minor__radius | ||
) |
Definition at line 58 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Create | ( | const ON_Circle & | major__circle, |
double | minor__radius | ||
) |
Definition at line 66 of file opennurbs_torus.cpp.
int ON_Torus::GetNurbForm | ( | ON_NurbsSurface & | s | ) | const |
Definition at line 249 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const |
Definition at line 35 of file opennurbs_torus.cpp.
ON_Circle ON_Torus::MajorCircleDegrees | ( | double | minor_angle_degrees | ) | const |
Definition at line 104 of file opennurbs_torus.cpp.
ON_Circle ON_Torus::MajorCircleRadians | ( | double | minor_angle_radians | ) | const |
Definition at line 94 of file opennurbs_torus.cpp.
double ON_Torus::MajorRadius | ( | ) | const |
Definition at line 137 of file opennurbs_torus.cpp.
ON_Circle ON_Torus::MinorCircleDegrees | ( | double | major_angle_degrees | ) | const |
Definition at line 122 of file opennurbs_torus.cpp.
ON_Circle ON_Torus::MinorCircleRadians | ( | double | major_angle_radians | ) | const |
Definition at line 109 of file opennurbs_torus.cpp.
double ON_Torus::MinorRadius | ( | ) | const |
Definition at line 142 of file opennurbs_torus.cpp.
ON_3dVector ON_Torus::NormalAt | ( | double | major_angle_radians, |
double | minor_angle_radians | ||
) | const |
Definition at line 87 of file opennurbs_torus.cpp.
ON_3dPoint ON_Torus::PointAt | ( | double | major_angle_radians, |
double | minor_angle_radians | ||
) | const |
Definition at line 80 of file opennurbs_torus.cpp.
ON_RevSurface * ON_Torus::RevSurfaceForm | ( | ON_RevSurface * | srf = NULL | ) | const |
Definition at line 262 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis_of_rotation | ||
) |
Definition at line 193 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Rotate | ( | double | angle_radians, |
const ON_3dVector & | axis_of_rotation | ||
) |
Definition at line 202 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis_of_rotation, | ||
const ON_3dPoint & | center_of_rotation | ||
) |
Definition at line 210 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Rotate | ( | double | angle_radians, |
const ON_3dVector & | axis_of_rotation, | ||
const ON_3dPoint & | center_of_rotation | ||
) |
Definition at line 220 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Transform | ( | const ON_Xform & | xform | ) |
Definition at line 234 of file opennurbs_torus.cpp.
ON_BOOL32 ON_Torus::Translate | ( | const ON_3dVector & | delta | ) |
Definition at line 229 of file opennurbs_torus.cpp.
double ON_Torus::major_radius |
Definition at line 36 of file opennurbs_torus.h.
double ON_Torus::minor_radius |
Definition at line 37 of file opennurbs_torus.h.
Definition at line 35 of file opennurbs_torus.h.