Imp
[using it]
Interface Manipulation Package v4.0 (2008-06-25) a-projector ©copyright Author


imp.trajectory
Class Trajectory.Obstacle

java.lang.Object
  extended by imp.trajectory.Trajectory.Obstacle
Direct Known Subclasses:
Trajectory.Constraint
Enclosing class:
Trajectory

public abstract static class Trajectory.Obstacle
extends Object

Defines a trajectory obstacle.

The trajectory generation algorithm requites to define:


Constructor Summary
Trajectory.Obstacle()
           
 
Method Summary
abstract  boolean inside(double[] x)
          Defines if a point is inside the obstacle, or not
abstract  double[] projection(double[] x)
          Defines the point on the obstacle, which distance to x[] is minimal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trajectory.Obstacle

public Trajectory.Obstacle()
Method Detail

inside

public abstract boolean inside(double[] x)
Defines if a point is inside the obstacle, or not


projection

public abstract double[] projection(double[] x)
Defines the point on the obstacle, which distance to x[] is minimal