#include <opennurbs_hatch.h>
Public Member Functions | |
void | AddLoop (ON_HatchLoop *loop) |
ON_3dPoint | BasePoint () const |
ON_2dPoint | BasePoint2d () const |
bool | Create (const ON_Plane &plane, const ON_SimpleArray< const ON_Curve * > loops, int pattern_index, double pattern_rotation, double pattern_scale) |
int | Dimension () const |
void | Dump (ON_TextLog &) const |
virtual ON_Hatch * | DuplicateHatch () const |
ON_BOOL32 | GetBBox (double *, double *, ON_BOOL32=false) const |
bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
bool | InsertLoop (int index, ON_HatchLoop *loop) |
ON_BOOL32 | IsValid (ON_TextLog *text_log=NULL) const |
const ON_HatchLoop * | Loop (int index) const |
int | LoopCount () const |
ON_Curve * | LoopCurve3d (int index) const |
ON::object_type | ObjectType () const |
ON_Hatch () | |
ON_Hatch (const ON_Hatch &) | |
ON_Hatch & | operator= (const ON_Hatch &) |
int | PatternIndex () const |
double | PatternRotation () const |
double | PatternScale () const |
const ON_Plane & | Plane () const |
ON_BOOL32 | Read (ON_BinaryArchive &) |
bool | RemoveLoop (int index) |
bool | ReplaceLoops (ON_SimpleArray< const ON_Curve * > loops) |
void | SetBasePoint (ON_2dPoint basepoint) |
void | SetBasePoint (ON_3dPoint point) |
void | SetPatternIndex (int index) |
void | SetPatternRotation (double rotation) |
void | SetPatternScale (double scale) |
void | SetPlane (const ON_Plane &plane) |
ON_BOOL32 | Transform (const ON_Xform &) |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
~ON_Hatch () | |
Protected Member Functions | |
class ON_HatchExtra * | HatchExtension () |
Protected Attributes | |
ON_SimpleArray< ON_HatchLoop * > | m_loops |
int | m_pattern_index |
double | m_pattern_rotation |
double | m_pattern_scale |
ON_Plane | m_plane |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_Hatch) |
Definition at line 524 of file opennurbs_hatch.h.
Definition at line 889 of file opennurbs_hatch.cpp.
ON_Hatch::ON_Hatch | ( | const ON_Hatch & | src | ) |
Definition at line 896 of file opennurbs_hatch.cpp.
Definition at line 945 of file opennurbs_hatch.cpp.
void ON_Hatch::AddLoop | ( | ON_HatchLoop * | loop | ) |
Definition at line 1326 of file opennurbs_hatch.cpp.
ON_3dPoint ON_Hatch::BasePoint | ( | ) | const |
Definition at line 1447 of file opennurbs_hatch.cpp.
ON_2dPoint ON_Hatch::BasePoint2d | ( | ) | const |
Definition at line 1459 of file opennurbs_hatch.cpp.
bool ON_Hatch::Create | ( | const ON_Plane & | plane, |
const ON_SimpleArray< const ON_Curve * > | loops, | ||
int | pattern_index, | ||
double | pattern_rotation, | ||
double | pattern_scale | ||
) |
Definition at line 1266 of file opennurbs_hatch.cpp.
int ON_Hatch::Dimension | ( | ) | const [virtual] |
Implements ON_Geometry.
Definition at line 1078 of file opennurbs_hatch.cpp.
void ON_Hatch::Dump | ( | ON_TextLog & | dump | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 998 of file opennurbs_hatch.cpp.
ON_Hatch * ON_Hatch::DuplicateHatch | ( | ) | const [virtual] |
Definition at line 960 of file opennurbs_hatch.cpp.
ON_BOOL32 ON_Hatch::GetBBox | ( | double * | bmin, |
double * | bmax, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 1121 of file opennurbs_hatch.cpp.
bool ON_Hatch::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const [virtual] |
Reimplemented from ON_Geometry.
Definition at line 1139 of file opennurbs_hatch.cpp.
class ON_HatchExtra * ON_Hatch::HatchExtension | ( | ) | [protected] |
Definition at line 1471 of file opennurbs_hatch.cpp.
bool ON_Hatch::InsertLoop | ( | int | index, |
ON_HatchLoop * | loop | ||
) |
Definition at line 1331 of file opennurbs_hatch.cpp.
ON_BOOL32 ON_Hatch::IsValid | ( | ON_TextLog * | text_log = NULL | ) | const [virtual] |
Implements ON_Object.
Definition at line 965 of file opennurbs_hatch.cpp.
const ON_HatchLoop * ON_Hatch::Loop | ( | int | index | ) | const |
Definition at line 1418 of file opennurbs_hatch.cpp.
int ON_Hatch::LoopCount | ( | ) | const |
Definition at line 1321 of file opennurbs_hatch.cpp.
ON_Curve * ON_Hatch::LoopCurve3d | ( | int | index | ) | const |
Definition at line 1085 of file opennurbs_hatch.cpp.
ON::object_type ON_Hatch::ObjectType | ( | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 1073 of file opennurbs_hatch.cpp.
ON_Hatch::ON_OBJECT_DECLARE | ( | ON_Hatch | ) | [private] |
Definition at line 911 of file opennurbs_hatch.cpp.
int ON_Hatch::PatternIndex | ( | ) | const |
Definition at line 1110 of file opennurbs_hatch.cpp.
double ON_Hatch::PatternRotation | ( | ) | const |
Definition at line 1300 of file opennurbs_hatch.cpp.
double ON_Hatch::PatternScale | ( | ) | const |
Definition at line 1310 of file opennurbs_hatch.cpp.
const ON_Plane & ON_Hatch::Plane | ( | ) | const |
Definition at line 1290 of file opennurbs_hatch.cpp.
ON_BOOL32 ON_Hatch::Read | ( | ON_BinaryArchive & | ar | ) | [virtual] |
Reimplemented from ON_Object.
Definition at line 1034 of file opennurbs_hatch.cpp.
bool ON_Hatch::RemoveLoop | ( | int | index | ) |
Definition at line 1342 of file opennurbs_hatch.cpp.
bool ON_Hatch::ReplaceLoops | ( | ON_SimpleArray< const ON_Curve * > | loops | ) |
Definition at line 1355 of file opennurbs_hatch.cpp.
void ON_Hatch::SetBasePoint | ( | ON_2dPoint | basepoint | ) |
Definition at line 1427 of file opennurbs_hatch.cpp.
void ON_Hatch::SetBasePoint | ( | ON_3dPoint | point | ) |
Definition at line 1436 of file opennurbs_hatch.cpp.
void ON_Hatch::SetPatternIndex | ( | int | index | ) |
Definition at line 1115 of file opennurbs_hatch.cpp.
void ON_Hatch::SetPatternRotation | ( | double | rotation | ) |
Definition at line 1305 of file opennurbs_hatch.cpp.
void ON_Hatch::SetPatternScale | ( | double | scale | ) |
Definition at line 1315 of file opennurbs_hatch.cpp.
void ON_Hatch::SetPlane | ( | const ON_Plane & | plane | ) |
Definition at line 1295 of file opennurbs_hatch.cpp.
ON_BOOL32 ON_Hatch::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Geometry.
Definition at line 1233 of file opennurbs_hatch.cpp.
ON_BOOL32 ON_Hatch::Write | ( | ON_BinaryArchive & | ar | ) | const [virtual] |
Reimplemented from ON_Object.
Definition at line 1015 of file opennurbs_hatch.cpp.
ON_SimpleArray<ON_HatchLoop*> ON_Hatch::m_loops [protected] |
Definition at line 825 of file opennurbs_hatch.h.
int ON_Hatch::m_pattern_index [protected] |
Definition at line 826 of file opennurbs_hatch.h.
double ON_Hatch::m_pattern_rotation [protected] |
Definition at line 824 of file opennurbs_hatch.h.
double ON_Hatch::m_pattern_scale [protected] |
Definition at line 823 of file opennurbs_hatch.h.
ON_Plane ON_Hatch::m_plane [protected] |
Definition at line 822 of file opennurbs_hatch.h.