sddl.hierarchy
Class UnaryMapPoint

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

public class UnaryMapPoint
extends AbstractPoint

This class describes an Asymptote point. It can be preceded and followed by a string. This is used to implement some function calls on unknown value of points.

Version:
1.00
Author:
Mathieu Bourgeois

Constructor Summary
UnaryMapPoint(AbstractPoint point)
          Creates a UnaryMapPoint which possesses a point, but no prefix and suffix
 
Method Summary
 UnaryMapPoint copy()
          Returns a copy of this Point
 void setMapTypeMultiply(double value)
          Modify the prefix and suffix string as to create a real-vector multiplication in Asymptote.
 java.lang.String solve()
          Returns a String describing the point in Asymptote
 
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

UnaryMapPoint

public UnaryMapPoint(AbstractPoint point)
Creates a UnaryMapPoint which possesses a point, but no prefix and suffix

Parameters:
point - The point to describe
Method Detail

solve

public java.lang.String solve()
Returns a String describing the point in Asymptote

Specified by:
solve in class AbstractPoint
Returns:
A String description of the UnaryMapPoint

setMapTypeMultiply

public void setMapTypeMultiply(double value)
Modify the prefix and suffix string as to create a real-vector multiplication in Asymptote.

Parameters:
value - The real number multiplying the point

copy

public UnaryMapPoint copy()
Returns a copy of this Point

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