Point
. This class is scheduled to be
removed in the next major release.@Deprecated public class Polygon extends Polygon implements Shape
Polygon
.Constructor and Description |
---|
Polygon(List<P> points)
Deprecated.
Creates a new
Polygon for the given Points. |
Polygon(P x,
P y,
P z,
P... others)
Deprecated.
Creates a new
Polygon for the given Points. |
Modifier and Type | Method and Description |
---|---|
List<? extends Object> |
asList()
Deprecated.
|
static List<? extends Object> |
asList(Polygon polygon)
Deprecated.
|
String |
getCommand()
Deprecated.
Returns the command to be used to create the $within criterion.
|
equals, getPoints, hashCode, iterator, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public static final String COMMAND
public Polygon(P x, P y, P z, P... others)
Polygon
for the given Points.x
- y
- z
- others
- public String getCommand()
Shape
public List<? extends Object> asList()
Shape
Shape
as a list of usually Double
or List
s of Double
s. Wildcard bound
to allow implementations to return a more concrete element type.Copyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.