© 2006-2007 ETH Zurich

org.ximtec.igesture.core.composite
Class ConstraintTool

java.lang.Object
  extended by org.ximtec.igesture.core.composite.ConstraintTool

public class ConstraintTool
extends Object

Author:
Bjorn Puype, bpuype@gmail.com

Constructor Summary
ConstraintTool()
           
 
Method Summary
static long calculateTimeInMillis(Calendar time)
           
static String getGestureType(String deviceType)
           
static boolean isBoundsDiagonalValid(List<org.sigtec.ink.Note> notes, double minDistance, double maxDistance)
           
static void permute(int level, String permuted, boolean[] used, String original, Set<String> results)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintTool

public ConstraintTool()
Method Detail

getGestureType

public static String getGestureType(String deviceType)

isBoundsDiagonalValid

public static boolean isBoundsDiagonalValid(List<org.sigtec.ink.Note> notes,
                                            double minDistance,
                                            double maxDistance)

calculateTimeInMillis

public static long calculateTimeInMillis(Calendar time)

permute

public static void permute(int level,
                           String permuted,
                           boolean[] used,
                           String original,
                           Set<String> results)

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.