NetTopologySuite
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
NetTopologySuite.Features.FeatureCollection Class Reference

Represents a feature collection. /summary> More...

Public Member Functions

 FeatureCollection (Collection< IFeature > features)
 Initializes a new instance of the FeatureCollection class. More...
 
 FeatureCollection ()
 Initializes a new instance of the FeatureCollection class. More...
 
void Add (IFeature feature)
 Adds the specified feature. More...
 
bool Remove (IFeature feature)
 Removes the specified feature. More...
 
void RemoveAt (int index)
 Removes the element at the specified index of the collection. More...
 

Properties

Collection< IFeatureFeatures [get]
 Gets the features. More...
 
string Type [get]
 Gets the (mandatory) type of the GeoJSON Object. More...
 
ICRSObject CRS [get, set]
 Gets or sets the (optional) Coordinate Reference System Object. More...
 
IFeature this[int index] [get]
 Returns the indexTh element in the collection. More...
 
int Count [get]
 Returns the number of features contained by this FeatureCollection. More...
 

Detailed Description

Represents a feature collection. /summary>

Constructor & Destructor Documentation

NetTopologySuite.Features.FeatureCollection.FeatureCollection ( Collection< IFeature features)

Initializes a new instance of the FeatureCollection class.

Parameters
featuresThe features.
NetTopologySuite.Features.FeatureCollection.FeatureCollection ( )

Initializes a new instance of the FeatureCollection class.

Member Function Documentation

void NetTopologySuite.Features.FeatureCollection.Add ( IFeature  feature)

Adds the specified feature.

Parameters
featureThe feature.
bool NetTopologySuite.Features.FeatureCollection.Remove ( IFeature  feature)

Removes the specified feature.

Parameters
featureThe feature.
Returns
true if item is successfully removed; otherwise, false. This method also returns false if item was not found in the collection.
void NetTopologySuite.Features.FeatureCollection.RemoveAt ( int  index)

Removes the element at the specified index of the collection.

Parameters
indexThe index.

Property Documentation

int NetTopologySuite.Features.FeatureCollection.Count
get

Returns the number of features contained by this FeatureCollection.

ICRSObject NetTopologySuite.Features.FeatureCollection.CRS
getset

Gets or sets the (optional) Coordinate Reference System Object.

The Coordinate Reference System Objects.

Collection<IFeature> NetTopologySuite.Features.FeatureCollection.Features
get

Gets the features.

The features.

IFeature NetTopologySuite.Features.FeatureCollection.this[int index]
get

Returns the indexTh element in the collection.

Returns
string NetTopologySuite.Features.FeatureCollection.Type
get

Gets the (mandatory) type of the GeoJSON Object.

The type of the object.


The documentation for this class was generated from the following file: