/** * Adds a hole to the polygon formed by this ring. * * @param hole the {@link LinearRing} forming the hole. */ public void addHole(LinearRing hole) { if (holes == null) holes = new ArrayList(); holes.add(hole); }
/** * Adds a {@link DirectedEdge} which is known to form part of this ring. * * @param de the {@link DirectedEdge} to add. */ public void add(DirectedEdge de) { deList.add(de); }