edu.mssm.crover.domain2d
Class LoopTemplateSelectorImpl

java.lang.Object
  |
  +--edu.mssm.crover.domain2d.LoopTemplateSelectorImpl
All Implemented Interfaces:
LoopTemplateSelector

public class LoopTemplateSelectorImpl
extends java.lang.Object
implements LoopTemplateSelector

An experimental implementation of the LoopTemplateSelector. Very crude. Just returns the AlgorithmicLoopTemplate.


Constructor Summary
LoopTemplateSelectorImpl()
           
 
Method Summary
 LoopTemplate getTemplate(java.awt.geom.Point2D spacer, java.awt.geom.Point2D entryDirection, java.awt.geom.Point2D exitDirection)
          Returns the template that best match the parameters given as arguments.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoopTemplateSelectorImpl

public LoopTemplateSelectorImpl()
Method Detail

getTemplate

public LoopTemplate getTemplate(java.awt.geom.Point2D spacer,
                                java.awt.geom.Point2D entryDirection,
                                java.awt.geom.Point2D exitDirection)
Description copied from interface: LoopTemplateSelector
Returns the template that best match the parameters given as arguments. The returned template was transformed to match exactly the spacer. entryDirection and exitDirection are not guaranteed, though everything is done to ensure that they are close from the requested values.

Specified by:
getTemplate in interface LoopTemplateSelector

main

public static void main(java.lang.String[] args)


Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.