http://jira.codehaus.org/browse/geot-1923 concode_field_sep LiteCoordinateSequenceFactory csf concode_elem_sep GeometryFactory gf concode_field_sep void testDistance concode_elem_sep void testDecimate3DLine concode_elem_sep void testDecimateOpenTriangle concode_elem_sep void testDecimatePseudoRing concode_elem_sep void testNoDecimation concode_elem_sep void testDecimate3DPoint concode_elem_sep void testDecimateRing
void function ( ) { LinearRing loc0 = gf . createLinearRing ( csf . create ( new double [ ] { 0 , 0 , 0 , 10 , 2 , 10 , 2 , 0 , 0 , 0 } ) ) ; assertTrue ( loc0 . isValid ( ) ) ; Decimator loc1 = new Decimator ( 20 , 20 ) ; loc1 . decimate ( loc0 ) ; loc0 . geometryChanged ( ) ; assertTrue ( loc0 . isValid ( ) ) ; assertEquals ( 4 , loc0 . getCoordinateSequence ( ) . size ( ) ) ; }