MapLink Pro 11.1.1.0.
Envitia MapLink Pro: The Ultimate Mapping Application Toolkit
Loading...
Searching...
No Matches
envitia::maplink::earth::geometry::Polyline Class Reference
Inheritance diagram for envitia::maplink::earth::geometry::Polyline:

Detailed Description

A Polyline Primitive.

A Polyline is a line within 3D space defined by a single set of edge coordinates in geodetic space. Edges are 'open' - The last point does not need to be the same as the first.

Public Member Functions

 Polyline ()
 Constructor.
 
 Polyline (const char *style)
 
 Polyline (const char *style, const GeodeticPointSet &c)
 
 Polyline (const Polyline &other)
 Copy Constructor.
 
virtual ~Polyline ()
 Destructor.
 
virtual GeometryType type () const
 Query the type of the geometry instance.
 
virtual Geometryclone () const
 
const GeodeticPointSetcoords () const
 Query the coordinates of the line.
 
void coords (const GeodeticPointSet &c)
 Set the coordinates of the line.
 

Additional Inherited Members

 The type of a geometry instance. More...

Constructor & Destructor Documentation

◆ Polyline() [1/4]

envitia::maplink::earth::geometry::Polyline::Polyline ( )

Constructor.

◆ Polyline() [2/4]

envitia::maplink::earth::geometry::Polyline::Polyline ( const char * style)

Constructor

Parameters
styleThe name of the style to use when rendering.

◆ Polyline() [3/4]

envitia::maplink::earth::geometry::Polyline::Polyline ( const char * style,
const GeodeticPointSet & c )

Constructor

Parameters
styleThe name of the style to use when rendering.
cThe coordinate set which defines the Polyline.

◆ Polyline() [4/4]

envitia::maplink::earth::geometry::Polyline::Polyline ( const Polyline & other)

Copy Constructor.

◆ ~Polyline()

virtual envitia::maplink::earth::geometry::Polyline::~Polyline ( )
virtual

Destructor.

Member Function Documentation

◆ clone()

virtual Geometry * envitia::maplink::earth::geometry::Polyline::clone ( ) const
virtual

Create a clone of this geometry

If the geometry is a set this will perform a deep copy (All children of the set will be cloned).

Implements envitia::maplink::earth::geometry::Geometry.

◆ coords() [1/2]

const GeodeticPointSet & envitia::maplink::earth::geometry::Polyline::coords ( ) const

Query the coordinates of the line.

◆ coords() [2/2]

void envitia::maplink::earth::geometry::Polyline::coords ( const GeodeticPointSet & c)

Set the coordinates of the line.

◆ type()

virtual GeometryType envitia::maplink::earth::geometry::Polyline::type ( ) const
virtual

Query the type of the geometry instance.

Implements envitia::maplink::earth::geometry::Geometry.