They include line segments, polylines, polygons, and arcs of circle, all provided with a so-called source point (head) and a so-called target point (tail), arbitrarily defined. All the corresponding classes derive from base class qgar::AbstractGenPrimitive.
An attributed version is available for each such primitive (see module Qgar primitives).
Some geometrical primitive type names are predefined to make it easier to write primitive declarations when coding.
Classes | |
| class | qgar::AbstractGenPrimitive< T > |
| Geometrical primitives with coordinates of type T. More... | |
| class | qgar::GenArc< T > |
| Arc of circle, with coordinates of type T. More... | |
| class | qgar::GenPolygon< T > |
| Geometrical polygon, with coordinates of type T. More... | |
| class | qgar::GenPolyline< T > |
| Geometrical polyline, with coordinates of type T. More... | |
| class | qgar::GenSegment< T > |
| Geometrical segment, with coordinates of type T. More... | |
Primitive types | |
| typedef AbstractGenPrimitive< int > | qgar::Primitive |
| Primitive with integer coordinates. | |
| typedef AbstractGenPrimitive< int > | qgar::IPrimitive |
| Primitive with integer coordinates. | |
| typedef AbstractGenPrimitive< float > | qgar::FPrimitive |
| Primitive with float coordinates. | |
| typedef AbstractGenPrimitive< double > | qgar::DPrimitive |
| Primitive with double coordinates. | |
Arc types | |
| typedef GenArc< int > | qgar::Arc |
| Arc with integer coordinates. | |
| typedef GenArc< int > | qgar::IArc |
| Arc with integer coordinates. | |
| typedef GenArc< float > | qgar::FArc |
| Arc with float coordinates. | |
| typedef GenArc< double > | qgar::DArc |
| Arc with double coordinates. | |
Point types | |
| typedef GenPoint< int > | qgar::Point |
| Points with integer coordinates. | |
| typedef GenPoint< int > | qgar::IPoint |
| Points with integer coordinates. | |
| typedef GenPoint< float > | qgar::FPoint |
| Points with coordinates of type float. | |
| typedef GenPoint< double > | qgar::DPoint |
| Points with coordinates of type double. | |
Polygon types | |
| typedef GenPolygon< int > | qgar::Polygon |
| Polygon with integer coordinates. | |
| typedef GenPolygon< int > | qgar::IPolygon |
| Polygon with integer coordinates. | |
| typedef GenPolygon< float > | qgar::FPolygon |
| Polygon with float coordinates. | |
| typedef GenPolygon< double > | qgar::DPolygon |
| Polygon with double coordinates. | |
Polyline types | |
| typedef GenPolyline< int > | qgar::Polyline |
| Polyline with integer coordinates. | |
| typedef GenPolyline< int > | qgar::IPolyline |
| Polyline with integer coordinates. | |
| typedef GenPolyline< float > | qgar::FPolyline |
| Polyline with float coordinates. | |
| typedef GenPolyline< double > | qgar::DPolyline |
| Polyline with double coordinates. | |
Segment types | |
| typedef GenSegment< int > | qgar::Segment |
| Segment with integer coordinates. | |
| typedef GenSegment< int > | qgar::ISegment |
| Segment with integer coordinates. | |
| typedef GenSegment< float > | qgar::FSegment |
| Segment with float coordinates. | |
| typedef GenSegment< double > | qgar::DSegment |
| Segment with double coordinates. | |
|
|
Arc with integer coordinates.
Definition at line 529 of file _QGAR_GenArc.H. |
|
|
Arc with double coordinates.
Definition at line 549 of file _QGAR_GenArc.H. |
|
|
Points with coordinates of type double.
Definition at line 729 of file _QGAR_GenPoint.H. |
|
|
Polygon with double coordinates.
Definition at line 567 of file _QGAR_GenPolygon.H. |
|
|
Polyline with double coordinates.
Definition at line 598 of file _QGAR_GenPolyline.H. |
|
|
Primitive with double coordinates.
Definition at line 699 of file _QGAR_AbstractGenPrimitive.H. |
|
|
Segment with double coordinates.
Definition at line 559 of file _QGAR_GenSegment.H. |
|
|
Arc with float coordinates.
Definition at line 543 of file _QGAR_GenArc.H. |
|
|
Points with coordinates of type float.
Definition at line 723 of file _QGAR_GenPoint.H. |
|
|
Polygon with float coordinates.
Definition at line 561 of file _QGAR_GenPolygon.H. |
|
|
Polyline with float coordinates.
Definition at line 592 of file _QGAR_GenPolyline.H. |
|
|
Primitive with float coordinates.
Definition at line 693 of file _QGAR_AbstractGenPrimitive.H. |
|
|
Segment with float coordinates.
Definition at line 553 of file _QGAR_GenSegment.H. |
|
|
Arc with integer coordinates.
Definition at line 537 of file _QGAR_GenArc.H. |
|
|
Points with integer coordinates.
Definition at line 717 of file _QGAR_GenPoint.H. |
|
|
Polygon with integer coordinates.
Definition at line 555 of file _QGAR_GenPolygon.H. |
|
|
Polyline with integer coordinates.
Definition at line 586 of file _QGAR_GenPolyline.H. |
|
|
Primitive with integer coordinates.
Definition at line 687 of file _QGAR_AbstractGenPrimitive.H. |
|
|
Segment with integer coordinates.
Definition at line 547 of file _QGAR_GenSegment.H. |
|
|
Points with integer coordinates.
Definition at line 709 of file _QGAR_GenPoint.H. |
|
|
Polygon with integer coordinates.
Definition at line 547 of file _QGAR_GenPolygon.H. |
|
|
Polyline with integer coordinates.
Definition at line 578 of file _QGAR_GenPolyline.H. |
|
|
Primitive with integer coordinates.
Definition at line 679 of file _QGAR_AbstractGenPrimitive.H. |
|
|
Segment with integer coordinates.
Definition at line 539 of file _QGAR_GenSegment.H. |