Rogue Wave Views 5.6 |
Rogue Wave Views |
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 an instance of IlvMapFeature . More... | |
IlvMapFeature (const IlvMapFeature &source) | |
Initializes a map feature by copying an existing one. | |
IlvMapFeature * | copy () const |
Returns a copy of the object. More... | |
const IlvFeatureAttributeInfo * | getAttributeInfo () const |
Returns the attribute info of the map feature or 0 if the map feature has no attribute. More... | |
const IlvFeatureAttributeProperty * | getAttributes () const |
Returns the attributes of the 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 the map feature or 0 if the projection in which the coordinates of the feature geometry are expressed is unknown. More... | |
void | setAttributeInfo (IlvFeatureAttributeInfo *info) |
Sets the attribute info of the map feature. More... | |
IlvFeatureAttributeProperty * | setAttributes (IlvFeatureAttributeProperty *attributes) |
Sets the attributes of the 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 the 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
IlvMapFeature::IlvMapFeature | ( | ) |
Initializes an instance of IlvMapFeature
.
This constructor initializes a new instance of IlvMapFeature
, with no geometry, no attributes and no projection.
IlvMapFeature* IlvMapFeature::copy | ( | ) | const |
Returns a copy of the object.
const IlvFeatureAttributeInfo* IlvMapFeature::getAttributeInfo | ( | ) | const |
Returns the attribute info of the map feature or 0
if the map feature has no attribute.
const IlvFeatureAttributeProperty* IlvMapFeature::getAttributes | ( | ) | const |
Returns the attributes of the 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 the map feature or 0
if the projection in which the coordinates of the feature geometry are expressed is unknown.
0
. 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 the map feature.
attribute | 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 the map feature.
projection | The projection. |
© Copyright 2012, 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.