RbDe rbde-349 (20120127151154)

edu.mssm.crover.domain2d
Interface LoopTemplateSelector

All Superinterfaces:
Serializable
All Known Implementing Classes:
LoopTemplateSelectorImpl

public interface LoopTemplateSelector
extends Serializable

Encapsulates the algorithms of LoopTemplate constructions or the collection of predefined templates. Gives a uniform interface to get a template that match some criteria.


Method Summary
 LoopTemplate getTemplate(Point2D spacer, Point2D entryDirection, Point2D exitDirection)
          Returns the template that best match the parameters given as arguments.
 

Method Detail

getTemplate

LoopTemplate getTemplate(Point2D spacer,
                         Point2D entryDirection,
                         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.

Parameters:
spacer - the spacer to use for the template
entryDirection - the direction of the entry point of the template
exitDirection - the direction of the exit point of the template
Returns:
A loop template

RbDe rbde-349 (20120127151154)

Copyright © 2003-2012 Institute for Computational Biomedicine, All Rights Reserved.