|
| Point (geo::Coordinate const &coord, const Layer_CSPtr layer, const MetaInfo_CSPtr metaInfo=nullptr, const Block_CSPtr block=nullptr) |
| Coordinate, Default Coordinate Constructor. More...
|
|
| Point (const double x, const double y, const Layer_CSPtr layer, const MetaInfo_CSPtr metaInfo=nullptr, const Block_CSPtr block=nullptr) |
| Coordinate, Coordinate constructor with metatypes. More...
|
|
| Point (const Point_CSPtr other, bool sameID=false) |
|
virtual CADEntity_CSPtr | move (const geo::Coordinate &offset) const override |
| move, moves by an offset More...
|
|
virtual CADEntity_CSPtr | copy (const geo::Coordinate &offset) const override |
| copy, copies by an offset More...
|
|
virtual CADEntity_CSPtr | rotate (const geo::Coordinate &rotation_center, const double rotation_angle) const override |
| rotate, rotate operation More...
|
|
virtual CADEntity_CSPtr | scale (const geo::Coordinate &scale_center, const geo::Coordinate &scale_factor) const override |
| scale, scales the entity More...
|
|
virtual CADEntity_CSPtr | mirror (const geo::Coordinate &axis1, const geo::Coordinate &axis2) const override |
|
virtual const geo::Area | boundingBox () const override |
| boundingBox of the entity More...
|
|
virtual CADEntity_CSPtr | modify (Layer_CSPtr layer, const MetaInfo_CSPtr metaInfo, Block_CSPtr block) const override |
| modify Return a new entity with the same ID bit with possible modified metainfo and/pr layer information #return new entity with same ID More...
|
|
virtual void | accept (GeoEntityVisitor &v) const override |
|
virtual void | dispatch (EntityDispatch &ed) const override |
|
| CADEntity () |
|
| CADEntity (Layer_CSPtr layer, const MetaInfo_CSPtr metaInfo=nullptr, const Block_CSPtr block=nullptr) |
| CADEntity Constructor. More...
|
|
| CADEntity (CADEntity_CSPtr cadEntity, bool sameID) |
|
| CADEntity (CADEntity_CSPtr cadEntity) |
|
virtual | ~CADEntity ()=default |
|
Layer_CSPtr | layer () const |
| layer return the layer this entity is placed on More...
|
|
template<typename T > |
const std::shared_ptr< const T > | metaInfo (std::string metaName) const |
|
MetaInfo_CSPtr | metaInfo () const |
|
Block_CSPtr | block () const |
| Return the current entity block. More...
|
|
| ID () |
| Default constructor, provides a new unique ID to each entity. More...
|
|
| ID (ID_DATATYPE) |
|
virtual | ~ID ()=default |
|
ID_DATATYPE | id () const |
| returns the ID of the entity More...
|
|
bool | operator== (const ID &id) const |
|
void | setID (ID_DATATYPE id) |
|
virtual | ~Visitable ()=default |
|
| Coordinate () |
|
| Coordinate (double x, double y, double z) |
|
| Coordinate (double x, double y) |
|
| Coordinate (double angle) |
|
| Coordinate (Coordinate &&c) noexcept |
|
| Coordinate (const Coordinate &c) |
|
double | x () const |
| Returns x of Coordinate. More...
|
|
double | y () const |
| Returns y of Coordinate. More...
|
|
double | z () const |
| Returns z of Coordinate. More...
|
|
Coordinate & | operator= (const Coordinate &coord) |
|
Coordinate | flipXY () const |
| flips the x and y of Coordinate More...
|
|
double | angleTo (const Coordinate &v) const |
| Returns angle To the coordinate. More...
|
|
double | angleBetween (const Coordinate &v1, const Coordinate &v2) const |
|
bool | operator== (const Coordinate &coord) const |
| checks for the equality of Coordinate More...
|
|
bool | operator!= (const Coordinate &coord) const |
|
double | distanceTo (const geo::Coordinate &c) const |
|
Coordinate | operator+ (const Coordinate &coord) const |
|
Coordinate | operator+ (double d) const |
| operator + for offset addition More...
|
|
Coordinate | operator- (double d) const |
| operator + for offset addition More...
|
|
Coordinate | operator- () const |
| operator - More...
|
|
Coordinate | operator- (const Coordinate &coord) const |
|
Coordinate | operator* (const Coordinate &coord) const |
|
Coordinate | operator* (double s) const |
|
Coordinate | operator/ (double s) const |
|
double | magnitude () const |
|
double | angle () const |
|
double | squared () const |
|
double | dot (const Coordinate &coord) const |
|
double | dot (const Coordinate &v1, const Coordinate &v2) const |
|
Coordinate | rotate (const Coordinate &angleVector) const |
| rotate around (0.,0.) with a given angle vector More...
|
|
Coordinate | rotate (const double &angle) const |
| rotate around (0.,0.) with a given angle More...
|
|
Coordinate | rotate (const geo::Coordinate &point, const Coordinate &angleVector) const |
| rotate around a point with a angle vector More...
|
|
Coordinate | rotate (const geo::Coordinate &point, const double &angle) const |
| rotate around a point with a angle More...
|
|
Coordinate | rotateByArcLength (const geo::Coordinate &point, double const length) const |
| rotate around a point where the rotation described length is known Example More...
|
|
Coordinate | scale (const double &scale_factor) const |
|
Coordinate | scale (const Coordinate &scale_factor) const |
|
Coordinate | scale (const Coordinate &scale_center, const Coordinate &scale_factor) const |
|
Coordinate | mid (const Coordinate &other) const |
|
Coordinate | norm () const |
|
Coordinate | norm (const double f) const |
|
Coordinate | move (const Coordinate &direction, double d) const |
|
Coordinate | moveTo (const Coordinate &to, double d) const |
|
Coordinate | transform2d (double xx, double yx, double xy, double yy, double x0, double y0) |
|
Coordinate | mirror (const Coordinate &axis1, const Coordinate &axis2) const |
| mirror a coordinate More...
|
|