Class LoopTemplateSelectorImpl

All Implemented Interfaces:

public class LoopTemplateSelectorImpl
extends java.lang.Object
implements LoopTemplateSelector

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

Constructor Summary
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


public LoopTemplateSelectorImpl()
Method Detail


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


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

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