question: returns the number of points comprising this geoshape . a point and circle have only one point center of cricle , a box has two points the south-west and north-east corners and a polygon has a variable number of points > = 3 . 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 Type getType 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
target: int function ( ) { switch ( getType ( ) ) { case POINT : return 1 ; case CIRCLE : return 1 ; case BOX : return 2 ; case POLYGON : return coordinates [ 0 ] . length ; default : throw new IllegalStateException ( "srini_string" + getType ( ) ) ; } }