Rogue Wave Views Maps Package API Reference Guide |
Rogue Wave Views Documentation Home |
This class represents a simple map feature, that is, an object with a geometry that can be rendered graphically and, optionally, a list of attributes. More...
#include <ilviews/maps/mapfeature.h>
Public Member Functions | |
IlvMapFeature () | |
Initializes a new IlvMapFeature instance. More... | |
IlvMapFeature (const IlvMapFeature &source) | |
Initializes a map feature by copying an existing one. More... | |
IlvMapFeature * | copy () const |
Returns a copy of the object. More... | |
const IlvFeatureAttributeInfo * | getAttributeInfo () const |
Returns the attribute info of this map feature . More... | |
const IlvFeatureAttributeProperty * | getAttributes () const |
Returns the attributes of this feature. More... | |
const IlvMapGeometry * | getGeometry () const |
Returns the geometry of the map feature. More... | |
const IlvMapFeatureId * | getId () const |
Returns the identifier of the map feature. More... | |
const IlvProjection * | getProjection () const |
Returns the projection of the geometry of this map feature. More... | |
void | setAttributeInfo (IlvFeatureAttributeInfo *info) |
Sets the attribute info of the map feature. More... | |
IlvFeatureAttributeProperty * | setAttributes (IlvFeatureAttributeProperty *attributes) |
Sets the attributes of this map feature. More... | |
IlvMapGeometry * | setGeometry (IlvMapGeometry *geometry) |
Sets the geometry of the map feature. More... | |
IlvMapFeatureId * | setId (IlvMapFeatureId *id) |
Sets the identifier of the map feature. More... | |
void | setProjection (IlvProjection *projection) |
Sets the projection of the geometry of this map feature. More... | |
This class represents a simple map feature, that is, an object with a geometry that can be rendered graphically and, optionally, a list of attributes.
Library: ilvmaps
IlvFeatureRenderer
, IlvMapFeatureIterator
. IlvMapFeature::IlvMapFeature | ( | ) |
Initializes a new IlvMapFeature
instance.
This constructor initializes a new instance of IlvMapFeature
, with no geometry, no attributes and no projection.
IlvMapFeature::IlvMapFeature | ( | const IlvMapFeature & | source | ) |
Initializes a map feature by copying an existing one.
source | The map feature that is copied to initiazes this object. |
IlvMapFeature* IlvMapFeature::copy | ( | ) | const |
Returns a copy of the object.
const IlvFeatureAttributeInfo* IlvMapFeature::getAttributeInfo | ( | ) | const |
Returns the attribute info of this map feature .
0
if the map feature has no attribute.. const IlvFeatureAttributeProperty* IlvMapFeature::getAttributes | ( | ) | const |
Returns the attributes of this feature.
const IlvMapGeometry* IlvMapFeature::getGeometry | ( | ) | const |
Returns the geometry of the map feature.
const IlvMapFeatureId* IlvMapFeature::getId | ( | ) | const |
Returns the identifier of the map feature.
0
if the identifier is not defined. const IlvProjection* IlvMapFeature::getProjection | ( | ) | const |
Returns the projection of the geometry of this map feature.
0
if the projection in which the coordinates of the feature geometry are expressed is unknown. void IlvMapFeature::setAttributeInfo | ( | IlvFeatureAttributeInfo * | info | ) |
Sets the attribute info of the map feature.
info | The attribute info. |
IlvFeatureAttributeProperty* IlvMapFeature::setAttributes | ( | IlvFeatureAttributeProperty * | attributes | ) |
Sets the attributes of this map feature.
attributes | The attributes. |
IlvMapGeometry* IlvMapFeature::setGeometry | ( | IlvMapGeometry * | geometry | ) |
Sets the geometry of the map feature.
geometry | The geometry to be set. |
IlvMapFeatureId* IlvMapFeature::setId | ( | IlvMapFeatureId * | id | ) |
Sets the identifier of the map feature.
void IlvMapFeature::setProjection | ( | IlvProjection * | projection | ) |
Sets the projection of the geometry of this map feature.
projection | The projection. |
© Copyright 2018, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.