org.osm2world.core.world.data
public interface WorldObject
Modifier and Type | Method and Description |
---|---|
void |
defineEleConstraints(EleConstraintEnforcer enforcer)
lets this object add constraints for the relative elevations of its
EleConnector s. |
Iterable<EleConnector> |
getEleConnectors()
returns all
EleConnector s used by this WorldObject |
GroundState |
getGroundState()
returns whether this feature is on, above or below the ground.
|
MapElement |
getPrimaryMapElement()
returns the "primary"
MapElement for this WorldObject;
i.e. |
MapElement getPrimaryMapElement()
MapElement
for this WorldObject;
i.e. the one it is most strongly associated with.
Can be null if there is no (clear) primary element for this feature.GroundState getGroundState()
Iterable<EleConnector> getEleConnectors()
EleConnector
s used by this WorldObjectvoid defineEleConstraints(EleConstraintEnforcer enforcer)
EleConnector
s. Called after getEleConnectors()
.