Building Parsers with Java

Uses of Class
sjm.examples.sling.Point

Packages that use Point
sjm.examples.sling   
 

Uses of Point in sjm.examples.sling
 

Fields in sjm.examples.sling declared as Point
 Point Extrema.min
           
 Point Extrema.max
           
protected  Point SlingPanel.lowerLeft
           
protected  Point SlingPanel.upperRight
           
 

Methods in sjm.examples.sling that return Point
abstract  Point SlingFunction.f(double t)
          This is the function that all subclasses implement, so that each function class provides a two-dimensional function of time.
 Point Random.f(double t)
          Generate a random number r between 0 and 1, and return the point (t, r).
 Point Sin.f(double t)
          Returns, essentially, sin(source.f(t)).
 Point Arithmetic.f(double t)
          Returns the sum, difference, quotient, product or remainder (depending on the operator) of this object's source functions.
 Point Slider.f(double t)
          Returns, essentially, a slider's value, which should be a number between 0 and 1.
 Point Cartesian.f(double t)
          Combine the y components of the sources into a new point.
 Point T.f(double t)
          Returns the given time
 Point Scale.f(double t)
          Given the source functions aFrom, a, aTo, bFrom and bTo, this function varies from bFrom to bTo as "a" varies from aFrom to aTo.
 Point Polar.f(double t)
          Combine the y components of the sources into a new point, using the first source for the sling's strap length, and the second source for the stone's angle.
 Point Sling.f(double t)
          Combine the y components of the sources into a new point, using the first source for the sling's strap length, and the second source for the stone's speed.
 Point Abs.f(double t)
          Returns, essentially, abs(source.f(t)).
 Point Floor.f(double t)
          Returns, essentially, floor(source.f(t)).
 Point Variable.f(double t)
          Throws an InternalError.
 Point Ceil.f(double t)
          Returns, essentially, ceil(source.f(t)).
 Point Tan.f(double t)
          Returns, essentially, tan(source.f(t)).
 Point Point.f(double t)
          Points are not really functions at all, but the Point class subclasses SlingFunction so that they may serve in compositions of other functions.
 Point Cos.f(double t)
          Returns, essentially, cos(source.f(t)).
 

Constructors in sjm.examples.sling with parameters of type Point
Extrema.Extrema(Point min, Point max)
          Creates a pair of points as a single value.
 


by Steve Metsker