Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Geometrical primitives
[Primitives]


Detailed Description

Geometrical primitives.

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.


Typedef Documentation

typedef GenArc<int> qgar::Arc
 

Arc with integer coordinates.

See also:
qgar::IArc

Definition at line 529 of file _QGAR_GenArc.H.

typedef GenArc<double> qgar::DArc
 

Arc with double coordinates.

Definition at line 549 of file _QGAR_GenArc.H.

typedef GenPoint<double> qgar::DPoint
 

Points with coordinates of type double.

Definition at line 729 of file _QGAR_GenPoint.H.

typedef GenPolygon<double> qgar::DPolygon
 

Polygon with double coordinates.

Definition at line 567 of file _QGAR_GenPolygon.H.

typedef GenPolyline<double> qgar::DPolyline
 

Polyline with double coordinates.

Definition at line 598 of file _QGAR_GenPolyline.H.

typedef AbstractGenPrimitive<double> qgar::DPrimitive
 

Primitive with double coordinates.

Definition at line 699 of file _QGAR_AbstractGenPrimitive.H.

typedef GenSegment<double> qgar::DSegment
 

Segment with double coordinates.

Definition at line 559 of file _QGAR_GenSegment.H.

typedef GenArc<float> qgar::FArc
 

Arc with float coordinates.

Definition at line 543 of file _QGAR_GenArc.H.

typedef GenPoint<float> qgar::FPoint
 

Points with coordinates of type float.

Definition at line 723 of file _QGAR_GenPoint.H.

typedef GenPolygon<float> qgar::FPolygon
 

Polygon with float coordinates.

Definition at line 561 of file _QGAR_GenPolygon.H.

typedef GenPolyline<float> qgar::FPolyline
 

Polyline with float coordinates.

Definition at line 592 of file _QGAR_GenPolyline.H.

typedef AbstractGenPrimitive<float> qgar::FPrimitive
 

Primitive with float coordinates.

Definition at line 693 of file _QGAR_AbstractGenPrimitive.H.

typedef GenSegment<float> qgar::FSegment
 

Segment with float coordinates.

Definition at line 553 of file _QGAR_GenSegment.H.

typedef GenArc<int> qgar::IArc
 

Arc with integer coordinates.

See also:
qgar::Arc

Definition at line 537 of file _QGAR_GenArc.H.

typedef GenPoint<int> qgar::IPoint
 

Points with integer coordinates.

See also:
qgar::Point

Definition at line 717 of file _QGAR_GenPoint.H.

typedef GenPolygon<int> qgar::IPolygon
 

Polygon with integer coordinates.

See also:
qgar::Polygon

Definition at line 555 of file _QGAR_GenPolygon.H.

typedef GenPolyline<int> qgar::IPolyline
 

Polyline with integer coordinates.

See also:
qgar::Polyline

Definition at line 586 of file _QGAR_GenPolyline.H.

typedef AbstractGenPrimitive<int> qgar::IPrimitive
 

Primitive with integer coordinates.

See also:
qgar::Primitive

Definition at line 687 of file _QGAR_AbstractGenPrimitive.H.

typedef GenSegment<int> qgar::ISegment
 

Segment with integer coordinates.

See also:
qgar::Segment

Definition at line 547 of file _QGAR_GenSegment.H.

typedef GenPoint<int> qgar::Point
 

Points with integer coordinates.

See also:
qgar::IPoint

Definition at line 709 of file _QGAR_GenPoint.H.

typedef GenPolygon<int> qgar::Polygon
 

Polygon with integer coordinates.

See also:
qgar::IPolygon

Definition at line 547 of file _QGAR_GenPolygon.H.

typedef GenPolyline<int> qgar::Polyline
 

Polyline with integer coordinates.

See also:
qgar::IPolyline

Definition at line 578 of file _QGAR_GenPolyline.H.

typedef AbstractGenPrimitive<int> qgar::Primitive
 

Primitive with integer coordinates.

See also:
qgar::IPrimitive

Definition at line 679 of file _QGAR_AbstractGenPrimitive.H.

typedef GenSegment<int> qgar::Segment
 

Segment with integer coordinates.

See also:
qgar::ISegment

Definition at line 539 of file _QGAR_GenSegment.H.