sddl.hierarchy
Class RefPoint

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

public class RefPoint
extends AbstractPoint

This represents a reference point, something defined from a positioned Shape

Version:
1.00
Author:
Mathieu Bourgeois

Constructor Summary
RefPoint(Drawing referenceDrawing, int pointNumber)
          Standard constructor
 
Method Summary
 RefPoint copy()
          Returns a copy of this Point
 java.lang.String solve()
          This function returns Asymptote code for describing the reference point
 
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

RefPoint

public RefPoint(Drawing referenceDrawing,
                int pointNumber)
Standard constructor

Parameters:
referenceDrawing - The Drawing which defines the point
pointNumber - A unique number for the point
Method Detail

solve

public java.lang.String solve()
This function returns Asymptote code for describing the reference point

Specified by:
solve in class AbstractPoint
Returns:
Asymptote code for describing the reference point

copy

public RefPoint copy()
Returns a copy of this Point

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