Type function ( ) { if ( coordinates [ 0 ] . length == 1 ) return Type . POINT ; else if ( coordinates [ 0 ] . length > 2 ) return Type . POLYGON ; else { if ( Float . isNaN ( coordinates [ 0 ] [ 1 ] ) ) return Type . CIRCLE ; else return Type . BOX ; } }
returns the type of this geoshape . concode_field_sep float latitude concode_elem_sep float[][] coordinates concode_elem_sep SpatialContext CTX concode_elem_sep float longitude concode_field_sep Point getPoint concode_elem_sep Point getPoint concode_elem_sep boolean intersect concode_elem_sep float getLongitude concode_elem_sep double distance concode_elem_sep boolean within concode_elem_sep com.spatial4j.core.shape.Point getSpatial4jPoint concode_elem_sep SpatialRelation getSpatialRelation concode_elem_sep float getLatitude concode_elem_sep Geoshape box concode_elem_sep Geoshape box concode_elem_sep Shape convert2Spatial4j concode_elem_sep float getRadius concode_elem_sep Geoshape point concode_elem_sep Geoshape point concode_elem_sep boolean isValidCoordinate concode_elem_sep int size concode_elem_sep int hashCode concode_elem_sep int hashCode concode_elem_sep boolean disjoint concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep Geoshape circle concode_elem_sep Geoshape circle