public final class TurfMeta
extends java.lang.Object
| Modifier and Type | Method and Description | 
|---|---|
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.Feature feature,
        boolean excludeWrapCoord)Get all coordinates from a  Featureobject, returning aListofPointobjects. | 
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.FeatureCollection featureCollection,
        boolean excludeWrapCoord)Get all coordinates from a  FeatureCollectionobject, returning aListofPointobjects. | 
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.LineString lineString)Get all coordinates from a  LineStringobject, returning aListof Point
 objects. | 
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.MultiLineString multiLineString)Get all coordinates from a  MultiLineStringobject, returning
 aListof Point objects. | 
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.MultiPoint multiPoint)Get all coordinates from a  MultiPointobject, returning aListof Point
 objects. | 
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.MultiPolygon multiPolygon,
        boolean excludeWrapCoord)Get all coordinates from a  MultiPolygonobject, returning aListof Point
 objects. | 
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.Point point)Get all coordinates from a  Pointobject, returning aListof Point objects. | 
| static java.util.List<com.mapbox.geojson.Point> | coordAll(com.mapbox.geojson.Polygon polygon,
        boolean excludeWrapCoord)Get all coordinates from a  Polygonobject, returning aListof Point objects. | 
| static com.mapbox.geojson.Point | getCoord(com.mapbox.geojson.Feature obj)Unwrap a coordinate  Pointfrom aFeaturewith aPointgeometry. | 
@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.Point point)
Point object, returning a List of Point objects.
 If you have a geometry collection, you need to break it down to individual geometry objects
 before using coordAll(com.mapbox.geojson.Point).point - any Point objectList made up of Points@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.MultiPoint multiPoint)
MultiPoint object, returning a List of Point
 objects. If you have a geometry collection, you need to break it down to individual geometry
 objects before using coordAll(com.mapbox.geojson.Point).multiPoint - any MultiPoint objectList made up of Points@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.LineString lineString)
LineString object, returning a List of Point
 objects. If you have a geometry collection, you need to break it down to individual geometry
 objects before using coordAll(com.mapbox.geojson.Point).lineString - any LineString objectList made up of Points@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.Polygon polygon,
                                                                         @NonNull
                                                                         boolean excludeWrapCoord)
Polygon object, returning a List of Point objects.
 If you have a geometry collection, you need to break it down to individual geometry objects
 before using coordAll(com.mapbox.geojson.Point).polygon - any Polygon objectexcludeWrapCoord - whether or not to include the final coordinate of LinearRings that
                         wraps the ring in its iterationList made up of Points@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.MultiLineString multiLineString)
MultiLineString object, returning
 a List of Point objects. If you have a geometry collection, you
 need to break it down to individual geometry objects before using
 coordAll(com.mapbox.geojson.Point).multiLineString - any MultiLineString objectList made up of Points@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.MultiPolygon multiPolygon,
                                                                         @NonNull
                                                                         boolean excludeWrapCoord)
MultiPolygon object, returning a List of Point
 objects. If you have a geometry collection, you need to break it down to individual geometry
 objects before using coordAll(com.mapbox.geojson.Point).multiPolygon - any MultiPolygon objectexcludeWrapCoord - whether or not to include the final coordinate of LinearRings that
                         wraps the ring in its iteration. Used to handle Polygon and
                         MultiPolygon geometries.List made up of Points@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.Feature feature,
                                                                         @NonNull
                                                                         boolean excludeWrapCoord)
Feature object, returning a List of Point
 objects.feature - the Feature that you'd like to extract the Points from.excludeWrapCoord - whether or not to include the final coordinate of LinearRings that
                         wraps the ring in its iteration. Used if the Feature
                         passed through the method is a Polygon or MultiPolygon
                         geometry.List made up of Points@NonNull
public static java.util.List<com.mapbox.geojson.Point> coordAll(@NonNull
                                                                         com.mapbox.geojson.FeatureCollection featureCollection,
                                                                         @NonNull
                                                                         boolean excludeWrapCoord)
FeatureCollection object, returning a
 List of Point objects.featureCollection - the FeatureCollection that you'd like
                          to extract the Points from.excludeWrapCoord - whether or not to include the final coordinate of LinearRings that
                          wraps the ring in its iteration. Used if a Feature in the
                          FeatureCollection that's passed through this method, is a
                          Polygon or MultiPolygon geometry.List made up of Pointspublic static com.mapbox.geojson.Point getCoord(com.mapbox.geojson.Feature obj)
Point from a Feature with a Point geometry.obj - any value