public class PolygonHoleJoiner extends Object
There is no attempt to optimize the quality of the join lines. In particular, a hole which already touches at a vertex may be joined at a different vertex.
Constructor and Description |
---|
PolygonHoleJoiner(Polygon inputPolygon) |
Modifier and Type | Method and Description |
---|---|
Coordinate[] |
compute()
Computes the joined ring.
|
static Coordinate[] |
join(Polygon inputPolygon) |
static Polygon |
joinAsPolygon(Polygon inputPolygon) |
public PolygonHoleJoiner(Polygon inputPolygon)
public static Coordinate[] join(Polygon inputPolygon)
public Coordinate[] compute()
Copyright © 2022. All rights reserved.