LibreCAD
|
#include <circle.h>
Public Member Functions | |
CircleBuilder () | |
virtual | ~CircleBuilder () |
const geo::Coordinate & | center () const |
CircleBuilder * | setCenter (const geo::Coordinate ¢er) |
double | radius () const |
CircleBuilder * | setRadius (double radius) |
entity::Circle_CSPtr | build () |
Public Member Functions inherited from lc::builder::CADEntityBuilder | |
CADEntityBuilder () | |
virtual | ~CADEntityBuilder () |
void | copy (entity::CADEntity_CSPtr entity) |
const Layer_CSPtr & | layer () const |
Get layer. More... | |
void | setLayer (const Layer_CSPtr &layer) |
Set the layer. More... | |
const MetaInfo_CSPtr & | metaInfo () const |
Get MetaInfo. More... | |
void | setMetaInfo (const MetaInfo_CSPtr &metaInfo) |
Set MetaInfo. More... | |
const Block_CSPtr & | block () const |
Get block. More... | |
void | setBlock (const Block_CSPtr &block) |
Set the Block. More... | |
const ID_DATATYPE | id () const |
Get entity ID. More... | |
void | setID (ID_DATATYPE id) |
Set entity ID. More... | |
void | newID () |
Generate new ID for the entity. More... | |
virtual bool | checkValues () |
Private Attributes | |
geo::Coordinate | _center |
double | _radius |
lc::builder::CircleBuilder::CircleBuilder | ( | ) |
Definition at line 4 of file circle.cpp.
|
virtual |
Definition at line 8 of file circle.cpp.
lc::entity::Circle_CSPtr lc::builder::CircleBuilder::build | ( | ) |
Definition at line 30 of file circle.cpp.
const lc::geo::Coordinate & lc::builder::CircleBuilder::center | ( | ) | const |
Definition at line 12 of file circle.cpp.
double lc::builder::CircleBuilder::radius | ( | ) | const |
Definition at line 21 of file circle.cpp.
lc::builder::CircleBuilder * lc::builder::CircleBuilder::setCenter | ( | const geo::Coordinate & | center | ) |
Definition at line 16 of file circle.cpp.
lc::builder::CircleBuilder * lc::builder::CircleBuilder::setRadius | ( | double | radius | ) |
Definition at line 25 of file circle.cpp.
|
private |