#include <opennurbs_annotation2.h>
Public Types | |
enum | POINT_INDEX { userpositionedtext_pt_index = 0, start_pt_index = 1, end_pt_index = 2, arc_pt_index = 3, dim_pt_count = 4, text_pivot_pt = 10000, arcstart_pt = 10001, arcend_pt = 10002, arcmid_pt = 10003, arccenter_pt = 10004, extension0_pt = 10005, extension1_pt = 10006 } |
Public Member Functions | |
double | Angle () const |
void | ConvertBack (ON_AngularDimension2 &target) |
bool | CreateFromArc (const ON_Arc &arc) |
bool | CreateFromPoints (const ON_3dPoint &apex, const ON_3dPoint &p0, const ON_3dPoint &p1, ON_3dPoint &arcpt, ON_3dVector &Normal) |
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 |
double | DimpointOffset (int index) const |
bool | GetArc (ON_Arc &arc) const |
ON_BOOL32 | GetBBox (double *, double *, ON_BOOL32=false) const |
int | GetDimensionArcSegments (ON_RECT gdi_text_rect, int gdi_height_of_I, ON_Xform gdi_to_world, const ON_DimStyle &dimstyle, double dimscale, const ON_Viewport *vp, double a[6], bool &bInside) const |
bool | GetExtensionLines (ON_Line extensions[2]) const |
bool | GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const |
void | GetV2Form (ON_AngularDimension &dim) |
ON_BOOL32 | IsValid (ON_TextLog *text_log=0) const |
double | NumericValue () const |
ON_AngularDimension2 () | |
double | Radius () const |
ON_BOOL32 | Read (ON_BinaryArchive &file) |
void | SetAngle (double angle) |
void | SetDimpointOffset (int index, double offset) |
void | SetRadius (double radius) |
void | SetStyleIndex (int) |
int | StyleIndex () const |
ON_BOOL32 | Transform (const ON_Xform &xform) |
ON_BOOL32 | Write (ON_BinaryArchive &file) const |
~ON_AngularDimension2 () | |
Static Public Member Functions | |
static const wchar_t * | DefaultText () |
Public Attributes | |
double | m_angle |
double | m_radius |
Private Member Functions | |
ON_OBJECT_DECLARE (ON_AngularDimension2) |
Definition at line 1386 of file opennurbs_annotation2.h.
userpositionedtext_pt_index | |
start_pt_index | |
end_pt_index | |
arc_pt_index | |
dim_pt_count | |
text_pivot_pt | |
arcstart_pt | |
arcend_pt | |
arcmid_pt | |
arccenter_pt | |
extension0_pt | |
extension1_pt |
Definition at line 1426 of file opennurbs_annotation2.h.
Definition at line 3164 of file opennurbs_annotation2.cpp.
Definition at line 3183 of file opennurbs_annotation2.cpp.
double ON_AngularDimension2::Angle | ( | ) | const |
Definition at line 3845 of file opennurbs_annotation2.cpp.
void ON_AngularDimension2::ConvertBack | ( | ON_AngularDimension2 & | target | ) |
Definition at line 3881 of file opennurbs_annotation2.cpp.
bool ON_AngularDimension2::CreateFromArc | ( | const ON_Arc & | arc | ) |
Definition at line 3661 of file opennurbs_annotation2.cpp.
bool ON_AngularDimension2::CreateFromPoints | ( | const ON_3dPoint & | apex, |
const ON_3dPoint & | p0, | ||
const ON_3dPoint & | p1, | ||
ON_3dPoint & | arcpt, | ||
ON_3dVector & | Normal | ||
) |
Definition at line 3765 of file opennurbs_annotation2.cpp.
bool ON_AngularDimension2::CreateFromV2 | ( | const ON_Annotation & | v2_ann, |
const ON_3dmAnnotationSettings & | settings, | ||
int | dimstyle_index | ||
) |
Definition at line 3565 of file opennurbs_annotation2.cpp.
const wchar_t * ON_AngularDimension2::DefaultText | ( | ) | [static] |
Reimplemented from ON_Annotation2.
Definition at line 3876 of file opennurbs_annotation2.cpp.
ON_2dPoint ON_AngularDimension2::Dim2dPoint | ( | int | point_index | ) | const |
Definition at line 3374 of file opennurbs_annotation2.cpp.
ON_3dPoint ON_AngularDimension2::Dim3dPoint | ( | int | point_index | ) | const |
Definition at line 3447 of file opennurbs_annotation2.cpp.
double ON_AngularDimension2::DimpointOffset | ( | int | index | ) | const |
Definition at line 4299 of file opennurbs_annotation2.cpp.
bool ON_AngularDimension2::GetArc | ( | ON_Arc & | arc | ) | const |
Definition at line 3679 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_AngularDimension2::GetBBox | ( | double * | boxmax, |
double * | boxmin, | ||
ON_BOOL32 | bGrowBox = false |
||
) | const [virtual] |
Implements ON_Geometry.
Definition at line 3306 of file opennurbs_annotation2.cpp.
int ON_AngularDimension2::GetDimensionArcSegments | ( | ON_RECT | gdi_text_rect, |
int | gdi_height_of_I, | ||
ON_Xform | gdi_to_world, | ||
const ON_DimStyle & | dimstyle, | ||
double | dimscale, | ||
const ON_Viewport * | vp, | ||
double | a[6], | ||
bool & | bInside | ||
) | const |
Definition at line 3921 of file opennurbs_annotation2.cpp.
bool ON_AngularDimension2::GetExtensionLines | ( | ON_Line | extensions[2] | ) | const |
Definition at line 3717 of file opennurbs_annotation2.cpp.
bool ON_AngularDimension2::GetTightBoundingBox | ( | ON_BoundingBox & | tight_bbox, |
int | bGrowBox = false , |
||
const ON_Xform * | xform = 0 |
||
) | const [virtual] |
Reimplemented from ON_Geometry.
Definition at line 3352 of file opennurbs_annotation2.cpp.
void ON_AngularDimension2::GetV2Form | ( | ON_AngularDimension & | dim | ) |
Definition at line 3888 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_AngularDimension2::IsValid | ( | ON_TextLog * | text_log = 0 | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 3188 of file opennurbs_annotation2.cpp.
double ON_AngularDimension2::NumericValue | ( | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 3860 of file opennurbs_annotation2.cpp.
ON_AngularDimension2::ON_OBJECT_DECLARE | ( | ON_AngularDimension2 | ) | [private] |
double ON_AngularDimension2::Radius | ( | ) | const |
Definition at line 3855 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_AngularDimension2::Read | ( | ON_BinaryArchive & | file | ) | [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 3500 of file opennurbs_annotation2.cpp.
void ON_AngularDimension2::SetAngle | ( | double | angle | ) |
Definition at line 3840 of file opennurbs_annotation2.cpp.
void ON_AngularDimension2::SetDimpointOffset | ( | int | index, |
double | offset | ||
) |
Definition at line 4306 of file opennurbs_annotation2.cpp.
void ON_AngularDimension2::SetRadius | ( | double | radius | ) |
Definition at line 3850 of file opennurbs_annotation2.cpp.
void ON_AngularDimension2::SetStyleIndex | ( | int | i | ) |
Definition at line 3871 of file opennurbs_annotation2.cpp.
int ON_AngularDimension2::StyleIndex | ( | ) | const |
Definition at line 3866 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_AngularDimension2::Transform | ( | const ON_Xform & | xform | ) | [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 1390 of file opennurbs_annotation2.cpp.
ON_BOOL32 ON_AngularDimension2::Write | ( | ON_BinaryArchive & | file | ) | const [virtual] |
Reimplemented from ON_Annotation2.
Definition at line 3454 of file opennurbs_annotation2.cpp.
Definition at line 1613 of file opennurbs_annotation2.h.
Definition at line 1614 of file opennurbs_annotation2.h.