Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions
ON_OrdinateDimension2 Class Reference

#include <opennurbs_annotation2.h>

Inheritance diagram for ON_OrdinateDimension2:
Inheritance graph
[legend]

List of all members.

Public Types

enum  DIRECTION { x = 0, y = 1 }
enum  POINT_INDEX {
  definition_pt_index = 0, leader_end_pt_index = 1, dim_pt_count = 2, text_pivot_pt = 10000,
  offset_pt_0 = 10001, offset_pt_1 = 10002
}

Public Member Functions

void CalcKinkPoints (ON_2dPoint p0, ON_2dPoint p1, int direction, double default_offset, ON_2dPoint &k0, ON_2dPoint &k1) const
ON_2dPoint Dim2dPoint (int point_index, double default_offset=1.0) const
ON_3dPoint Dim3dPoint (int point_index, double default_offset=1.0) const
int Direction () const
ON_BOOL32 GetBBox (double *boxmin, double *boxmax, ON_BOOL32 bGrowBox=false) const
bool GetTightBoundingBox (ON_BoundingBox &tight_bbox, int bGrowBox=false, const ON_Xform *xform=0) const
int ImpliedDirection () const
ON_BOOL32 IsValid (ON_TextLog *text_log=0) const
double KinkOffset (int index) const
double NumericValue () const
 ON_OrdinateDimension2 ()
ON_BOOL32 Read (ON_BinaryArchive &file)
void SetDirection (int direction)
void SetKinkOffset (int index, double offset)
void SetStyleIndex (int)
int StyleIndex () const
ON_BOOL32 Transform (const ON_Xform &xform)
ON_BOOL32 Write (ON_BinaryArchive &file) const
 ~ON_OrdinateDimension2 ()

Static Public Member Functions

static const wchar_t * DefaultText ()

Public Attributes

int m_direction
double m_kink_offset_0
double m_kink_offset_1

Private Member Functions

 ON_OBJECT_DECLARE (ON_OrdinateDimension2)

Detailed Description

Definition at line 1682 of file opennurbs_annotation2.h.


Member Enumeration Documentation

Enumerator:
x 
y 

Definition at line 1747 of file opennurbs_annotation2.h.

Enumerator:
definition_pt_index 
leader_end_pt_index 
dim_pt_count 
text_pivot_pt 
offset_pt_0 
offset_pt_1 

Definition at line 1730 of file opennurbs_annotation2.h.


Constructor & Destructor Documentation

Definition at line 4315 of file opennurbs_annotation2.cpp.

Definition at line 4328 of file opennurbs_annotation2.cpp.


Member Function Documentation

void ON_OrdinateDimension2::CalcKinkPoints ( ON_2dPoint  p0,
ON_2dPoint  p1,
int  direction,
double  default_offset,
ON_2dPoint k0,
ON_2dPoint k1 
) const

Definition at line 4673 of file opennurbs_annotation2.cpp.

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

Reimplemented from ON_Annotation2.

Definition at line 4653 of file opennurbs_annotation2.cpp.

ON_2dPoint ON_OrdinateDimension2::Dim2dPoint ( int  point_index,
double  default_offset = 1.0 
) const

Definition at line 4342 of file opennurbs_annotation2.cpp.

ON_3dPoint ON_OrdinateDimension2::Dim3dPoint ( int  point_index,
double  default_offset = 1.0 
) const

Definition at line 4422 of file opennurbs_annotation2.cpp.

Definition at line 4643 of file opennurbs_annotation2.cpp.

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

Implements ON_Geometry.

Definition at line 4565 of file opennurbs_annotation2.cpp.

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

Reimplemented from ON_Geometry.

Definition at line 4607 of file opennurbs_annotation2.cpp.

Definition at line 4630 of file opennurbs_annotation2.cpp.

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

Reimplemented from ON_Annotation2.

Definition at line 4428 of file opennurbs_annotation2.cpp.

double ON_OrdinateDimension2::KinkOffset ( int  index) const

Definition at line 4655 of file opennurbs_annotation2.cpp.

double ON_OrdinateDimension2::NumericValue ( ) const [virtual]

Reimplemented from ON_Annotation2.

Definition at line 4547 of file opennurbs_annotation2.cpp.

Reimplemented from ON_Annotation2.

Definition at line 4500 of file opennurbs_annotation2.cpp.

void ON_OrdinateDimension2::SetDirection ( int  direction)

Definition at line 4648 of file opennurbs_annotation2.cpp.

void ON_OrdinateDimension2::SetKinkOffset ( int  index,
double  offset 
)

Definition at line 4665 of file opennurbs_annotation2.cpp.

Definition at line 4560 of file opennurbs_annotation2.cpp.

Definition at line 4555 of file opennurbs_annotation2.cpp.

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

Reimplemented from ON_Annotation2.

Definition at line 4332 of file opennurbs_annotation2.cpp.

Reimplemented from ON_Annotation2.

Definition at line 4461 of file opennurbs_annotation2.cpp.


Member Data Documentation

Definition at line 1897 of file opennurbs_annotation2.h.

Definition at line 1902 of file opennurbs_annotation2.h.

Definition at line 1903 of file opennurbs_annotation2.h.


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