org.jcurl.core.api
Interface Curler

Package class diagram package Curler
All Superinterfaces:
Factory, Iterable<Map.Entry<CharSequence,Measure>>, PropModel, Strategy
All Known Implementing Classes:
CoulombCurler, CurlerBase, CurlerDenny, CurlerNoCurl

public interface Curler
extends Factory, Strategy, PropModel

Create rock-coordinate curves for running rocks.

Version:
$Id:Curler.java 780 2008-03-18 11:06:30Z mrohrmoser $
Author:
M. Rohrmoser

Method Summary
 double computeHackSpeed(double splitTime, Point2D broom)
          Compute the (absolute) speed at the hack for a rock released with given interval time.
 double computeIntervalTime(CurveRock<RockType.Pos> wc)
           
 CurveRock<RockType.Pos> computeRc(double a0, double v0, double omega0, double sweepFactor)
          Create rock-coordinate curves for running rocks.
 CurveRock<RockType.Pos> computeWc(Point2D broom, double splitTime, double a0, double omega0, double sweepFactor)
          Release a rock.
 double getDrawToTeeCurl()
           
 double getDrawToTeeTime()
           
 void setDrawToTeeCurl(double drawToTeeCurl)
           
 void setDrawToTeeTime(double drawToTeeTime)
           
 
Methods inherited from interface org.jcurl.core.api.PropModel
getProp, init, iterator
 

Method Detail

computeHackSpeed

double computeHackSpeed(double splitTime,
                        Point2D broom)
Compute the (absolute) speed at the hack for a rock released with given interval time.

Parameters:
splitTime -
broom - location (WC)
Returns:
the hack speed.

computeIntervalTime

double computeIntervalTime(CurveRock<RockType.Pos> wc)

computeRc

CurveRock<RockType.Pos> computeRc(double a0,
                                  double v0,
                                  double omega0,
                                  double sweepFactor)
Create rock-coordinate curves for running rocks.

Parameters:
a0 - Initial handle angle (RC).
v0 - Initial Speed (RC or WC absolute)
omega0 - Initial angular handle speed (either WC or RC)
sweepFactor -
Returns:
trajectory (RC)

computeWc

CurveRock<RockType.Pos> computeWc(Point2D broom,
                                  double splitTime,
                                  double a0,
                                  double omega0,
                                  double sweepFactor)
Release a rock.

Parameters:
broom - location (WC)
splitTime -
a0 - initial handle angle
omega0 - angular handle speed
sweepFactor -
Returns:
world coordinate curve.

getDrawToTeeCurl

double getDrawToTeeCurl()

getDrawToTeeTime

double getDrawToTeeTime()

setDrawToTeeCurl

void setDrawToTeeCurl(double drawToTeeCurl)

setDrawToTeeTime

void setDrawToTeeTime(double drawToTeeTime)


Copyright © 2005-2009 jcurl.org. All Rights Reserved.