public class Road extends Entity
Modifier and Type | Field and Description |
---|---|
static int |
maxSegmentLengthMillis |
protected java.util.LinkedList<Point> |
points |
log, staticLock, subObjectNamespacesInt, transientPropertyKeys, type
lock, name
Modifier and Type | Method and Description |
---|---|
void |
addPoint(Point point) |
java.util.List<RoadSegment> |
generateRoadSegments() |
java.lang.Integer |
getHalfWidth() |
java.util.List<Point> |
getPoints() |
void |
setHalfWidth(java.lang.Integer width) |
void |
setPoints(java.util.List<Point> points) |
java.lang.String |
toString()
Returns the string describing this entity, useful for logging.
|
addSubObjectNamespace, equals, equals, getLock, getNamespace, getOid, getPersistenceFlag, getProperty, getSubObjectNamespaces, getSubObjectNamespacesInt, getTransientDataRef, getType, hashCode, hasSubObjectNamespace, isDeleted, registerTransientPropertyKey, removeProperty, removeSubObjectNamespace, setDeleted, setNamespace, setOid, setPersistenceFlag, setProperty, setSubObjectNamespaces, setSubObjectNamespacesInt, setType, toBytes, unregisterTransientPropertyKey
getBooleanProperty, getIntProperty, getName, getPropertyMap, getPropertyMapRef, getStringProperty, lock, modifyIntProperty, setName, setPropertyMap, setupTransient, unlock
protected java.util.LinkedList<Point> points
public static int maxSegmentLengthMillis
public java.lang.String toString()
Entity
public void setHalfWidth(java.lang.Integer width)
public java.lang.Integer getHalfWidth()
public void setPoints(java.util.List<Point> points)
public java.util.List<Point> getPoints()
public void addPoint(Point point)
public java.util.List<RoadSegment> generateRoadSegments()