|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nl.idgis.giserver.dynamicsegmentation.LineSegmentContent
public class LineSegmentContent
Content class to kept information for a line segment. The registerd
information will be :
Constructor Summary | |
---|---|
LineSegmentContent(org.deegree.model.feature.Feature segmentDenominatorFeature,
org.deegree.model.spatialschema.LineString line,
org.deegree.model.spatialschema.Position point,
double distance,
int nextSiblingLinePointIndex,
int previousSiblingLinePointIndex)
constructor |
Method Summary | |
---|---|
int |
compareTo(LineSegmentContent comparand)
The comparation is done on registered primary key and if not available default the distance is taken. |
double |
getDistance()
|
org.deegree.model.spatialschema.LineString |
getLine()
|
int |
getNextSiblingLinePointIndex()
|
org.deegree.model.spatialschema.Position |
getPoint()
Getters and Setters |
int |
getPreviousSiblingLinePointIndex()
|
java.lang.String |
getPrimaryKey()
|
org.deegree.model.spatialschema.Curve |
getSegment()
|
org.deegree.model.feature.Feature |
getSegmentDenominatorFeature()
|
void |
setPrimaryKey(java.lang.String primaryKey)
|
void |
setSegment(org.deegree.model.spatialschema.Curve segment)
|
void |
setSegmentDenominatorFeature(org.deegree.model.feature.Feature segmentDenominatorFeature)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LineSegmentContent(org.deegree.model.feature.Feature segmentDenominatorFeature, org.deegree.model.spatialschema.LineString line, org.deegree.model.spatialschema.Position point, double distance, int nextSiblingLinePointIndex, int previousSiblingLinePointIndex)
segmentDenominatorFeature.
- line
- source for the segments.point
- instingator for the segmentation.distance
- from begin of source linenextSiblingLinePointIndex
- range 0 ... n-1previousSiblingLinePointIndex
- range 0 ... n-1Method Detail |
---|
public org.deegree.model.spatialschema.Position getPoint()
public double getDistance()
public org.deegree.model.spatialschema.LineString getLine()
public org.deegree.model.spatialschema.Curve getSegment()
public void setSegment(org.deegree.model.spatialschema.Curve segment)
public org.deegree.model.feature.Feature getSegmentDenominatorFeature()
public void setSegmentDenominatorFeature(org.deegree.model.feature.Feature segmentDenominatorFeature)
public int getNextSiblingLinePointIndex()
public int getPreviousSiblingLinePointIndex()
public java.lang.String getPrimaryKey()
public void setPrimaryKey(java.lang.String primaryKey)
public int compareTo(LineSegmentContent comparand)
comparand
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |