sddl.hierarchy
Class Point

java.lang.Object
  extended by sddl.hierarchy.AbstractPoint
      extended by sddl.hierarchy.Point

public class Point
extends AbstractPoint

This class represents a Point with absolute values in the two dimensional plane

Version:
1.00
Author:
Mathieu Bourgeois

Constructor Summary
Point()
          Standard SDDL constructor
Point(double x, double y)
          Java-only constructor
 
Method Summary
 Point copy()
          Returns a copy of this Point
 java.lang.String solve()
          Gives an Asymptote string describing the point
 java.lang.String toString()
          Returns a string describing the Point, not necessarily Asymptote-like
 
Methods inherited from class sddl.hierarchy.AbstractPoint
add, combine, multiply
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Point

public Point()
Standard SDDL constructor


Point

public Point(double x,
             double y)
Java-only constructor

Parameters:
x - The x component of the point
y - The y component of the point
Method Detail

solve

public java.lang.String solve()
Gives an Asymptote string describing the point

Specified by:
solve in class AbstractPoint
Returns:
An Asymptote string describing the point

toString

public java.lang.String toString()
Returns a string describing the Point, not necessarily Asymptote-like

Overrides:
toString in class java.lang.Object
Returns:
A String describing the Point

copy

public Point copy()
Returns a copy of this Point

Specified by:
copy in class AbstractPoint
Returns:
A copy of this Point