/tripkit/CommonCoreLegacy/com.skedgo.tripkit.common.util/PolyUtil/isClosedPolygon

isClosedPolygon

\ open fun isClosedPolygon(poly: List<TripKitLatLng>): Boolean

Returns true if the provided list of points is a closed polygon (i.e., the first and last points are the same), and false if it is not

Return

true if the provided list of points is a closed polygon (i.e., the first and last points are the same), and false if it is not

Parameters

androidJvm

poly polyline or polygon