Search Results for

    Show / Hide Table of Contents

    Class InteriorPointLine

    Computes a point in the interior of an linear point. Algorithm: Find an interior vertex which is closest to the centroid of the linestring. If there is no interior vertex, find the endpoint which is closest to the centroid.

    Inheritance
    object
    InteriorPointLine
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: NetTopologySuite.Algorithm
    Assembly: NetTopologySuite.dll
    Syntax
    public class InteriorPointLine

    Constructors

    | Edit this page View Source

    InteriorPointLine(Geometry)

    Declaration
    public InteriorPointLine(Geometry g)
    Parameters
    Type Name Description
    Geometry g

    Properties

    | Edit this page View Source

    InteriorPoint

    Declaration
    public Coordinate InteriorPoint { get; }
    Property Value
    Type Description
    Coordinate

    Methods

    | Edit this page View Source

    GetInteriorPoint(Geometry)

    Computes an interior point for the linear components of a Geometry.

    Declaration
    public static Coordinate GetInteriorPoint(Geometry geom)
    Parameters
    Type Name Description
    Geometry geom

    The geometry to compute.

    Returns
    Type Description
    Coordinate

    The computed interior point, or null if the geometry has no linear components.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX