#include <opennurbs_annotation2.h>
Public Types | |
enum | POINT_INDEX { center_pt_index = 0, arrow_pt_index = 1, tail_pt_index = 2, knee_pt_index = 3, dim_pt_count = 4, text_pivot_pt = 10000 } |
Public Member Functions | |
bool | CreateFromPoints (ON_3dPoint center, ON_3dPoint arrowtip, ON_3dVector xaxis, ON_3dVector normal, double offset_distance) |
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 | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
void | GetV2Form (ON_RadialDimension &dim) |
ON_BOOL32 | IsValid (ON_TextLog *text_log=0) const |
double | NumericValue () const |
ON_RadialDimension2 () | |
ON_BOOL32 | Read (ON_BinaryArchive &) |
void | SetStyleIndex (int) |
int | StyleIndex () const |
ON_BOOL32 | Transform (const ON_Xform &xform) |
ON_BOOL32 | Write (ON_BinaryArchive &) const |
~ON_RadialDimension2 () | |
Static Public Member Functions | |
static const wchar_t * | DefaultDiameterText () |
static const wchar_t * | DefaultRadiusText () |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_RadialDimension2) |
Definition at line 1217 of file opennurbs_annotation2.h.
Definition at line 1243 of file opennurbs_annotation2.h.
Definition at line 2593 of file opennurbs_annotation2.cpp.
Definition at line 2604 of file opennurbs_annotation2.cpp.
bool ON_RadialDimension2::CreateFromPoints | ( | ON_3dPoint | center, |
ON_3dPoint | arrowtip, | ||
ON_3dVector | xaxis, | ||
ON_3dVector | normal, | ||
double | offset_distance | ||
) |
Definition at line 2857 of file opennurbs_annotation2.cpp.
bool ON_RadialDimension2::CreateFromV2 | ( | const ON_Annotation & | v2_ann, |
const ON_3dmAnnotationSettings & | settings, | ||
int | dimstyle_index | ||
) |
Definition at line 2949 of file opennurbs_annotation2.cpp.
const wchar_t * ON_RadialDimension2::DefaultDiameterText | ( | ) | [static] |
Definition at line 2936 of file opennurbs_annotation2.cpp.
const wchar_t * ON_RadialDimension2::DefaultRadiusText | ( | ) | [static] |
Definition at line 2930 of file opennurbs_annotation2.cpp.
ON_2dPoint ON_RadialDimension2::Dim2dPoint | ( | int | point_index | ) | const |
Definition at line 2820 of file opennurbs_annotation2.cpp.
ON_3dPoint ON_RadialDimension2::Dim3dPoint | ( | int | point_index | ) | const |
Definition at line 2847 of file opennurbs_annotation2.cpp.
bool ON_RadialDimension2::GetArrowHeadDirection | ( | ON_2dVector & | arrowhead_dir | ) | const |
Definition at line 5459 of file opennurbs_annotation2.cpp.
bool ON_RadialDimension2::GetArrowHeadTip | ( | ON_2dPoint & | arrowhead_tip | ) | const |
Definition at line 5482 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_RadialDimension2::GetBBox | ( | double * | boxmax, |
double * | boxmin, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 2723 of file opennurbs_annotation2.cpp.
bool ON_RadialDimension2::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const [virtual] |
Reimplemented from ON_Geometry.
Definition at line 2785 of file opennurbs_annotation2.cpp.
void ON_RadialDimension2::GetV2Form | ( | ON_RadialDimension & | dim | ) |
Definition at line 2943 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_RadialDimension2::IsValid | ( | ON_TextLog * | text_log = 0 | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 2608 of file opennurbs_annotation2.cpp.
double ON_RadialDimension2::NumericValue | ( | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 2907 of file opennurbs_annotation2.cpp.
ON_RadialDimension2::ON_OBJECT_DECLARE | ( | ON_RadialDimension2 | ) | [private] |
ON_BOOL32 ON_RadialDimension2::Read | ( | ON_BinaryArchive & | archive | ) | [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 2682 of file opennurbs_annotation2.cpp.
void ON_RadialDimension2::SetStyleIndex | ( | int | i | ) |
Definition at line 2924 of file opennurbs_annotation2.cpp.
int ON_RadialDimension2::StyleIndex | ( | ) | const |
Definition at line 2919 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_RadialDimension2::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 1322 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_RadialDimension2::Write | ( | ON_BinaryArchive & | archive | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 2641 of file opennurbs_annotation2.cpp.