rp1.rossum
Class RsSegment

java.lang.Object
  extended by rp1.rossum.RsPoint
      extended by rp1.rossum.RsSegment
All Implemented Interfaces:
java.io.Serializable

public class RsSegment
extends RsPoint
implements java.io.Serializable

A representation of a fixed-length line segment; this class is used by the server for analysis.

See Also:
Serialized Form

Field Summary
 double m
           
 RsVector v
           
 
Fields inherited from class rp1.rossum.RsPoint
x, y
 
Constructor Summary
RsSegment()
           
RsSegment(double x0, double y0, double x1, double y1)
           
RsSegment(RsPoint a, RsPoint b)
           
RsSegment(RsSegment s)
           
 
Method Summary
 
Methods inherited from class rp1.rossum.RsPoint
copy, distance, move, move, subtract, translate, translate, translate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

v

public RsVector v

m

public double m
Constructor Detail

RsSegment

public RsSegment()

RsSegment

public RsSegment(RsPoint a,
                 RsPoint b)

RsSegment

public RsSegment(double x0,
                 double y0,
                 double x1,
                 double y1)

RsSegment

public RsSegment(RsSegment s)