Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions
ON_RadialDimension2 Class Reference

#include <opennurbs_annotation2.h>

Inheritance diagram for ON_RadialDimension2:
Inheritance graph
[legend]

List of all members.

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)

Detailed Description

Definition at line 1217 of file opennurbs_annotation2.h.


Member Enumeration Documentation

Enumerator:
center_pt_index 
arrow_pt_index 
tail_pt_index 
knee_pt_index 
dim_pt_count 
text_pivot_pt 

Definition at line 1243 of file opennurbs_annotation2.h.


Constructor & Destructor Documentation

Definition at line 2593 of file opennurbs_annotation2.cpp.

Definition at line 2604 of file opennurbs_annotation2.cpp.


Member Function Documentation

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.

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.

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.

Reimplemented from ON_Annotation2.

Definition at line 2682 of file opennurbs_annotation2.cpp.

Definition at line 2924 of file opennurbs_annotation2.cpp.

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.


The documentation for this class was generated from the following files:


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:38:52