#include <opennurbs_planesurface.h>
Public Member Functions | |
bool | CreatePseudoInfinitePlane (ON_PlaneEquation plane_equation, const ON_BoundingBox &bbox, double padding=0.0625) |
bool | CreatePseudoInfinitePlane (const ON_Plane &plane, const ON_BoundingBox &bbox, double padding=0.0625) |
bool | CreatePseudoInfinitePlane (const ON_Plane &plane, int point_count, const ON_3dPoint *point_list, double padding=0.0625) |
ON__UINT32 | DataCRC (ON__UINT32 current_remainder) const |
int | Degree (int) const |
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_Interval | Extents (int dir) const |
ON_BOOL32 | GetBBox (double *, double *, ON_BOOL32=false) const |
bool | GetClosestPoint (const ON_3dPoint &P, double *s, double *t, double maximum_distance=0.0, const ON_Interval *sdomain=0, const ON_Interval *tdomain=0) const |
ON_BOOL32 | GetLocalClosestPoint (const ON_3dPoint &, double, double, double *, double *, const ON_Interval *=NULL, const ON_Interval *=NULL) 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 |
ON_BOOL32 | GetParameterTolerance (int, double, double *, double *) const |
ON_BOOL32 | GetSpanVector (int, double *) 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 |
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_Surface * | Offset (double offset_distance, double tolerance, double *max_deviation=NULL) const |
ON_PlaneSurface () | |
ON_PlaneSurface (const ON_PlaneSurface &) | |
ON_PlaneSurface (const ON_Plane &) | |
ON_PlaneSurface & | operator= (const ON_PlaneSurface &) |
ON_PlaneSurface & | operator= (const ON_Plane &) |
ON_BOOL32 | Read (ON_BinaryArchive &) |
ON_BOOL32 | Reverse (int) |
ON_BOOL32 | SetDomain (int dir, double t0, double t1) |
bool | SetExtents (int dir, ON_Interval extents, bool bSynchDomain=false) |
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 |
virtual | ~ON_PlaneSurface () |
Public Attributes | |
ON_Plane | m_plane |
Protected Attributes | |
ON_Interval | m_domain [2] |
ON_Interval | m_extents [2] |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_PlaneSurface) |
Definition at line 22 of file opennurbs_planesurface.h.
Definition at line 22 of file opennurbs_planesurface.cpp.
ON_PlaneSurface::ON_PlaneSurface | ( | const ON_PlaneSurface & | src | ) |
Definition at line 25 of file opennurbs_planesurface.cpp.
ON_PlaneSurface::ON_PlaneSurface | ( | const ON_Plane & | src | ) |
Definition at line 43 of file opennurbs_planesurface.cpp.
ON_PlaneSurface::~ON_PlaneSurface | ( | ) | [virtual] |
Definition at line 75 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::CreatePseudoInfinitePlane | ( | ON_PlaneEquation | plane_equation, |
const ON_BoundingBox & | bbox, | ||
double | padding = 0.0625 |
||
) |
Definition at line 717 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::CreatePseudoInfinitePlane | ( | const ON_Plane & | plane, |
const ON_BoundingBox & | bbox, | ||
double | padding = 0.0625 |
||
) |
Definition at line 727 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::CreatePseudoInfinitePlane | ( | const ON_Plane & | plane, |
int | point_count, | ||
const ON_3dPoint * | point_list, | ||
double | padding = 0.0625 |
||
) |
Definition at line 739 of file opennurbs_planesurface.cpp.
ON__UINT32 ON_PlaneSurface::DataCRC | ( | ON__UINT32 | current_remainder | ) | const [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_ClippingPlaneSurface.
Definition at line 56 of file opennurbs_planesurface.cpp.
int ON_PlaneSurface::Degree | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 227 of file opennurbs_planesurface.cpp.
int ON_PlaneSurface::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
Definition at line 146 of file opennurbs_planesurface.cpp.
ON_Interval ON_PlaneSurface::Domain | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 195 of file opennurbs_planesurface.cpp.
void ON_PlaneSurface::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_ClippingPlaneSurface.
Definition at line 88 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::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 333 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::Extend | ( | int | dir, |
const ON_Interval & | domain | ||
) | [virtual] |
Reimplemented from ON_Surface.
Definition at line 437 of file opennurbs_planesurface.cpp.
ON_Interval ON_PlaneSurface::Extents | ( | int | dir | ) | const |
Definition at line 709 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::GetBBox | ( | double * | boxmin, |
double * | boxmax, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 152 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::GetClosestPoint | ( | const ON_3dPoint & | P, |
double * | s, | ||
double * | t, | ||
double | maximum_distance = 0.0 , |
||
const ON_Interval * | sdomain = 0 , |
||
const ON_Interval * | tdomain = 0 |
||
) | const |
Definition at line 524 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::GetLocalClosestPoint | ( | const ON_3dPoint & | test_point, |
double | s0, | ||
double | t0, | ||
double * | s, | ||
double * | t, | ||
const ON_Interval * | sdomain = NULL , |
||
const ON_Interval * | tdomain = NULL |
||
) | const |
Definition at line 585 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::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 269 of file opennurbs_planesurface.cpp.
int ON_PlaneSurface::GetNurbForm | ( | ON_NurbsSurface & | nurbs, |
double | tolerance = 0.0 |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 618 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::GetParameterTolerance | ( | int | dir, |
double | t, | ||
double * | tminus, | ||
double * | tplus | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 233 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::GetSpanVector | ( | int | dir, |
double * | s | ||
) | const [virtual] |
Implements ON_Surface.
Definition at line 219 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::GetSurfaceSize | ( | double * | width, |
double * | height | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 206 of file opennurbs_planesurface.cpp.
int ON_PlaneSurface::HasNurbForm | ( | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 677 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::IsClosed | ( | int | dir | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 252 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::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 300 of file opennurbs_planesurface.cpp.
ON_Curve * ON_PlaneSurface::IsoCurve | ( | int | dir, |
double | c | ||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 384 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::IsPeriodic | ( | int | dir | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 258 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::IsPlanar | ( | ON_Plane * | plane = NULL , |
double | tolerance = ON_ZERO_TOLERANCE |
||
) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 244 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::IsSingular | ( | int | side | ) | const [virtual] |
Reimplemented from ON_Surface.
Definition at line 264 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 79 of file opennurbs_planesurface.cpp.
ON_Surface * ON_PlaneSurface::Offset | ( | double | offset_distance, |
double | tolerance, | ||
double * | max_deviation = NULL |
||
) | const |
Definition at line 597 of file opennurbs_planesurface.cpp.
ON_PlaneSurface::ON_OBJECT_DECLARE | ( | ON_PlaneSurface | ) | [private] |
ON_PlaneSurface & ON_PlaneSurface::operator= | ( | const ON_PlaneSurface & | src | ) |
Reimplemented in ON_ClippingPlaneSurface.
Definition at line 30 of file opennurbs_planesurface.cpp.
ON_PlaneSurface & ON_PlaneSurface::operator= | ( | const ON_Plane & | src | ) |
Reimplemented in ON_ClippingPlaneSurface.
Definition at line 65 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::Read | ( | ON_BinaryArchive & | file | ) | [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_ClippingPlaneSurface.
Definition at line 117 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::Reverse | ( | int | dir | ) | [virtual] |
Implements ON_Surface.
Definition at line 285 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::SetDomain | ( | int | dir, |
double | t0, | ||
double | t1 | ||
) | [virtual] |
Reimplemented from ON_Surface.
Definition at line 797 of file opennurbs_planesurface.cpp.
bool ON_PlaneSurface::SetExtents | ( | int | dir, |
ON_Interval | extents, | ||
bool | bSynchDomain = false |
||
) |
Definition at line 695 of file opennurbs_planesurface.cpp.
unsigned int ON_PlaneSurface::SizeOf | ( | ) | const [virtual] |
Reimplemented from ON_Surface.
Reimplemented in ON_ClippingPlaneSurface.
Definition at line 49 of file opennurbs_planesurface.cpp.
int ON_PlaneSurface::SpanCount | ( | int | dir | ) | const [virtual] |
Implements ON_Surface.
Definition at line 201 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::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 465 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 170 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::Transpose | ( | ) | [virtual] |
Implements ON_Surface.
Definition at line 316 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::Trim | ( | int | dir, |
const ON_Interval & | domain | ||
) | [virtual] |
Reimplemented from ON_Surface.
Definition at line 408 of file opennurbs_planesurface.cpp.
ON_BOOL32 ON_PlaneSurface::Write | ( | ON_BinaryArchive & | file | ) | const [virtual] |
Reimplemented from ON_Object.
Reimplemented in ON_ClippingPlaneSurface.
Definition at line 94 of file opennurbs_planesurface.cpp.
ON_Interval ON_PlaneSurface::m_domain[2] [protected] |
Definition at line 611 of file opennurbs_planesurface.h.
ON_Interval ON_PlaneSurface::m_extents[2] [protected] |
Definition at line 614 of file opennurbs_planesurface.h.
Definition at line 45 of file opennurbs_planesurface.h.