Class SurfaceMaskLine.MaskPoint

java.lang.Object
cz.fidentis.analyst.data.surfacemask.SurfaceMaskLine.MaskPoint
Enclosing interface:
SurfaceMaskLine

public static class SurfaceMaskLine.MaskPoint extends Object
A class representing the node in a mask point list
  • Constructor Details

    • MaskPoint

      public MaskPoint(Point point)
      Constructor with a single parameter
      Parameters:
      point - initial point
  • Method Details

    • getPoint

      public Point getPoint()
      gets the point value of this node
      Returns:
      point value
    • setNext

      public void setNext(SurfaceMaskLine.MaskPoint next)
      sets the successor of this node
      Parameters:
      next - successor to set
    • getNext

      public SurfaceMaskLine.MaskPoint getNext()
    • isPointToBeSelected

      public boolean isPointToBeSelected(Point location)
      Verifies if this node is to be selected based on the location of the selected point
      Parameters:
      location - location of the point
      Returns:
      true if node is to be selected, else false