|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jdelaunay.delaunay.geometries.Element
public abstract class Element
Abstract container for all the geometric elements that are used during the triangulation
| Field Summary | |
|---|---|
static List<Integer> |
WEIGHTED_PROPERTIES
The list that will contains the property values that will be used during the intersection. |
| Constructor Summary | |
|---|---|
Element()
default constructor |
|
Element(Element element)
Constructor |
|
Element(int property)
Constructor |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final List<Integer> WEIGHTED_PROPERTIES
| Constructor Detail |
|---|
public Element()
public Element(Element element)
public Element(int property)
| Method Detail |
|---|
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 -
DelaunayError
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||