public abstract class Element extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<Integer> |
WEIGHTED_PROPERTIES
The list that will contains the property values that will be used during the intersection.
|
| Constructor and Description |
|---|
Element()
default constructor
|
Element(Element element)
Constructor
|
Element(int property)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(int property)
add property value.
|
abstract boolean |
contains(com.vividsolutions.jts.geom.Coordinate c)
Check if the coordinate is inside the element
|
abstract boolean |
contains(DPoint aPoint)
Check if the point is inside the element
|
abstract BoundaryBox |
getBoundingBox()
Computed bounding box
|
int |
getExternalGID()
get the external GID associated to the object (-1 if it has not been set)
|
int |
getGID()
get GID value
|
double |
getHeight()
Get the height of the element.
|
int |
getMaxWeight(Map<Integer,Integer> map)
Get the weight of this DEdge.
|
int |
getProperty()
get property value
|
boolean |
hasProperty(int property)
check for a specific type value
|
void |
removeProperties()
Remove all properties of the element
|
void |
setExternalGID(int externalGID)
Set an external GID, referencing this object for an external use, and
eventually make correspondances with an external attributes table.
|
void |
setGID(int gid)
set GID value
|
void |
setHeight(double height)
Set the height of the element
|
void |
setProperty(int property)
set property value
|
public static final List<Integer> WEIGHTED_PROPERTIES
public Element()
public Element(Element element)
public Element(int property)
public final void setGID(int gid)
gid - public final int getGID()
public final void setProperty(int property)
property - public void addProperty(int property)
property - public final boolean hasProperty(int property)
property - public final int getProperty()
public final void removeProperties()
public final int getMaxWeight(Map<Integer,Integer> map)
map - public final void setExternalGID(int externalGID)
externalGID - public final int getExternalGID()
public final double getHeight()
public final void setHeight(double height)
height - public abstract BoundaryBox getBoundingBox()
public abstract boolean contains(DPoint aPoint)
aPoint - public abstract boolean contains(com.vividsolutions.jts.geom.Coordinate c)
throws DelaunayError
c - DelaunayErrorCopyright © 2013 IRSTV CNRS-FR-2488. All Rights Reserved.