package com.interview.algorithms.geometry; /** * Created_By: zouzhile * Date: 1/16/15 * Time: 3:44 PM */ /** Point 1 is (x[0], y[0]), Point 2 is (x[1], y[1]) */ public class Segment { int[] p1, p2; Segment(int[] p1, int[] p2) {this.p1 = p1; this.p2 = p2;} }