#include <opennurbs_revsurface.h>
Public Member Functions | |
void | ClearBoundingBox () |
ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
int | Degree (int) const |
void | Destroy () |
void | DestroyRuntimeCache (bool bDelete=true) |
int | Dimension () const |
ON_Interval | Domain (int) const |
void | Dump (ON_TextLog &) const |
ON_BOOL32 | Evaluate (double, double, int, int, double *, int=0, int *=0) const |
bool | Extend (int dir, const ON_Interval &domain) |
ON_BOOL32 | GetBBox (double *, double *, ON_BOOL32=false) const |
bool | GetNextDiscontinuity (int dir, ON::continuity c, double t0, double t1, double *t, int *hint=NULL, int *dtype=NULL, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const |
int | GetNurbForm (ON_NurbsSurface &, double=0.0) const |
bool | GetNurbFormParameterFromSurfaceParameter (double surface_s, double surface_t, double *nurbs_s, double *nurbs_t) const |
ON_BOOL32 | GetParameterTolerance (int, double, double *, double *) const |
ON_BOOL32 | GetSpanVector (int, double *) const |
bool | GetSurfaceParameterFromNurbFormParameter (double nurbs_s, double nurbs_t, double *surface_s, double *surface_t) const |
ON_BOOL32 | GetSurfaceSize (double *width, double *height) const |
int | HasNurbForm () const |
ON_BOOL32 | IsClosed (int) const |
ON_BOOL32 | IsConical (ON_Cone *cone=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
bool | IsContinuous (ON::continuity c, double s, double t, int *hint=NULL, double point_tolerance=ON_ZERO_TOLERANCE, double d1_tolerance=ON_ZERO_TOLERANCE, double d2_tolerance=ON_ZERO_TOLERANCE, double cos_angle_tolerance=ON_DEFAULT_ANGLE_TOLERANCE_COSINE, double curvature_tolerance=ON_SQRT_EPSILON) const |
ON_BOOL32 | IsCylindrical (ON_Cylinder *cylinder=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
ON_Curve * | IsoCurve (int dir, double c) const |
ON_BOOL32 | IsPeriodic (int) const |
ON_BOOL32 | IsPlanar (ON_Plane *plane=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
ON_BOOL32 | IsSingular (int) const |
ON_BOOL32 | IsSpherical (ON_Sphere *sphere=NULL, double tolerance=ON_ZERO_TOLERANCE) const |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
ON_RevSurface () | |
ON_RevSurface (const ON_RevSurface &) | |
ON_RevSurface & | operator= (const ON_RevSurface &) |
ON_BOOL32 | Read (ON_BinaryArchive &) |
ON_BOOL32 | Reverse (int) |
ON_BOOL32 | SetAngleDegrees (double start_angle_degrees, double end_angle_degrees) |
ON_BOOL32 | SetAngleRadians (double start_angle_radians, double end_angle_radians) |
ON_BOOL32 | SetDomain (int dir, double t0, double t1) |
unsigned int | SizeOf () const |
int | SpanCount (int) const |
ON_BOOL32 | Split (int dir, double c, ON_Surface *&west_or_south_side, ON_Surface *&east_or_north_side) const |
ON_BOOL32 | Transform (const ON_Xform &) |
ON_BOOL32 | Transpose () |
ON_BOOL32 | Trim (int dir, const ON_Interval &domain) |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
~ON_RevSurface () | |
Static Public Member Functions | |
static ON_RevSurface * | New () |
static ON_RevSurface * | New (const ON_RevSurface &rev_surface) |
Public Attributes | |
ON_Interval | m_angle |
ON_Line | m_axis |
ON_BoundingBox | m_bbox |
ON_BOOL32 | m_bTransposed |
ON_Curve * | m_curve |
ON_Interval | m_t |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_RevSurface) |
Definition at line 21 of file opennurbs_revsurface.h.
Definition at line 43 of file opennurbs_revsurface.cpp.
Definition at line 52 of file opennurbs_revsurface.cpp.
ON_RevSurface::ON_RevSurface | ( | const ON_RevSurface & | src | ) |
Definition at line 72 of file opennurbs_revsurface.cpp.
void ON_RevSurface::ClearBoundingBox | ( | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 1442 of file opennurbs_revsurface.cpp.
ON__UINT32 ON_RevSurface::DataCRC | ( | ON__UINT32 | current_remainder | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 92 of file opennurbs_revsurface.cpp.
int ON_RevSurface::Degree | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 1430 of file opennurbs_revsurface.cpp.
void ON_RevSurface::Destroy | ( | ) |
Definition at line 57 of file opennurbs_revsurface.cpp.
void ON_RevSurface::DestroyRuntimeCache | ( | bool | bDelete = true | ) | [virtual] |
Reimplemented from ON_Surface.
Definition at line 22 of file opennurbs_revsurface.cpp.
int ON_RevSurface::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
Definition at line 309 of file opennurbs_revsurface.cpp.
ON_Interval ON_RevSurface::Domain | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 1309 of file opennurbs_revsurface.cpp.
void ON_RevSurface::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 212 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Evaluate | ( | double | s, |
double | t, | ||
int | der_count, | ||
int | v_stride, | ||
double * | v, | ||
int | side = 0 , |
||
int * | hint = 0 |
||
) | const [virtual] |
Implements ON_Surface.
Definition at line 351 of file opennurbs_revsurface.cpp.
bool ON_RevSurface::Extend | ( | int | dir, |
const ON_Interval & | domain | ||
) | [virtual] |
Reimplemented from ON_Surface.
Definition at line 872 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 1447 of file opennurbs_revsurface.cpp.
bool ON_RevSurface::GetNextDiscontinuity | ( | int | dir, |
ON::continuity | c, | ||
double | t0, | ||
double | t1, | ||
double * | t, | ||
int * | hint = NULL , |
||
int * | dtype = NULL , |
||
double | cos_angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE_COSINE , |
||
double | curvature_tolerance = ON_SQRT_EPSILON |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1106 of file opennurbs_revsurface.cpp.
int ON_RevSurface::GetNurbForm | ( | ON_NurbsSurface & | srf, |
double | tolerance = 0.0 |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 589 of file opennurbs_revsurface.cpp.
bool ON_RevSurface::GetNurbFormParameterFromSurfaceParameter | ( | double | surface_s, |
double | surface_t, | ||
double * | nurbs_s, | ||
double * | nurbs_t | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 735 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::GetParameterTolerance | ( | int | dir, |
double | t, | ||
double * | tminus, | ||
double * | tplus | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1261 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::GetSpanVector | ( | int | dir, |
double * | s | ||
) | const [virtual] |
Implements ON_Surface.
Definition at line 1406 of file opennurbs_revsurface.cpp.
bool ON_RevSurface::GetSurfaceParameterFromNurbFormParameter | ( | double | nurbs_s, |
double | nurbs_t, | ||
double * | surface_s, | ||
double * | surface_t | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 700 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::GetSurfaceSize | ( | double * | width, |
double * | height | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1325 of file opennurbs_revsurface.cpp.
int ON_RevSurface::HasNurbForm | ( | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 692 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsClosed | ( | int | dir | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1244 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsConical | ( | ON_Cone * | cone = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
Definition at line 2308 of file opennurbs_revsurface.cpp.
bool ON_RevSurface::IsContinuous | ( | ON::continuity | c, |
double | s, | ||
double | t, | ||
int * | hint = NULL , |
||
double | point_tolerance = ON_ZERO_TOLERANCE , |
||
double | d1_tolerance = ON_ZERO_TOLERANCE , |
||
double | d2_tolerance = ON_ZERO_TOLERANCE , |
||
double | cos_angle_tolerance = ON_DEFAULT_ANGLE_TOLERANCE_COSINE , |
||
double | curvature_tolerance = ON_SQRT_EPSILON |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1062 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsCylindrical | ( | ON_Cylinder * | cylinder = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
Definition at line 2283 of file opennurbs_revsurface.cpp.
ON_Curve * ON_RevSurface::IsoCurve | ( | int | dir, |
double | c | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 768 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsPeriodic | ( | int | dir | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1212 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsPlanar | ( | ON_Plane * | plane = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1229 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsSingular | ( | int | side | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 1145 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsSpherical | ( | ON_Sphere * | sphere = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const |
Definition at line 1545 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 155 of file opennurbs_revsurface.cpp.
ON_RevSurface * ON_RevSurface::New | ( | ) | [static] |
Definition at line 33 of file opennurbs_revsurface.cpp.
ON_RevSurface * ON_RevSurface::New | ( | const ON_RevSurface & | rev_surface | ) | [static] |
Definition at line 38 of file opennurbs_revsurface.cpp.
ON_RevSurface::ON_OBJECT_DECLARE | ( | ON_RevSurface | ) | [private] |
ON_RevSurface & ON_RevSurface::operator= | ( | const ON_RevSurface & | src | ) |
Definition at line 104 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Read | ( | ON_BinaryArchive & | file | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 259 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Reverse | ( | int | dir | ) | [virtual] |
Implements ON_Surface.
Definition at line 1085 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::SetAngleDegrees | ( | double | start_angle_degrees, |
double | end_angle_degrees | ||
) |
Definition at line 143 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::SetAngleRadians | ( | double | start_angle_radians, |
double | end_angle_radians | ||
) |
Definition at line 122 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::SetDomain | ( | int | dir, |
double | t0, | ||
double | t1 | ||
) | [virtual] |
Reimplemented from ON_Surface.
Definition at line 1283 of file opennurbs_revsurface.cpp.
unsigned int ON_RevSurface::SizeOf | ( | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 84 of file opennurbs_revsurface.cpp.
int ON_RevSurface::SpanCount | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 1384 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Split | ( | int | dir, |
double | c, | ||
ON_Surface *& | west_or_south_side, | ||
ON_Surface *& | east_or_north_side | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 931 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 314 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Transpose | ( | ) | [virtual] |
Implements ON_Surface.
Definition at line 1056 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Trim | ( | int | dir, |
const ON_Interval & | domain | ||
) | [virtual] |
Reimplemented from ON_Surface.
Definition at line 828 of file opennurbs_revsurface.cpp.
ON_BOOL32 ON_RevSurface::Write | ( | ON_BinaryArchive & | file | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 235 of file opennurbs_revsurface.cpp.
Definition at line 40 of file opennurbs_revsurface.h.
Definition at line 35 of file opennurbs_revsurface.h.
Definition at line 59 of file opennurbs_revsurface.h.
Definition at line 56 of file opennurbs_revsurface.h.
Definition at line 32 of file opennurbs_revsurface.h.
Definition at line 50 of file opennurbs_revsurface.h.