Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Avoid::VertID Class Reference

#include <vertices.h>

Public Member Functions

 VertID ()
 
 VertID (unsigned int id, unsigned short n, VertIDProps p=0)
 
 VertID (const VertID &other)
 
VertIDoperator= (const VertID &rhs)
 
bool operator== (const VertID &rhs) const
 
bool operator!= (const VertID &rhs) const
 
bool operator< (const VertID &rhs) const
 
VertID operator+ (const int &rhs) const
 
VertID operator- (const int &rhs) const
 
VertIDoperator++ (int)
 
void print (FILE *file=stdout) const
 
void db_print (void) const
 
bool isOrthShapeEdge (void) const
 
bool isConnPt (void) const
 
bool isConnectionPin (void) const
 
bool isConnCheckpoint (void) const
 
bool isDummyPinHelper (void) const
 

Public Attributes

unsigned int objID
 
unsigned short vn
 
VertIDProps props
 

Static Public Attributes

static const unsigned short src = 1
 
static const unsigned short tar = 2
 
static const VertIDProps PROP_ConnPoint = 1
 
static const VertIDProps PROP_OrthShapeEdge = 2
 
static const VertIDProps PROP_ConnectionPin = 4
 
static const VertIDProps PROP_ConnCheckpoint = 8
 
static const VertIDProps PROP_DummyPinHelper = 16
 

Friends

std::ostream & operator<< (std::ostream &os, const VertID &vID)
 

Detailed Description

Definition at line 51 of file vertices.h.

Constructor & Destructor Documentation

◆ VertID() [1/3]

Avoid::VertID::VertID ( )

Definition at line 43 of file vertices.cpp.

Referenced by operator+(), and operator-().

◆ VertID() [2/3]

Avoid::VertID::VertID ( unsigned int  id,
unsigned short  n,
VertIDProps  p = 0 
)

Definition at line 48 of file vertices.cpp.

◆ VertID() [3/3]

Avoid::VertID::VertID ( const VertID other)

Definition at line 56 of file vertices.cpp.

Member Function Documentation

◆ db_print()

void Avoid::VertID::db_print ( void  ) const

◆ isConnCheckpoint()

bool Avoid::VertID::isConnCheckpoint ( void  ) const
inline

Definition at line 95 of file vertices.h.

References PROP_ConnCheckpoint, and props.

Referenced by Avoid::validateBendPoint().

◆ isConnectionPin()

bool Avoid::VertID::isConnectionPin ( void  ) const
inline

◆ isConnPt()

◆ isDummyPinHelper()

◆ isOrthShapeEdge()

bool Avoid::VertID::isOrthShapeEdge ( void  ) const
inline

Definition at line 83 of file vertices.h.

References PROP_OrthShapeEdge, and props.

◆ operator!=()

bool Avoid::VertID::operator!= ( const VertID rhs) const

Definition at line 87 of file vertices.cpp.

References objID, and vn.

◆ operator+()

VertID Avoid::VertID::operator+ ( const int &  rhs) const

Definition at line 108 of file vertices.cpp.

References objID, props, VertID(), and vn.

◆ operator++()

VertID & Avoid::VertID::operator++ ( int  )

Definition at line 120 of file vertices.cpp.

References vn.

◆ operator-()

VertID Avoid::VertID::operator- ( const int &  rhs) const

Definition at line 114 of file vertices.cpp.

References objID, props, VertID(), and vn.

◆ operator<()

bool Avoid::VertID::operator< ( const VertID rhs) const

Definition at line 97 of file vertices.cpp.

References objID, and vn.

◆ operator=()

VertID & Avoid::VertID::operator= ( const VertID rhs)

Definition at line 64 of file vertices.cpp.

References objID, props, and vn.

◆ operator==()

bool Avoid::VertID::operator== ( const VertID rhs) const

Definition at line 77 of file vertices.cpp.

References objID, and vn.

◆ print()

void Avoid::VertID::print ( FILE *  file = stdout) const

Definition at line 127 of file vertices.cpp.

References objID, props, and vn.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const VertID vID 
)
friend

Definition at line 149 of file vertices.cpp.

Member Data Documentation

◆ objID

◆ PROP_ConnCheckpoint

const unsigned short Avoid::VertID::PROP_ConnCheckpoint = 8
static

Definition at line 65 of file vertices.h.

Referenced by isConnCheckpoint(), and Avoid::ConnRef::setRoutingCheckpoints().

◆ PROP_ConnectionPin

const unsigned short Avoid::VertID::PROP_ConnectionPin = 4
static

◆ PROP_ConnPoint

◆ PROP_DummyPinHelper

const unsigned short Avoid::VertID::PROP_DummyPinHelper = 16
static

Definition at line 66 of file vertices.h.

Referenced by Avoid::ConnRef::common_updateEndPoint(), and isDummyPinHelper().

◆ PROP_OrthShapeEdge

const unsigned short Avoid::VertID::PROP_OrthShapeEdge = 2
static

Definition at line 63 of file vertices.h.

Referenced by isOrthShapeEdge().

◆ props

◆ src

◆ tar

◆ vn


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