#include <opennurbs_dimensionstyle.h>

Public Types

enum  arrow_type : unsigned int {
  arrow_type::None = 0, arrow_type::UserBlock = 1, arrow_type::SolidTriangle = 2, arrow_type::Dot = 3,
  arrow_type::Tick = 4, arrow_type::ShortTriangle = 5, arrow_type::OpenArrow = 6, arrow_type::Rectangle = 7,
  arrow_type::LongTriangle = 8, arrow_type::LongerTriangle = 9
}
 Defines enumerated values for arrowhead shapes. More...
 

Public Member Functions

 ON_Arrowhead ()=default
 
 ON_Arrowhead (const ON_Arrowhead &)=default
 
 ~ON_Arrowhead ()=default
 
ON_UUID ArrowBlockId () const
 
arrow_type ArrowheadType () const
 
bool operator!= (const ON_Arrowhead &other) const
 
ON_Arrowheadoperator= (const ON_Arrowhead &)=default
 
bool operator== (const ON_Arrowhead &other) const
 
void SetArrowBlockId (ON_UUID id)
 
void SetArrowheadType (arrow_type type)
 

Static Public Member Functions

static ON_Arrowhead::arrow_type ArrowTypeFromUnsigned (unsigned int type_as_unsigned)
 
static ON_Arrowhead::arrow_type DefaultArrowType ()
 
static bool GetArrowheadBoundingBox (ON_Arrowhead::arrow_type arrow_type, ON_UUID arrow_block_id, ON_Xform xform, ON_BoundingBox &bbox, bool grow)
 
static ON__UINT32 GetPoints (arrow_type type, const double *&points)
 
static ON__UINT32 GetPoints (arrow_type type, ON_2dPointArray &points)
 

Member Enumeration Documentation

◆ arrow_type

enum ON_Arrowhead::arrow_type : unsigned int
strong

Defines enumerated values for arrowhead shapes.

Enumerator
None 
UserBlock 
SolidTriangle 
Dot 
Tick 
ShortTriangle 
OpenArrow 
Rectangle 
LongTriangle 
LongerTriangle 

Constructor & Destructor Documentation

◆ ON_Arrowhead() [1/2]

ON_Arrowhead::ON_Arrowhead ( )
default

◆ ~ON_Arrowhead()

ON_Arrowhead::~ON_Arrowhead ( )
default

◆ ON_Arrowhead() [2/2]

ON_Arrowhead::ON_Arrowhead ( const ON_Arrowhead )
default

Member Function Documentation

◆ ArrowBlockId()

ON_UUID ON_Arrowhead::ArrowBlockId ( ) const

◆ ArrowheadType()

arrow_type ON_Arrowhead::ArrowheadType ( ) const

◆ ArrowTypeFromUnsigned()

static ON_Arrowhead::arrow_type ON_Arrowhead::ArrowTypeFromUnsigned ( unsigned int  type_as_unsigned)
static

◆ DefaultArrowType()

static ON_Arrowhead::arrow_type ON_Arrowhead::DefaultArrowType ( )
static

◆ GetArrowheadBoundingBox()

static bool ON_Arrowhead::GetArrowheadBoundingBox ( ON_Arrowhead::arrow_type  arrow_type,
ON_UUID  arrow_block_id,
ON_Xform  xform,
ON_BoundingBox bbox,
bool  grow 
)
static

◆ GetPoints() [1/2]

static ON__UINT32 ON_Arrowhead::GetPoints ( arrow_type  type,
const double *&  points 
)
static

◆ GetPoints() [2/2]

static ON__UINT32 ON_Arrowhead::GetPoints ( arrow_type  type,
ON_2dPointArray points 
)
static

◆ operator!=()

bool ON_Arrowhead::operator!= ( const ON_Arrowhead other) const

◆ operator=()

ON_Arrowhead& ON_Arrowhead::operator= ( const ON_Arrowhead )
default

◆ operator==()

bool ON_Arrowhead::operator== ( const ON_Arrowhead other) const

◆ SetArrowBlockId()

void ON_Arrowhead::SetArrowBlockId ( ON_UUID  id)

◆ SetArrowheadType()

void ON_Arrowhead::SetArrowheadType ( arrow_type  type)