Horizon
Loading...
Searching...
No Matches
horizon::ODB::Features::Arc Class Reference
Inheritance diagram for horizon::ODB::Features::Arc:
horizon::ODB::Features::Feature horizon::ODB::RecordWithAttributes

Public Types

enum class  Direction { CW , CCW }
Public Types inherited from horizon::ODB::Features::Feature
template<typename T>
using check_type = attribute::is_feature<T>

Public Member Functions

Type get_type () const override
 Arc (unsigned int i, const Coordi &f, const Coordi &t, const Coordi &c, unsigned int sym, Direction d)
Public Member Functions inherited from horizon::ODB::Features::Feature
virtual void write (std::ostream &ost) const

Public Attributes

Coordi from
Coordi to
Coordi center
unsigned int symbol
Direction direction
Public Attributes inherited from horizon::ODB::Features::Feature
friend Features
const unsigned int index
Public Attributes inherited from horizon::ODB::RecordWithAttributes
std::vector< std::pair< unsigned int, std::string > > attributes

Protected Member Functions

void write_feature (std::ostream &ost) const override
Protected Member Functions inherited from horizon::ODB::Features::Feature
 Feature (unsigned int i)
Protected Member Functions inherited from horizon::ODB::RecordWithAttributes
void write_attributes (std::ostream &ost) const

Additional Inherited Members

Protected Types inherited from horizon::ODB::Features::Feature
enum class  Type { LINE , ARC , PAD , SURFACE }

Member Function Documentation

◆ get_type()

Type horizon::ODB::Features::Arc::get_type ( ) const
inlineoverridevirtual

◆ write_feature()

void horizon::ODB::Features::Arc::write_feature ( std::ostream & ost) const
overrideprotectedvirtual

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