libopencad
|
Geometry class which represents Spline. More...
#include <cadgeometry.h>
Public Member Functions | |
virtual void | print () const override |
long | getScenario () const |
void | setScenario (long value) |
bool | getRational () const |
void | setRational (bool value) |
bool | getClosed () const |
void | setClosed (bool value) |
void | addControlPointsWeight (double weight) |
void | addControlPoint (const CADVector &point) |
void | addFitPoint (const CADVector &point) |
bool | getWeight () const |
void | setWeight (bool value) |
double | getFitTollerance () const |
void | setFitTollerance (double value) |
Public Member Functions inherited from CADGeometry | |
enum GeometryType | getType () const |
double | getThickness () const |
void | setThickness (double thicknes) |
RGBColor | getColor () const |
void | setColor (int ACIColorIndex) |
void | addAttribute (CADAttdef *) |
void | addAttribute (CADAttrib *) |
map< string, CADAttdef > | getAttributes () |
Protected Attributes | |
long | scenario |
bool | rational |
bool | closed |
bool | weight |
double | fitTollerance |
std::vector< double > | ctrlPointsWeight |
std::vector< CADVector > | avertCtrlPoints |
std::vector< CADVector > | averFitPoints |
Protected Attributes inherited from CADGeometry | |
enum GeometryType | geometryType |
double | thickness |
RGBColor | geometry_color |
map< string, CADAttdef > | mapstAttributes |
Additional Inherited Members | |
Public Types inherited from CADGeometry | |
enum | GeometryType { UNDEFINED = 0, POINT, CIRCLE, LWPOLYLINE, ELLIPSE, LINE, POLYLINE3D, TEXT, ARC, SPLINE, SOLID, RAY, HATCH, IMAGE, MTEXT, MLINE, XLINE, FACE3D, POLYLINE_PFACE, ATTRIB, ATTDEF } |
The CAD geometry types enum. | |
Geometry class which represents Spline.