#include <opennurbs_surfaceproxy.h>
Public Member Functions | |
ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
int | Degree (int) const |
void | DestroyRuntimeCache (bool bDelete=true) |
int | Dimension () const |
ON_Interval | Domain (int) const |
void | Dump (ON_TextLog &) const |
virtual ON_Surface * | DuplicateSurface () const |
ON_BOOL32 | Evaluate (double, double, int, int, double *, int=0, int *=0) const |
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 |
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 |
ISO | IsIsoparametric (const ON_Curve &curve, const ON_Interval *curve_domain=NULL) const |
ISO | IsIsoparametric (const ON_BoundingBox &bbox) 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 | IsValid (ON_TextLog *text_log=NULL) const |
ON_SurfaceProxy () | |
ON_SurfaceProxy (const ON_Surface *) | |
ON_SurfaceProxy (const ON_SurfaceProxy &) | |
ON_SurfaceProxy & | operator= (const ON_SurfaceProxy &) |
const ON_Surface * | ProxySurface () const |
bool | ProxySurfaceIsTransposed () const |
ON_BOOL32 | Read (ON_BinaryArchive &) |
ON_BOOL32 | Reverse (int) |
void | SetProxySurface (const ON_Surface *proxy_surface) |
unsigned int | SizeOf () const |
int | SpanCount (int) const |
ON_BOOL32 | Transform (const ON_Xform &) |
ON_BOOL32 | Transpose () |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
virtual | ~ON_SurfaceProxy () |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_SurfaceProxy) | |
Private Attributes | |
bool | m_bTransposed |
const ON_Surface * | m_surface |
Definition at line 28 of file opennurbs_surfaceproxy.h.
Definition at line 22 of file opennurbs_surfaceproxy.cpp.
ON_SurfaceProxy::ON_SurfaceProxy | ( | const ON_Surface * | s | ) |
Definition at line 27 of file opennurbs_surfaceproxy.cpp.
ON_SurfaceProxy::ON_SurfaceProxy | ( | const ON_SurfaceProxy & | src | ) |
Definition at line 32 of file opennurbs_surfaceproxy.cpp.
ON_SurfaceProxy::~ON_SurfaceProxy | ( | ) | [virtual] |
Definition at line 69 of file opennurbs_surfaceproxy.cpp.
ON__UINT32 ON_SurfaceProxy::DataCRC | ( | ON__UINT32 | current_remainder | ) | const [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_BrepFace.
Definition at line 49 of file opennurbs_surfaceproxy.cpp.
int ON_SurfaceProxy::Degree | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 221 of file opennurbs_surfaceproxy.cpp.
void ON_SurfaceProxy::DestroyRuntimeCache | ( | bool | bDelete = true | ) | [virtual] |
Reimplemented from ON_Surface.
Reimplemented in ON_BrepFace.
Definition at line 1729 of file opennurbs_object.cpp.
int ON_SurfaceProxy::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
Definition at line 142 of file opennurbs_surfaceproxy.cpp.
ON_Interval ON_SurfaceProxy::Domain | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 164 of file opennurbs_surfaceproxy.cpp.
void ON_SurfaceProxy::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_BrepFace.
Definition at line 120 of file opennurbs_surfaceproxy.cpp.
ON_Surface * ON_SurfaceProxy::DuplicateSurface | ( | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 101 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::Evaluate | ( | double | s, |
double | t, | ||
int | der_count, | ||
int | v_stride, | ||
double * | v, | ||
int | side = 0 , |
||
int * | hint = 0 |
||
) | const [virtual] |
Implements ON_Surface.
Reimplemented in ON_OffsetSurface.
Definition at line 447 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Reimplemented in ON_BrepFace, and ON_OffsetSurface.
Definition at line 148 of file opennurbs_surfaceproxy.cpp.
bool ON_SurfaceProxy::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 368 of file opennurbs_surfaceproxy.cpp.
int ON_SurfaceProxy::GetNurbForm | ( | ON_NurbsSurface & | nurbs, |
double | tolerance = 0.0 |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 488 of file opennurbs_surfaceproxy.cpp.
bool ON_SurfaceProxy::GetNurbFormParameterFromSurfaceParameter | ( | double | surface_s, |
double | surface_t, | ||
double * | nurbs_s, | ||
double * | nurbs_t | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 541 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::GetParameterTolerance | ( | int | dir, |
double | t, | ||
double * | tminus, | ||
double * | tplus | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 231 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::GetSpanVector | ( | int | dir, |
double * | s | ||
) | const [virtual] |
Implements ON_Surface.
Definition at line 211 of file opennurbs_surfaceproxy.cpp.
bool ON_SurfaceProxy::GetSurfaceParameterFromNurbFormParameter | ( | double | nurbs_s, |
double | nurbs_t, | ||
double * | surface_s, | ||
double * | surface_t | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 528 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::GetSurfaceSize | ( | double * | width, |
double * | height | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 177 of file opennurbs_surfaceproxy.cpp.
int ON_SurfaceProxy::HasNurbForm | ( | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 509 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::IsClosed | ( | int | dir | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 244 of file opennurbs_surfaceproxy.cpp.
bool ON_SurfaceProxy::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 423 of file opennurbs_surfaceproxy.cpp.
ON_Surface::ISO ON_SurfaceProxy::IsIsoparametric | ( | const ON_Curve & | curve, |
const ON_Interval * | curve_domain = NULL |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 254 of file opennurbs_surfaceproxy.cpp.
ON_Surface::ISO ON_SurfaceProxy::IsIsoparametric | ( | const ON_BoundingBox & | bbox | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 303 of file opennurbs_surfaceproxy.cpp.
ON_Curve * ON_SurfaceProxy::IsoCurve | ( | int | dir, |
double | c | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 470 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::IsPeriodic | ( | int | dir | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 358 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::IsPlanar | ( | ON_Plane * | plane = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 345 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::IsSingular | ( | int | side | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 384 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Reimplemented in ON_BrepFace.
Definition at line 114 of file opennurbs_surfaceproxy.cpp.
ON_SurfaceProxy::ON_OBJECT_DECLARE | ( | ON_SurfaceProxy | ) | [private] |
ON_SurfaceProxy & ON_SurfaceProxy::operator= | ( | const ON_SurfaceProxy & | src | ) |
Definition at line 58 of file opennurbs_surfaceproxy.cpp.
const ON_Surface * ON_SurfaceProxy::ProxySurface | ( | ) | const |
Definition at line 89 of file opennurbs_surfaceproxy.cpp.
bool ON_SurfaceProxy::ProxySurfaceIsTransposed | ( | ) | const |
Definition at line 95 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::Read | ( | ON_BinaryArchive & | ) | [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_BrepFace.
Definition at line 135 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::Reverse | ( | int | ) | [virtual] |
Implements ON_Surface.
Reimplemented in ON_BrepFace.
Definition at line 408 of file opennurbs_surfaceproxy.cpp.
void ON_SurfaceProxy::SetProxySurface | ( | const ON_Surface * | proxy_surface | ) |
Definition at line 75 of file opennurbs_surfaceproxy.cpp.
unsigned int ON_SurfaceProxy::SizeOf | ( | ) | const [virtual] |
Reimplemented from ON_Surface.
Reimplemented in ON_BrepFace.
Definition at line 39 of file opennurbs_surfaceproxy.cpp.
int ON_SurfaceProxy::SpanCount | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 201 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::Transform | ( | const ON_Xform & | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 157 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::Transpose | ( | ) | [virtual] |
Implements ON_Surface.
Reimplemented in ON_BrepFace.
Definition at line 415 of file opennurbs_surfaceproxy.cpp.
ON_BOOL32 ON_SurfaceProxy::Write | ( | ON_BinaryArchive & | ) | const [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_BrepFace.
Definition at line 128 of file opennurbs_surfaceproxy.cpp.
bool ON_SurfaceProxy::m_bTransposed [private] |
Definition at line 48 of file opennurbs_surfaceproxy.h.
const ON_Surface* ON_SurfaceProxy::m_surface [private] |
Definition at line 47 of file opennurbs_surfaceproxy.h.