public void setGeometry ( Geometry geometry ) { this . geometry = geometry ; empty = geometry == null ; if ( geometry != null ) { extended = GeometryExtensions . isNonStandard ( geometry . getGeometryType ( ) ) ; } }
Set the geometry . Updates the empty flag and if the geometry is not null the extended flag