Class AbstractVectorFeature
This abstract class provides a base implementation of the IVectorFeature interface
updating incoming temporal changes by a
hard
assignment.
Inheritance
System.Object
AbstractVectorFeature
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Mars.Components.Layers
Assembly: Mars.Components.dll
Syntax
public abstract class AbstractVectorFeature : IVectorFeature
Remarks
To use a custom update approach, override the Update(VectorStructuredData) or Init(ILayer, VectorStructuredData) method
or implement the IVectorFeature by yourself.
Properties
| Improve this Doc View SourceLayer
Gets the responsible layer, connecting the feature with the complete model.
Declaration
public ILayer Layer { get; set; }
Property Value
Type | Description |
---|---|
ILayer |
Remarks
To use a custom update approach, override the Update(VectorStructuredData) or Init(ILayer, VectorStructuredData) method
or implement the IVectorFeature by yourself.
|
Improve this Doc
View Source
VectorStructured
Gets the vector data object, containing the geometry and key-value data.
Declaration
public VectorStructuredData VectorStructured { get; set; }
Property Value
Type | Description |
---|---|
VectorStructuredData |
Remarks
To use a custom update approach, override the Update(VectorStructuredData) or Init(ILayer, VectorStructuredData) method
or implement the IVectorFeature by yourself.
Methods
| Improve this Doc View SourceInit(ILayer, VectorStructuredData)
Initialize the vector-feature, preparing the object with data and the
connection the the complete global model.
Declaration
public virtual void Init(ILayer layer, VectorStructuredData data)
Parameters
Type | Name | Description |
---|---|---|
ILayer | layer | The layer reference to global model. |
VectorStructuredData | data | The data object passed to initialize this domain object. |
Remarks
To use a custom update approach, override the Update(VectorStructuredData) or Init(ILayer, VectorStructuredData) method
or implement the IVectorFeature by yourself.
|
Improve this Doc
View Source
Update(VectorStructuredData)
Updates the data by hard assignment.
Declaration
public virtual void Update(VectorStructuredData data)
Parameters
Type | Name | Description |
---|---|---|
VectorStructuredData | data | The new data object. |
Remarks
To use a custom update approach, override the Update(VectorStructuredData) or Init(ILayer, VectorStructuredData) method
or implement the IVectorFeature by yourself.