sddl.hierarchy
Class BinaryMapPoint

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

public class BinaryMapPoint
extends AbstractPoint

Represents a combination of two points

Version:
1.00
Author:
Mathieu Bourgeois

Constructor Summary
BinaryMapPoint(AbstractPoint firstPoint, AbstractPoint secondPoint)
          Creates the combination of the two points
 
Method Summary
 BinaryMapPoint copy()
          Returns a copy of this Point
 void setMapTypeAdd()
          Sets the combination to be an Asymptote add function
 java.lang.String solve()
          Returns an Asymptote string describing the combination of the two points
 
Methods inherited from class sddl.hierarchy.AbstractPoint
add, combine, multiply
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryMapPoint

public BinaryMapPoint(AbstractPoint firstPoint,
                      AbstractPoint secondPoint)
Creates the combination of the two points

Parameters:
firstPoint - The first point
secondPoint - The second point
Method Detail

copy

public BinaryMapPoint copy()
Returns a copy of this Point

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

solve

public java.lang.String solve()
Returns an Asymptote string describing the combination of the two points

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

setMapTypeAdd

public void setMapTypeAdd()
Sets the combination to be an Asymptote add function