#include <opennurbs_sphere.h>
Public Member Functions | |
ON_BoundingBox | BoundingBox () const |
ON_3dPoint | Center () const |
bool | ClosestPointTo (ON_3dPoint test_point, double *longitude_radians, double *latitude_radians) const |
ON_3dPoint | ClosestPointTo (ON_3dPoint test_point) const |
bool | Create (const ON_3dPoint ¢er, double radius) |
double | Diameter () const |
int | GetNurbForm (ON_NurbsSurface &) const |
bool | IsValid () const |
ON_Circle | LatitudeDegrees (double latitude_degrees) const |
ON_Circle | LatitudeRadians (double latitude_radians) const |
ON_Circle | LongitudeDegrees (double longitude_degrees) const |
ON_Circle | LongitudeRadians (double longitude_radians) const |
ON_3dVector | NormalAt (double longitude_radians, double latitude_radians) const |
ON_3dPoint | NorthPole () const |
ON_Sphere () | |
ON_Sphere (const ON_3dPoint ¢er, double radius) | |
ON_3dPoint | PointAt (double longitude_radians, double latitude_radians) const |
double | Radius () const |
ON_RevSurface * | RevSurfaceForm (bool bArcLengthParameterization, ON_RevSurface *srf=NULL) const |
ON_DEPRECATED ON_RevSurface * | RevSurfaceForm (ON_RevSurface *srf=NULL) const |
bool | Rotate (double sin_angle, double cos_angle, const ON_3dVector &axis_of_rotation) |
bool | Rotate (double angle_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_radians, const ON_3dVector &axis_of_rotation, const ON_3dPoint ¢er_of_rotation) |
ON_3dPoint | SouthPole () const |
bool | Transform (const ON_Xform &) |
bool | Translate (const ON_3dVector &) |
~ON_Sphere () | |
Public Attributes | |
ON_Plane | plane |
double | radius |
Definition at line 22 of file opennurbs_sphere.h.
Definition at line 19 of file opennurbs_sphere.cpp.
ON_Sphere::ON_Sphere | ( | const ON_3dPoint & | center, |
double | radius | ||
) |
Definition at line 22 of file opennurbs_sphere.cpp.
Definition at line 27 of file opennurbs_sphere.cpp.
ON_BoundingBox ON_Sphere::BoundingBox | ( | ) | const |
Definition at line 141 of file opennurbs_sphere.cpp.
ON_3dPoint ON_Sphere::Center | ( | ) | const |
Definition at line 74 of file opennurbs_sphere.cpp.
bool ON_Sphere::ClosestPointTo | ( | ON_3dPoint | test_point, |
double * | longitude_radians, | ||
double * | latitude_radians | ||
) | const |
Definition at line 99 of file opennurbs_sphere.cpp.
ON_3dPoint ON_Sphere::ClosestPointTo | ( | ON_3dPoint | test_point | ) | const |
Definition at line 157 of file opennurbs_sphere.cpp.
bool ON_Sphere::Create | ( | const ON_3dPoint & | center, |
double | radius | ||
) |
Definition at line 35 of file opennurbs_sphere.cpp.
double ON_Sphere::Diameter | ( | ) | const |
Definition at line 94 of file opennurbs_sphere.cpp.
int ON_Sphere::GetNurbForm | ( | ON_NurbsSurface & | s | ) | const |
Definition at line 223 of file opennurbs_sphere.cpp.
bool ON_Sphere::IsValid | ( | ) | const |
Definition at line 30 of file opennurbs_sphere.cpp.
ON_Circle ON_Sphere::LatitudeDegrees | ( | double | latitude_degrees | ) | const |
Definition at line 59 of file opennurbs_sphere.cpp.
ON_Circle ON_Sphere::LatitudeRadians | ( | double | latitude_radians | ) | const |
Definition at line 54 of file opennurbs_sphere.cpp.
ON_Circle ON_Sphere::LongitudeDegrees | ( | double | longitude_degrees | ) | const |
Definition at line 69 of file opennurbs_sphere.cpp.
ON_Circle ON_Sphere::LongitudeRadians | ( | double | longitude_radians | ) | const |
Definition at line 64 of file opennurbs_sphere.cpp.
ON_3dVector ON_Sphere::NormalAt | ( | double | longitude_radians, |
double | latitude_radians | ||
) | const |
Definition at line 49 of file opennurbs_sphere.cpp.
ON_3dPoint ON_Sphere::NorthPole | ( | ) | const |
Definition at line 79 of file opennurbs_sphere.cpp.
ON_3dPoint ON_Sphere::PointAt | ( | double | longitude_radians, |
double | latitude_radians | ||
) | const |
Definition at line 44 of file opennurbs_sphere.cpp.
double ON_Sphere::Radius | ( | ) | const |
Definition at line 89 of file opennurbs_sphere.cpp.
ON_RevSurface * ON_Sphere::RevSurfaceForm | ( | bool | bArcLengthParameterization, |
ON_RevSurface * | srf = NULL |
||
) | const |
Definition at line 308 of file opennurbs_sphere.cpp.
ON_RevSurface * ON_Sphere::RevSurfaceForm | ( | ON_RevSurface * | srf = NULL | ) | const |
Definition at line 303 of file opennurbs_sphere.cpp.
bool ON_Sphere::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis_of_rotation | ||
) |
Definition at line 166 of file opennurbs_sphere.cpp.
bool ON_Sphere::Rotate | ( | double | angle_radians, |
const ON_3dVector & | axis_of_rotation | ||
) |
Definition at line 175 of file opennurbs_sphere.cpp.
bool ON_Sphere::Rotate | ( | double | sin_angle, |
double | cos_angle, | ||
const ON_3dVector & | axis_of_rotation, | ||
const ON_3dPoint & | center_of_rotation | ||
) |
Definition at line 184 of file opennurbs_sphere.cpp.
bool ON_Sphere::Rotate | ( | double | angle_radians, |
const ON_3dVector & | axis_of_rotation, | ||
const ON_3dPoint & | center_of_rotation | ||
) |
Definition at line 194 of file opennurbs_sphere.cpp.
ON_3dPoint ON_Sphere::SouthPole | ( | ) | const |
Definition at line 84 of file opennurbs_sphere.cpp.
bool ON_Sphere::Transform | ( | const ON_Xform & | xform | ) |
Definition at line 211 of file opennurbs_sphere.cpp.
bool ON_Sphere::Translate | ( | const ON_3dVector & | delta | ) |
Definition at line 203 of file opennurbs_sphere.cpp.
Definition at line 26 of file opennurbs_sphere.h.
double ON_Sphere::radius |
Definition at line 27 of file opennurbs_sphere.h.