Class InteriorPointPoint
Computes a point in the interior of an point point. Algorithm: Find a point which is closest to the centroid of the point.
Inherited Members
Namespace: NetTopologySuite.Algorithm
Assembly: NetTopologySuite.dll
Syntax
public class InteriorPointPoint
Constructors
| Improve this Doc View SourceInteriorPointPoint(Geometry)
Declaration
public InteriorPointPoint(Geometry g)
Parameters
Type | Name | Description |
---|---|---|
Geometry | g |
Properties
| Improve this Doc View SourceInteriorPoint
Declaration
public Coordinate InteriorPoint { get; }
Property Value
Type | Description |
---|---|
Coordinate |
Methods
| Improve this Doc View SourceGetInteriorPoint(Geometry)
Computes an interior point for the puntal 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 puntal components. |