Class GraphicHelper

java.lang.Object
org.graffiti.util.GraphicHelper
All Implemented Interfaces:
HelperClass

public class GraphicHelper
extends Object
implements HelperClass
  • Constructor Details

    • GraphicHelper

      public GraphicHelper()
  • Method Details

    • getIntersection

      public static Point2D getIntersection​(Line2D line1, Line2D line2)
      Returns the point where both lines intersect.
      Parameters:
      line1 - line to compute the intersection with l2
      line2 - line to compute the intersection with l1
      Returns:
      the intersection point of the given lines.