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