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

#include <opennurbs_annotation2.h>

Inheritance diagram for ON_LinearDimension2:
Inheritance graph
[legend]

List of all members.

Public Types

enum  POINT_INDEX {
  ext0_pt_index = 0, arrow0_pt_index = 1, ext1_pt_index = 2, arrow1_pt_index = 3,
  userpositionedtext_pt_index = 4, dim_pt_count = 5, text_pivot_pt = 10000, dim_mid_pt = 10001
}

Public Member Functions

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
ON_DimensionExtraDimensionExtension ()
const ON_DimensionExtraDimensionExtension () const
ON_BOOL32 GetBBox (double *, double *, ON_BOOL32=false) const
int GetDimensionLineSegments (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 GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
void GetV2Form (ON_LinearDimension &dim)
ON_BOOL32 IsValid (ON_TextLog *text_log=0) const
double NumericValue () const
 ON_LinearDimension2 ()
ON_BOOL32 Read (ON_BinaryArchive &)
int Repair ()
void SetStyleIndex (int)
int StyleIndex () const
ON_BOOL32 Transform (const ON_Xform &xform)
ON_BOOL32 Write (ON_BinaryArchive &) const
 ~ON_LinearDimension2 ()

Static Public Member Functions

static const wchar_t * DefaultText ()

Private Member Functions

 ON_OBJECT_DECLARE (ON_LinearDimension2)

Detailed Description

Definition at line 1007 of file opennurbs_annotation2.h.


Member Enumeration Documentation

Enumerator:
ext0_pt_index 
arrow0_pt_index 
ext1_pt_index 
arrow1_pt_index 
userpositionedtext_pt_index 
dim_pt_count 
text_pivot_pt 
dim_mid_pt 

Definition at line 1041 of file opennurbs_annotation2.h.


Constructor & Destructor Documentation

Definition at line 1709 of file opennurbs_annotation2.cpp.

Definition at line 1730 of file opennurbs_annotation2.cpp.


Member Function Documentation

bool ON_LinearDimension2::CreateFromV2 ( const ON_Annotation v2_ann,
const ON_3dmAnnotationSettings settings,
int  dimstyle_index 
)

Definition at line 2276 of file opennurbs_annotation2.cpp.

const wchar_t * ON_LinearDimension2::DefaultText ( ) [static]

Reimplemented from ON_Annotation2.

Definition at line 2587 of file opennurbs_annotation2.cpp.

ON_2dPoint ON_LinearDimension2::Dim2dPoint ( int  point_index) const

Definition at line 2208 of file opennurbs_annotation2.cpp.

ON_3dPoint ON_LinearDimension2::Dim3dPoint ( int  point_index) const

Definition at line 2261 of file opennurbs_annotation2.cpp.

ON_BOOL32 ON_LinearDimension2::GetBBox ( double *  boxmax,
double *  boxmin,
ON_BOOL32  bGrowBox = false 
) const [virtual]

Implements ON_Geometry.

Definition at line 1880 of file opennurbs_annotation2.cpp.

int ON_LinearDimension2::GetDimensionLineSegments ( 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 2332 of file opennurbs_annotation2.cpp.

bool ON_LinearDimension2::GetTightBoundingBox ( ON_BoundingBox tight_bbox,
int  bGrowBox = false,
const ON_Xform xform = 0 
) const [virtual]

Reimplemented from ON_Geometry.

Definition at line 1942 of file opennurbs_annotation2.cpp.

Definition at line 2269 of file opennurbs_annotation2.cpp.

ON_BOOL32 ON_LinearDimension2::IsValid ( ON_TextLog text_log = 0) const [virtual]

Reimplemented from ON_Annotation2.

Definition at line 1734 of file opennurbs_annotation2.cpp.

double ON_LinearDimension2::NumericValue ( ) const [virtual]

Reimplemented from ON_Annotation2.

Definition at line 2175 of file opennurbs_annotation2.cpp.

Reimplemented from ON_Annotation2.

Definition at line 1840 of file opennurbs_annotation2.cpp.

Definition at line 1982 of file opennurbs_annotation2.cpp.

Definition at line 2189 of file opennurbs_annotation2.cpp.

Definition at line 2184 of file opennurbs_annotation2.cpp.

ON_BOOL32 ON_LinearDimension2::Transform ( const ON_Xform xform) [virtual]

Reimplemented from ON_Annotation2.

Definition at line 2125 of file opennurbs_annotation2.cpp.

ON_BOOL32 ON_LinearDimension2::Write ( ON_BinaryArchive archive) const [virtual]

Reimplemented from ON_Annotation2.

Definition at line 1799 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