001package icy.type.geom; 002 003import java.awt.geom.Line2D; 004import java.awt.geom.Point2D; 005 006/** 007 * @deprecated Use {@link GeomUtil} instead 008 */ 009@Deprecated 010public class Line2DUtil 011{ 012 /** 013 * @deprecated Use {@link GeomUtil#getIntersection(Line2D, Line2D)} instead 014 */ 015 @Deprecated 016 public static Point2D getIntersection(Line2D lineA, Line2D lineB) 017 { 018 return GeomUtil.getIntersection(lineA, lineB); 019 } 020 021 /** 022 * @deprecated Use {@link GeomUtil#getIntersection(Line2D, Line2D)} instead 023 */ 024 @Deprecated 025 public static Point2D getIntersection(Line2D lineA, Line2D lineB, boolean limitToSegmentA, boolean limitToSegmentB) 026 { 027 return GeomUtil.getIntersection(lineA, lineB, limitToSegmentA, limitToSegmentB); 028 } 029}