edu.mssm.crover.domain2d
Interface LoopTemplateSelector
- All Known Implementing Classes:
- LoopTemplateSelectorImpl
- public interface LoopTemplateSelector
Encapsulates the algorithms of LoopTemplate constructions
or the collection of predifined templates. Gives a uniform
interface to get a template that match some criterias.
|
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. |
getTemplate
public 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. 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.
Copyright @ 2003 Mount Sinai School of Medicine. All Rights Reserved.