26#ifndef __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYPROPERTY_H
27#define __TERRALIB_GEOMETRY_INTERNAL_GEOMETRYPROPERTY_H
83 std::string* defaultValue = 0,
106 std::string* defaultValue = 0,
An atomic property like an integer or double.
It models a property definition.
An atomic property like an integer or double.
bool isRequired() const
It returns true if the attribute is required, otherwise it returns false.
An Envelope defines a 2D rectangular region.
GeometryProperty(const std::string &name, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, te::dt::Property *parent=0)
It constructs a new GeometryProperty.
te::dt::Property * clone() const
It returns a clone of the object.
GeometryProperty(const GeometryProperty &rhs)
Copy constructor.
int getSRID() const
It returns the spatial reference system identifier associated to this property.
GeomType getGeometryType() const
It returns the geometry subtype allowed for the property.
void setSRID(int srid)
It sets the spatial reference system identifier associated to this property.
~GeometryProperty()
Destructor.
int m_srid
The SRS associated to the property.
GeometryProperty & operator=(const GeometryProperty &rhs)
Assignment operator not allowed.
GeomType m_geomType
The geometry type.
GeometryProperty(const std::string &name, int srid, te::gm::GeomType subtype, bool isRequired=false, std::string *defaultValue=0, unsigned int id=0, te::dt::Property *parent=0)
It constructs a new GeometryProperty.
void setGeometryType(GeomType t)
It sets the geometry subtype.
Enumerations related to Geometry module.
Namespace for the Vector Geometry module of TerraLib.
GeomType
Each enumerated type is compatible with a Well-known Binary (WKB) type code.
Configuration flags for the Vector Geometry Model of TerraLib.
#define TEGEOMEXPORT
You can use this macro in order to export/import classes and functions from this module.