#include <opennurbs_annotation2.h>
Public Types | |
enum | POINT_INDEX { arrow_pt_index = 0, text_pivot_pt = 10000, tail_pt = 10001 } |
Public Member Functions | |
void | AddPoint (const ON_2dPoint &point) |
bool | CreateFromV2 (const ON_Annotation &v2_ann, const ON_3dmAnnotationSettings &settings, int dimstyle_index) |
ON_2dPoint | Dim2dPoint (int point_index) const |
ON_3dPoint | Dim3dPoint (int point_index) const |
bool | GetArrowHeadDirection (ON_2dVector &arrowhead_dir) const |
bool | GetArrowHeadTip (ON_2dPoint &arrowhead_tip) const |
ON_BOOL32 | GetBBox (double *, double *, ON_BOOL32=false) const |
bool | GetTextDirection (ON_2dVector &text_dir) const |
bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
void | GetV2Form (ON_Leader &leader) |
ON_BOOL32 | IsValid (ON_TextLog *text_log=0) const |
ON_Leader2 () | |
ON_BOOL32 | Read (ON_BinaryArchive &) |
bool | RemovePoint (int index=-1) |
ON_BOOL32 | Transform (const ON_Xform &xform) |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
~ON_Leader2 () | |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_Leader2) |
Definition at line 2017 of file opennurbs_annotation2.h.
Definition at line 2048 of file opennurbs_annotation2.h.
Definition at line 5113 of file opennurbs_annotation2.cpp.
Definition at line 5119 of file opennurbs_annotation2.cpp.
void ON_Leader2::AddPoint | ( | const ON_2dPoint & | point | ) |
Definition at line 5362 of file opennurbs_annotation2.cpp.
bool ON_Leader2::CreateFromV2 | ( | const ON_Annotation & | v2_ann, |
const ON_3dmAnnotationSettings & | settings, | ||
int | dimstyle_index | ||
) |
Definition at line 5505 of file opennurbs_annotation2.cpp.
ON_2dPoint ON_Leader2::Dim2dPoint | ( | int | point_index | ) | const |
Definition at line 5315 of file opennurbs_annotation2.cpp.
ON_3dPoint ON_Leader2::Dim3dPoint | ( | int | point_index | ) | const |
Definition at line 5353 of file opennurbs_annotation2.cpp.
bool ON_Leader2::GetArrowHeadDirection | ( | ON_2dVector & | arrowhead_dir | ) | const |
Definition at line 5413 of file opennurbs_annotation2.cpp.
bool ON_Leader2::GetArrowHeadTip | ( | ON_2dPoint & | arrowhead_tip | ) | const |
Definition at line 5438 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_Leader2::GetBBox | ( | double * | boxmax, |
double * | boxmin, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 5236 of file opennurbs_annotation2.cpp.
bool ON_Leader2::GetTextDirection | ( | ON_2dVector & | text_dir | ) | const |
Definition at line 5388 of file opennurbs_annotation2.cpp.
bool ON_Leader2::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const [virtual] |
Reimplemented from ON_Geometry.
Definition at line 5287 of file opennurbs_annotation2.cpp.
void ON_Leader2::GetV2Form | ( | ON_Leader & | leader | ) |
Definition at line 5499 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_Leader2::IsValid | ( | ON_TextLog * | text_log = 0 | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 5123 of file opennurbs_annotation2.cpp.
ON_Leader2::ON_OBJECT_DECLARE | ( | ON_Leader2 | ) | [private] |
ON_BOOL32 ON_Leader2::Read | ( | ON_BinaryArchive & | archive | ) | [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 5196 of file opennurbs_annotation2.cpp.
bool ON_Leader2::RemovePoint | ( | int | index = -1 | ) |
Definition at line 5368 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_Leader2::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 1328 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_Leader2::Write | ( | ON_BinaryArchive & | archive | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 5155 of file opennurbs_annotation2.cpp.