computational.geometry
Class RealSegment

java.lang.Object
  extended by computational.geometry.RealSegment
All Implemented Interfaces:
RealShape

public class RealSegment
extends java.lang.Object
implements RealShape


Constructor Summary
RealSegment(RealPoint p0, RealPoint p1)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List getPoints()
           
 Shape toShape()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealSegment

public RealSegment(RealPoint p0,
                   RealPoint p1)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getPoints

public java.util.List getPoints()

toShape

public Shape toShape()
Specified by:
toShape in interface RealShape