nl.idgis.giserver.dynamicsegmentation
Class LineSegmentDomain

java.lang.Object
  extended by nl.idgis.giserver.dynamicsegmentation.LineSegmentDomain

public class LineSegmentDomain
extends java.lang.Object

Define the domain with line/segment info for a given line geometry involved in the dynamic segmentation process. The LineSegmentContent instances will be store in a TreeSet, and therefore this class will implements the TreeSet comparator interface.

Author:
bretelerjj

Constructor Summary
LineSegmentDomain()
           
 
Method Summary
 void add(LineSegmentContent lineSegmentContent)
          Add line segment content to the line segment domain info.
 void doSegmentation()
          Generation of line segments from the line(s) according the registered info.
 org.deegree.model.spatialschema.LineString getLine()
           
 java.util.Vector<LineSegmentContent> getSegmentNodes()
          Getters and Setters
 LineSegmentContent[] getSegments()
           
 void setLine(org.deegree.model.spatialschema.LineString line)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineSegmentDomain

public LineSegmentDomain()
Method Detail

doSegmentation

public void doSegmentation()
                    throws org.deegree.model.spatialschema.GeometryException
Generation of line segments from the line(s) according the registered info. The result will be kept in this domain, and may be accessed by relevant getter getSegments.

Throws:
org.deegree.model.spatialschema.GeometryException

add

public void add(LineSegmentContent lineSegmentContent)
Add line segment content to the line segment domain info.

Parameters:
lineSegmentContent -

getSegmentNodes

public java.util.Vector<LineSegmentContent> getSegmentNodes()
Getters and Setters


getLine

public org.deegree.model.spatialschema.LineString getLine()

setLine

public void setLine(org.deegree.model.spatialschema.LineString line)

getSegments

public LineSegmentContent[] getSegments()