LibreCAD
|
#include <lwpolyline.h>
Public Member Functions | |
LWVertex2D (geo::Coordinate const location, double const bulge=0., double const startWidth=0., double const endWidth=0.) | |
LWVertex2D (LWVertex2D const &other) | |
geo::Coordinate const | location () const |
LWVertex2D const | move (geo::Coordinate const &offset) |
LWVertex2D const | rotate (const geo::Coordinate &rotation_center, double rotation_angle) |
LWVertex2D const | scale (const geo::Coordinate &scale_center, const geo::Coordinate &scale_factor) |
double | startWidth () const |
double | endWidth () const |
double | bulge () const |
Public Attributes | |
geo::Coordinate | _location |
double | _startWidth |
double | _endWidth |
double | _bulge |
Friends | |
std::ostream & | operator<< (std::ostream &os, const LWVertex2D &a) |
Vertex for a Light Weight polyline
Definition at line 19 of file lwpolyline.h.
|
inline |
Definition at line 21 of file lwpolyline.h.
|
inline |
Definition at line 26 of file lwpolyline.h.
|
inline |
Definition at line 65 of file lwpolyline.h.
|
inline |
Definition at line 61 of file lwpolyline.h.
|
inline |
Definition at line 33 of file lwpolyline.h.
|
inline |
Definition at line 37 of file lwpolyline.h.
|
inline |
Definition at line 41 of file lwpolyline.h.
|
inline |
Scale up/Down a polyline. Be aware that non-uniform scaling won't turn a arc into a ellipse.
Definition at line 48 of file lwpolyline.h.
|
inline |
Definition at line 57 of file lwpolyline.h.
|
friend |
Definition at line 70 of file lwpolyline.h.
double lc::entity::LWVertex2D::_bulge |
Definition at line 80 of file lwpolyline.h.
double lc::entity::LWVertex2D::_endWidth |
Definition at line 79 of file lwpolyline.h.
geo::Coordinate lc::entity::LWVertex2D::_location |
Definition at line 77 of file lwpolyline.h.
double lc::entity::LWVertex2D::_startWidth |
Definition at line 78 of file lwpolyline.h.