Table of Contents

Class InteriorPointPoint

Namespace
NetTopologySuite.Algorithm
Assembly
NetTopologySuite.dll

Computes a point in the interior of an point point. Algorithm: Find a point which is closest to the centroid of the point.

public class InteriorPointPoint
Inheritance
InteriorPointPoint
Inherited Members

Constructors

InteriorPointPoint(Geometry)

public InteriorPointPoint(Geometry g)

Parameters

g Geometry

Properties

InteriorPoint

public Coordinate InteriorPoint { get; }

Property Value

Coordinate

Methods

GetInteriorPoint(Geometry)

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

public static Coordinate GetInteriorPoint(Geometry geom)

Parameters

geom Geometry

The geometry to compute.

Returns

Coordinate

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