32 #ifndef CADGEOMETRIES_H 33 #define CADGEOMETRIES_H 35 #include "cadobjects.h" 36 #include "cadcolors.h" 80 double getThickness()
const;
81 void setThickness(
double thicknes);
83 void setColor(
int ACIColorIndex);
85 virtual void print ()
const = 0;
89 map< string, CADAttdef> getAttributes();
94 map< string, CADAttdef> mapstAttributes;
106 void setPosition(
const CADVector &value);
109 void setExtrusion(
const CADVector &value);
111 double getXAxisAng()
const;
112 void setXAxisAng(
double value);
114 virtual void print ()
const override;
135 virtual void print ()
const override;
151 size_t getVertexCount()
const;
153 virtual void print ()
const override;
155 vector<CADVector> vertexes;
166 virtual void print ()
const override;
167 double getConstWidth()
const;
168 void setConstWidth(
double value);
170 double getElevation()
const;
171 void setElevation(
double value);
174 void setVectExtrusion(
const CADVector &value);
176 vector<pair<double, double> > getWidths()
const;
177 void setWidths(
const vector<pair<double, double> > &value);
183 vector< pair< double, double > > widths;
194 double getRadius()
const;
195 void setRadius(
double value);
196 virtual void print ()
const override;
209 string getTextValue()
const;
210 void setTextValue(
const string &value);
212 double getHeight()
const;
213 void setHeight(
double value);
215 double getRotationAngle()
const;
216 void setRotationAngle(
double value);
218 double getObliqueAngle()
const;
219 void setObliqueAngle(
double value);
220 virtual void print ()
const override;
224 double rotationAngle;
237 double getStartingAngle()
const;
238 void setStartingAngle(
double value);
240 double getEndingAngle()
const;
241 void setEndingAngle(
double value);
242 virtual void print ()
const override;
245 double startingAngle;
256 double getAxisRatio()
const;
257 void setAxisRatio(
double value);
258 virtual void print ()
const override;
271 virtual void print ()
const override;
272 long getScenario()
const;
273 void setScenario(
long value);
275 bool getRational()
const;
276 void setRational(
bool value);
278 bool getClosed()
const;
279 void setClosed(
bool value);
281 void addControlPointsWeight(
double weight);
282 void addControlPoint(
const CADVector& point);
283 void addFitPoint(
const CADVector& point);
284 bool getWeight()
const;
285 void setWeight(
bool value);
287 double getFitTollerance()
const;
288 void setFitTollerance(
double value);
295 double fitTollerance;
297 std::vector < double > ctrlPointsWeight;
298 std::vector < CADVector > avertCtrlPoints;
299 std::vector < CADVector > averFitPoints;
309 virtual void print ()
const override;
310 double getElevation()
const;
311 void setElevation(
double value);
312 void addAverCorner(
const CADVector& corner);
315 vector < CADVector > avertCorners;
326 void setVectVector(
const CADVector &value);
327 virtual void print ()
const override;
347 void setVertInsertionPoint(
const CADVector &value);
350 void setImageSize(
const CADVector &value);
354 void setImageSizeInPx(
const CADVector &value);
356 CADVector getPixelSizeInACADUnits()
const;
357 void setPixelSizeInACADUnits(
const CADVector &value);
359 short getClippingBoundaryType()
const;
360 void setClippingBoundaryType(
short value);
362 unsigned char getResolutionUnits()
const;
363 void setResolutionUnits(
unsigned char value);
365 string getFilePath()
const;
366 void setFilePath(
const string &value);
368 void setOptions(
bool transparency,
bool clip,
369 unsigned char brightness,
unsigned char contrast);
370 virtual void print ()
const override;
371 void addClippingPoint(
const CADVector &pt);
382 unsigned char dBrightness;
383 unsigned char dContrast;
389 unsigned char resolutionUnits;
392 short clippingBoundaryType;
393 vector < CADVector > avertClippingPolygon;
404 double getRectWidth()
const;
405 void setRectWidth(
double value);
407 double getExtents()
const;
408 void setExtents(
double value);
410 double getExtentsWidth()
const;
411 void setExtentsWidth(
double value);
413 virtual void print ()
const override;
438 virtual void print ()
const override;
440 short getInvisFlags()
const;
441 void setInvisFlags(
short value);
444 vector < CADVector > avertCorners;
455 virtual void print ()
const override;
458 vector < CADVector > vertexes;
468 virtual void print ()
const override;
478 virtual void print ()
const override;
479 double getScale()
const;
480 void setScale(
double value);
482 bool getOpened()
const;
483 void setOpened(
bool value);
491 vector < CADVector > avertVertexes;
501 virtual void print ()
const override;
503 double getElevation()
const;
504 void setElevation(
double );
506 string getTag()
const;
507 void setTag(
const string& );
510 void setAlignmentPoint(
const CADVector& );
512 bool isPositionLocked()
const;
513 void setPositionLocked(
bool );
528 virtual void print ()
const override;
530 string getPrompt()
const;
531 void setPrompt(
const string& );
576 #endif // CADGEOMETRIES_H Geometry class which represents Arc.
Definition: cadgeometry.h:232
Geometry class which represents Hatch.
Definition: cadgeometry.h:333
Base CAD geometry class.
Definition: cadgeometry.h:46
Geometry class which represents Circle.
Definition: cadgeometry.h:189
Definition: cadobjects.h:39
GeometryType
The CAD geometry types enum.
Definition: cadgeometry.h:54
Geometry class which represents Image (Raster Image)
Definition: cadgeometry.h:342
Geometry class which represents Spline.
Definition: cadgeometry.h:267
Definition: cadcolors.h:34
Geometry class which represents MText.
Definition: cadgeometry.h:399
Geometry class which represents Ray.
Definition: cadgeometry.h:321
Geometry class which represents Polyline (PFace)
Definition: cadgeometry.h:451
Geometry class which represents LWPolyline.
Definition: cadgeometry.h:162
Geometry class which represents a simple Line.
Definition: cadgeometry.h:124
Geometry class which represents Attribute.
Definition: cadgeometry.h:497
Geometry class which represents Ellipse.
Definition: cadgeometry.h:252
Geometry class which a single Point.
Definition: cadgeometry.h:100
Geometry class which represents MLine.
Definition: cadgeometry.h:474
Geometry class which represents Attribute definition.
Definition: cadgeometry.h:524
Geometry class which represents Polyline 3D.
Definition: cadgeometry.h:146
Geometry class which represents Text.
Definition: cadgeometry.h:205
Geometry class which represents XLine.
Definition: cadgeometry.h:464
Geometry class which represents 3DFace.
Definition: cadgeometry.h:432
Geometry class which represents Solid.
Definition: cadgeometry.h:305