public static LinearRing convert ( LinearRing linearRing , int dimension ) { return gf . createLinearRing ( convertSequence ( linearRing . getCoordinates ( ) , dimension ) ) ; }
Force the dimension of the LinearRing and update correctly the coordinate dimension