question: public void computeRing ( ) { if ( ring != null ) return ; Coordinate [ ] coord = new Coordinate [ pts . size ( ) ] ; for ( int i = 0 ; i < pts . size ( ) ; i ++ ) { coord [ i ] = ( Coordinate ) pts . get ( i ) ; } ring = geometryFactory . createLinearRing ( coord ) ; isHole = CGAlgorithms . isCCW ( ring . getCoordinates ( ) ) ; }
target:  Compute a LinearRing from the point list previously collected. Test if the ring is a hole (i.e. if it is CCW) and set the hole flag accordingly.