Search Results for

    Show / Hide Table of Contents

    Class GeometryFeature

    Feature representing a NTS geometry on the map./>

    Inheritance
    object
    BaseFeature
    GeometryFeature
    Implements
    IFeature
    ICloneable
    Inherited Members
    BaseFeature.Id
    BaseFeature.Styles
    BaseFeature.Fields
    BaseFeature.Data
    BaseFeature.this[string]
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Mapsui.Nts
    Assembly: Mapsui.Nts.dll
    Syntax
    public class GeometryFeature : BaseFeature, IFeature, ICloneable

    Constructors

    | Edit this page View Source

    GeometryFeature()

    Declaration
    public GeometryFeature()
    | Edit this page View Source

    GeometryFeature(GeometryFeature)

    Declaration
    public GeometryFeature(GeometryFeature geometryFeature)
    Parameters
    Type Name Description
    GeometryFeature geometryFeature
    | Edit this page View Source

    GeometryFeature(GeometryFeature, long)

    Declaration
    public GeometryFeature(GeometryFeature geometryFeature, long id)
    Parameters
    Type Name Description
    GeometryFeature geometryFeature
    long id
    | Edit this page View Source

    GeometryFeature(Geometry?)

    Declaration
    public GeometryFeature(Geometry? geometry)
    Parameters
    Type Name Description
    Geometry geometry
    | Edit this page View Source

    GeometryFeature(long)

    Declaration
    public GeometryFeature(long id)
    Parameters
    Type Name Description
    long id

    Properties

    | Edit this page View Source

    Extent

    Extent of feature

    Declaration
    public override MRect? Extent { get; }
    Property Value
    Type Description
    MRect
    Overrides
    BaseFeature.Extent
    | Edit this page View Source

    Geometry

    Geometry for this feature

    Declaration
    public Geometry? Geometry { get; set; }
    Property Value
    Type Description
    Geometry

    Methods

    | Edit this page View Source

    Clone()

    Creates a new object that is a copy of the current instance.

    Declaration
    public override object Clone()
    Returns
    Type Description
    object

    A new object that is a copy of this instance.

    Overrides
    BaseFeature.Clone()
    | Edit this page View Source

    CoordinateVisitor(Action<double, double, CoordinateSetter>)

    Implementation of visitor pattern for coordinates

    Declaration
    public override void CoordinateVisitor(Action<double, double, CoordinateSetter> visit)
    Parameters
    Type Name Description
    Action<double, double, CoordinateSetter> visit
    Overrides
    BaseFeature.CoordinateVisitor(Action<double, double, CoordinateSetter>)
    | Edit this page View Source

    Modified()

    Function to call whenever something changes in settings of feature.

    Declaration
    public override void Modified()
    Overrides
    BaseFeature.Modified()

    Implements

    IFeature
    ICloneable

    Extension Methods

    DisposableExtension.DisposeIfDisposable(object?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX