initBoundary method
void
initBoundary()
Implementation
void initBoundary() {
bounds = this.boundary;
if (bounds.isEmpty()) {
bounds = obstacles.convexHull();
}
//-- the centre point must be in the extent of the boundary
gridEnv = bounds.getEnvelopeInternal();
// if bounds does not enclose an area cannot create a ptLocater
if (bounds.getDimension() >= 2) {
boundaryPtLocater = new IndexedPointInAreaLocator( bounds );
boundaryDistance = new IndexedFacetDistance( bounds );
}
}