Interface IVectorFeature
The contract to implement when custom vector feature type is provided for
the IVectorLayer in order to encapsulate the internal vector objects.
Namespace: Mars.Interfaces.Layers
Assembly: Mars.Interfaces.dll
Syntax
public interface IVectorFeature
Properties
| Improve this Doc View SourceVectorStructured
Gets or sets the concrete feature data containing the geometry such as (point, line, polygon)
and the set of any attributes and values.
Declaration
VectorStructuredData VectorStructured { get; set; }
Property Value
Type | Description |
---|---|
VectorStructuredData |
Methods
| Improve this Doc View SourceInit(ILayer, VectorStructuredData)
Initialize the internal vector-layer feature.
Declaration
void Init(ILayer layer, VectorStructuredData data)
Parameters
Type | Name | Description |
---|---|---|
ILayer | layer | The vector-layer that contains this vector-feature. |
VectorStructuredData | data | The data for initialization. |
Update(VectorStructuredData)
Updates the vector-feature when a change event occurs for that object.
Declaration
void Update(VectorStructuredData data)
Parameters
Type | Name | Description |
---|---|---|
VectorStructuredData | data |