lv.lumii.layoutengine.universalLayout

## Class SimpleOrthogonalSegment

- java.lang.Object
- - lv.lumii.layoutengine.obstacleGraph.Segment
  - - lv.lumii.layoutengine.universalLayout.SimpleOrthogonalSegment

- All Implemented Interfaces:
    java.lang.Comparable<Segment>

      public class SimpleOrthogonalSegment
      extends Segment

  Class that extends Segment class, it is used in UniversalLayoutAlgorithm.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from class lv.lumii.layoutengine.obstacleGraph.Segment

      `Segment.VerticalPart<S extends Segment>`

  - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `BoxInGrid` | `boxIG` Object from which segment was created.

    - ### Fields inherited from class lv.lumii.layoutengine.obstacleGraph.Segment

      `end, pos, start`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SimpleOrthogonalSegment(double pos, double start, double end)` Constructor of segment.

  - ### Method Summary

    - ### Methods inherited from class lv.lumii.layoutengine.obstacleGraph.Segment

      `compareTo, getEnd, getPos, getStart, setEnd, setPos, setStart`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### boxIG

          public BoxInGrid boxIG

      Object from which segment was created.

  - ### Constructor Detail

    - #### SimpleOrthogonalSegment

          public SimpleOrthogonalSegment(double pos,
                                         double start,
                                         double end)

      Constructor of segment.
      Parameters:
        `pos` - The position of the segment.
        `start` - The start coordinate of the segment.
        `end` - The end coordinate of the segment.