libopencad
Public Member Functions | Protected Attributes | List of all members
CADSpline Class Reference

Geometry class which represents Spline. More...

#include <cadgeometry.h>

Inheritance diagram for CADSpline:
CADGeometry

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, CADAttdefgetAttributes ()
 

Protected Attributes

long scenario
 
bool rational
 
bool closed
 
bool weight
 
double fitTollerance
 
std::vector< double > ctrlPointsWeight
 
std::vector< CADVectoravertCtrlPoints
 
std::vector< CADVectoraverFitPoints
 
- Protected Attributes inherited from CADGeometry
enum GeometryType geometryType
 
double thickness
 
RGBColor geometry_color
 
map< string, CADAttdefmapstAttributes
 

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.
 

Detailed Description

Geometry class which represents Spline.


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