- AbsFunction - Class in com.graphbuilder.math.func
-
The absolute function.
- AbsFunction() - Constructor for class com.graphbuilder.math.func.AbsFunction
-
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AbsFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AcosFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AcoshFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AsinFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AsinhFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AtanFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AtanhFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.AvgFunction
-
Returns true for 1 or more parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.CeilFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.CombinFunction
-
Returns true only for 2 parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.CosFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.CoshFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.EFunction
-
Returns true only for 0 parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.ExpFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.FactFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.FloorFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in interface com.graphbuilder.math.func.Function
-
Returns true if the numParam is an accurate representation of the number of inputs
the function processes.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.LgFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.LnFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.LogFunction
-
Returns true only for 1 or 2 parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.MaxFunction
-
Returns true for 0 or more parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.MinFunction
-
Returns true for 0 or more parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.ModFunction
-
Returns true only for 2 parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.PiFunction
-
Returns true only for 0 parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.PowFunction
-
Returns true only for 2 parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.RandFunction
-
Returns true only for 0 parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.RoundFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.SignFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.SinFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.SinhFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.SqrtFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.SumFunction
-
Returns true for 1 or more parameters, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.TanFunction
-
Returns true only for 1 parameter, false otherwise.
- acceptNumParam(int) - Method in class com.graphbuilder.math.func.TanhFunction
-
Returns true only for 1 parameter, false otherwise.
- AcosFunction - Class in com.graphbuilder.math.func
-
The arc cosine function.
- AcosFunction() - Constructor for class com.graphbuilder.math.func.AcosFunction
-
- AcoshFunction - Class in com.graphbuilder.math.func
-
The hyperbolic arc cosine function.
- AcoshFunction() - Constructor for class com.graphbuilder.math.func.AcoshFunction
-
- add(double) - Method in class com.graphbuilder.curve.ValueVector
-
Adds a value to the value array at index location size.
- add(Expression) - Method in class com.graphbuilder.math.FuncNode
-
Adds the expression as a child.
- add(Object) - Method in class com.graphbuilder.struc.Bag
-
- addCurve(Curve) - Method in class com.graphbuilder.curve.ControlPath
-
Adds a curve to the curve array at index location numCurves.
- AddNode - Class in com.graphbuilder.math
-
A node of an expression tree, represented by the symbol "+".
- AddNode(Expression, Expression) - Constructor for class com.graphbuilder.math.AddNode
-
- addPoint(Point) - Method in class com.graphbuilder.curve.ControlPath
-
Adds a point to the point array at index location numPoints.
- addToHead(Object) - Method in class com.graphbuilder.struc.LinkedList
-
- addToTail(Object) - Method in class com.graphbuilder.struc.LinkedList
-
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.BezierCurve
-
The only requirement for this curve is the group-iterator must be in range or this method returns quietly.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.BSpline
-
There are two types of requirements for this curve, common requirements and requirements that depend on the
knotVectorType.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.CardinalSpline
-
The requirements for this curve are the group-iterator must be in-range and have a group size of at least 4.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.CatmullRomSpline
-
The requirements for this curve are the group-iterator must be in-range and have a group size of at least 4.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.CubicBSpline
-
The requirements for this curve are the group-iterator must be in-range and have a group size of at least 4.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.Curve
-
Appends a sequence of points defined by this curve to the multi-path.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.LagrangeCurve
-
For the control-points to be interpolated in order, the knot-vector values should be strictly
increasing, however that is not required.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.NaturalCubicSpline
-
The requirements for this curve are the group-iterator must be in-range and have a group size of at least 2.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.NURBSpline
-
The requirements of the appendTo method include the requirements of the BSpline appendTo method, plus
a couple more.
- appendTo(MultiPath) - Method in class com.graphbuilder.curve.Polyline
-
- AsinFunction - Class in com.graphbuilder.math.func
-
The arc sine function.
- AsinFunction() - Constructor for class com.graphbuilder.math.func.AsinFunction
-
- AsinhFunction - Class in com.graphbuilder.math.func
-
The hyperbolic arc sine function.
- AsinhFunction() - Constructor for class com.graphbuilder.math.func.AsinhFunction
-
- AtanFunction - Class in com.graphbuilder.math.func
-
The arc tangent function.
- AtanFunction() - Constructor for class com.graphbuilder.math.func.AtanFunction
-
- AtanhFunction - Class in com.graphbuilder.math.func
-
The hyperbolic tangent sine function.
- AtanhFunction() - Constructor for class com.graphbuilder.math.func.AtanhFunction
-
- AvgFunction - Class in com.graphbuilder.math.func
-
The average function.
- AvgFunction() - Constructor for class com.graphbuilder.math.func.AvgFunction
-
- CardinalSpline - Class in com.graphbuilder.curve
-
The Cardinal-spline passes through the points in the control-path specified by the group-iterator.
- CardinalSpline(ControlPath, GroupIterator) - Constructor for class com.graphbuilder.curve.CardinalSpline
-
- CatmullRomSpline - Class in com.graphbuilder.curve
-
The CatmullRomSpline is equal to the CardinalSpline with the value of alpha fixed at 0.5.
- CatmullRomSpline(ControlPath, GroupIterator) - Constructor for class com.graphbuilder.curve.CatmullRomSpline
-
- CeilFunction - Class in com.graphbuilder.math.func
-
The ceiling function.
- CeilFunction() - Constructor for class com.graphbuilder.math.func.CeilFunction
-
- checkBeforeAccept(Expression) - Method in class com.graphbuilder.math.Expression
-
Protected method used to verify that the specified expression can be included as a child
expression of this node.
- child(int) - Method in class com.graphbuilder.math.FuncNode
-
Returns the child expression at the specified index.
- com.graphbuilder.curve - package com.graphbuilder.curve
-
- com.graphbuilder.geom - package com.graphbuilder.geom
-
- com.graphbuilder.math - package com.graphbuilder.math
-
- com.graphbuilder.math.func - package com.graphbuilder.math.func
-
- com.graphbuilder.org.apache.harmony.awt.gl - package com.graphbuilder.org.apache.harmony.awt.gl
-
- com.graphbuilder.struc - package com.graphbuilder.struc
-
- CombinFunction - Class in com.graphbuilder.math.func
-
The combination function.
- CombinFunction() - Constructor for class com.graphbuilder.math.func.CombinFunction
-
- connect - Variable in class com.graphbuilder.curve.Curve
-
- contains(double, double) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Returns true if the point is contained inside the shape.
- contains(Point2D) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
See the contains(x, y) method.
- contains(double, double, double, double) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Returns true only if the shape contains all points of the rectangle.
- contains(Rectangle2D) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
See the contains(x, y, w, h) method.
- contains(Object) - Method in class com.graphbuilder.struc.Bag
-
- ControlPath - Class in com.graphbuilder.curve
-
A ControlPath is a container of Point objects and Curve objects.
- ControlPath() - Constructor for class com.graphbuilder.curve.ControlPath
-
Creates a control-path.
- controlString - Variable in class com.graphbuilder.curve.GroupIterator
-
- ControlStringParseException - Exception in com.graphbuilder.curve
-
Exception thrown if the parsing of a control-string fails.
- ControlStringParseException(String) - Constructor for exception com.graphbuilder.curve.ControlStringParseException
-
Constructor with only a description.
- ControlStringParseException(String, int) - Constructor for exception com.graphbuilder.curve.ControlStringParseException
-
Constructor with a description and index value.
- ControlStringParseException(String, int, int) - Constructor for exception com.graphbuilder.curve.ControlStringParseException
-
Constructor with a description and index range.
- ControlStringParseException(String, int, int, ExpressionParseException) - Constructor for exception com.graphbuilder.curve.ControlStringParseException
-
Constructor with a description, index range and ExpressionParseException.
- copyGroupArray(int[]) - Method in class com.graphbuilder.curve.GroupIterator
-
Copies the internal group-array into the specified array.
- CosFunction - Class in com.graphbuilder.math.func
-
The cosine function.
- CosFunction() - Constructor for class com.graphbuilder.math.func.CosFunction
-
- CoshFunction - Class in com.graphbuilder.math.func
-
The hyperbolic cosine function.
- CoshFunction() - Constructor for class com.graphbuilder.math.func.CoshFunction
-
- count_j - Variable in class com.graphbuilder.curve.GroupIterator
-
- count_j() - Method in class com.graphbuilder.curve.GroupIterator
-
count_j is the increment that keeps track of the position in the current group.
- cp - Variable in class com.graphbuilder.curve.Curve
-
- create(double, double) - Static method in class com.graphbuilder.geom.PointFactory
-
- createNode(Object) - Method in class com.graphbuilder.struc.LinkedList
-
- crossCubic(double, double, double, double, double, double, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times ray from point (x,y) cross cubic curve
- Crossing - Class in com.graphbuilder.org.apache.harmony.awt.gl
-
- Crossing() - Constructor for class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
- CROSSING - Static variable in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Rectangle cross segment
- Crossing.CubicCurve - Class in com.graphbuilder.org.apache.harmony.awt.gl
-
CubicCurve class provides basic functionality to find curve crossing and calculating bounds
- Crossing.QuadCurve - Class in com.graphbuilder.org.apache.harmony.awt.gl
-
QuadCurve class provides basic functionality to find curve crossing and calculating bounds
- crossLine(double, double, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times ray from point (x,y) cross line.
- crossPath(PathIterator, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times ray from point (x,y) cross path
- crossQuad(double, double, double, double, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times ray from point (x,y) cross quard curve
- crossShape(Shape, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times ray from point (x,y) cross shape
- CubicBSpline - Class in com.graphbuilder.curve
-
The cubic B-spline is defined by third order polynomial basis functions.
- CubicBSpline(ControlPath, GroupIterator) - Constructor for class com.graphbuilder.curve.CubicBSpline
-
- CubicCurve(double, double, double, double, double, double, double, double) - Constructor for class com.graphbuilder.org.apache.harmony.awt.gl.Crossing.CubicCurve
-
- Curve - Class in com.graphbuilder.curve
-
A Curve is an object that defines itself using mathematical equations and points of a
control-path in a given dimension.
- Curve(ControlPath, GroupIterator) - Constructor for class com.graphbuilder.curve.Curve
-
Constructs a curve with the specified control-path and group-iterator.
- EFunction - Class in com.graphbuilder.math.func
-
Euler's number, e, also called the base of natural logarithms.
- EFunction() - Constructor for class com.graphbuilder.math.func.EFunction
-
- ensureCapacity(int) - Method in class com.graphbuilder.curve.MultiPath
-
Checks that the point array has the specified capacity, otherwise the capacity of the point
array is increased to be the maximum between twice the current capacity and the specified capacity.
- ensureCapacity(int) - Method in class com.graphbuilder.curve.ValueVector
-
Checks that the value array has the specified capacity, otherwise the capacity of the
value array is increased to be the maximum between twice the current capacity and the
specified capacity.
- ensureCapacity(int) - Method in class com.graphbuilder.struc.Bag
-
- ensureCurveCapacity(int) - Method in class com.graphbuilder.curve.ControlPath
-
Checks that the curve array has the specified capacity, otherwise the capacity of the
curve array is increased to be the maximum between twice the current capacity or
the specified capacity.
- ensurePointCapacity(int) - Method in class com.graphbuilder.curve.ControlPath
-
Checks that the point array has the specified capacity, otherwise the capacity of the
point array is increased to be the maximum between twice the current capacity or
the specified capacity.
- eval(double[]) - Method in class com.graphbuilder.curve.BezierCurve
-
- eval(double[]) - Method in class com.graphbuilder.curve.BSpline
-
- eval(double[]) - Method in class com.graphbuilder.curve.CardinalSpline
-
- eval(double[]) - Method in class com.graphbuilder.curve.CatmullRomSpline
-
- eval(double[]) - Method in class com.graphbuilder.curve.CubicBSpline
-
- eval(double[]) - Method in class com.graphbuilder.curve.LagrangeCurve
-
- eval(double[]) - Method in class com.graphbuilder.curve.NaturalCubicSpline
-
- eval(double[]) - Method in class com.graphbuilder.curve.NURBSpline
-
- eval(double[]) - Method in class com.graphbuilder.curve.ParametricCurve
-
The eval method evaluates a point on a curve given a parametric value "t".
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.AddNode
-
Adds the evaluation of the left side to the evaluation of the right side and returns the result.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.DivNode
-
Divides the evaluation of the left side by the evaluation of the right side and returns the result.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.Expression
-
Returns the result of evaluating the expression tree rooted at this node.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.FuncNode
-
Evaluates each of the children, storing the result in an internal double array.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.MultNode
-
Multiples the evaluation of the left side and the evaluation of the right side and returns the result.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.PowNode
-
Raises the evaluation of the left side to the power of the evaluation of the right side and returns the result.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.SubNode
-
Subtracts the evaluation of the right side from the evaluation of the left side and returns the result.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.ValNode
-
Returns the value.
- eval(VarMap, FuncMap) - Method in class com.graphbuilder.math.VarNode
-
Returns the value associated with the variable name in the VarMap.
- ExpFunction - Class in com.graphbuilder.math.func
-
The exp function.
- ExpFunction() - Constructor for class com.graphbuilder.math.func.ExpFunction
-
- Expression - Class in com.graphbuilder.math
-
The class from which all nodes of an expression tree are descendents.
- Expression() - Constructor for class com.graphbuilder.math.Expression
-
- ExpressionParseException - Exception in com.graphbuilder.math
-
Exception thrown if expression cannot be parsed correctly.
- ExpressionParseException(String, int) - Constructor for exception com.graphbuilder.math.ExpressionParseException
-
- ExpressionTree - Class in com.graphbuilder.math
-
Expression string parser.
- genPts(ParametricCurve, double, double, MultiPath) - Static method in class com.graphbuilder.curve.BinaryCurveApproximationAlgorithm
-
Appends a sequence of points to the multi-path using the lineTo method exclusively.
- Geom - Class in com.graphbuilder.geom
-
Geom contains static methods for calculating intersections, angles, areas and distances.
- get(int) - Method in class com.graphbuilder.curve.MultiPath
-
Returns a reference to the point at the specified index.
- get(int) - Method in class com.graphbuilder.curve.ValueVector
-
Returns the value at the specified index.
- get(int) - Method in class com.graphbuilder.struc.Bag
-
- getAlpha() - Method in class com.graphbuilder.curve.CardinalSpline
-
Returns the value of alpha.
- getAngle(double, double, double, double) - Static method in class com.graphbuilder.geom.Geom
-
The getAngle method returns the angle between (x, y) and (originX, originY).
- getAngle(Point2d, Point2d) - Static method in class com.graphbuilder.geom.Geom
-
Returns the angle between the origin and the specified point.
- getBaseIndex() - Method in class com.graphbuilder.curve.LagrangeCurve
-
Returns the base-index.
- getBaseLength() - Method in class com.graphbuilder.curve.LagrangeCurve
-
Returns the base-length.
- getBasisVectors() - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Returns a new integer array with the basis vectors.
- getBounds() - Method in class com.graphbuilder.curve.ShapeMultiPath
-
See the getBounds2D() method.
- getBounds2D() - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Computes the bounding box of the points.
- getCapacity() - Method in class com.graphbuilder.curve.MultiPath
-
Returns the capacity of the internal point array.
- getCapacity() - Method in class com.graphbuilder.struc.Bag
-
- getCircle(double, double, double, double, double, double, double[]) - Static method in class com.graphbuilder.geom.Geom
-
Computes the circle formed by three points (x1, y1), (x2, y2) and (x3, y3).
- getClosed() - Method in class com.graphbuilder.curve.NaturalCubicSpline
-
Returns the value of closed.
- getConnect() - Method in class com.graphbuilder.curve.Curve
-
Connect is used in the appendTo method to determine if the first point appended should be of type
MOVE_TO or LINE_TO.
- getControlPath() - Method in class com.graphbuilder.curve.Curve
-
Returns the control-path this curve uses to define itself.
- getControlString() - Method in class com.graphbuilder.curve.GroupIterator
-
Returns the control-string used in the constuctor.
- getCurve(int) - Method in class com.graphbuilder.curve.ControlPath
-
Returns the curve at the specified index.
- getDegree() - Method in class com.graphbuilder.curve.BSpline
-
Returns the degree of the curve.
- getDescription() - Method in exception com.graphbuilder.curve.ControlStringParseException
-
Returns the description of the problem.
- getDescription() - Method in exception com.graphbuilder.math.ExpressionParseException
-
Returns the description that explains why the exception was thrown.
- getDimension() - Method in class com.graphbuilder.curve.MultiPath
-
Returns the dimension.
- getDistSq(double[]) - Method in class com.graphbuilder.curve.MultiPath
-
Computes the minimum distance^2 from the specified point to the line segments formed by the
points of this multi-path.
- getDistSq(double, double) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Returns the minimum distance^2 from the specified point to the line segments of this multi-path.
- getExpressionParseException() - Method in exception com.graphbuilder.curve.ControlStringParseException
-
Returns an ExpressionParseException if an expression in the control-string could not be
parsed correctly or null if this was not the problem.
- getFlatness() - Method in class com.graphbuilder.curve.MultiPath
-
Returns the flatness.
- getFromIndex() - Method in exception com.graphbuilder.curve.ControlStringParseException
-
Returns the index location in the control-string that marks the start of the problem or -1 if
not available.
- getFunction(String, int) - Method in class com.graphbuilder.math.FuncMap
-
Returns a function based on the name and the specified number of parameters.
- getFunctionNames() - Method in class com.graphbuilder.math.Expression
-
Returns an array of exact length of the function names contained in the expression tree rooted at this node.
- getFunctionNames() - Method in class com.graphbuilder.math.FuncMap
-
Returns an array of exact length of the function names stored in this map.
- getFunctions() - Method in class com.graphbuilder.math.FuncMap
-
Returns an array of exact length of the functions stored in this map.
- getGroupIterator() - Method in class com.graphbuilder.curve.Curve
-
Returns the group-iterator associated with this curve.
- getGroupLength() - Method in class com.graphbuilder.curve.GroupIterator
-
Returns the length of the internal group-array.
- getGroupSize() - Method in class com.graphbuilder.curve.GroupIterator
-
Returns the total number of times next() can be called before hasNext() returns false starting from state 0, 0.
- getGroupValue(int) - Method in class com.graphbuilder.curve.GroupIterator
-
Returns the value at the specified index in the internal group-array.
- getHead() - Method in class com.graphbuilder.struc.LinkedList
-
- getIndex() - Method in exception com.graphbuilder.math.ExpressionParseException
-
Returns an index value into the expression string.
- getInterpolateEndpoints() - Method in class com.graphbuilder.curve.CubicBSpline
-
Returns the interpolateEndpoints value.
- getInterpolateFirst() - Method in class com.graphbuilder.curve.LagrangeCurve
-
If baseIndex > 0 then the first control-points will only be interpolated if interpolate-first
is set to true.
- getInterpolateLast() - Method in class com.graphbuilder.curve.LagrangeCurve
-
If baseIndex + baseLength < numKnots - 1 then the last control-points will only be interpolated if
interpolate-last is set to true.
- getKnotVector() - Method in class com.graphbuilder.curve.BSpline
-
Returns the knot-vector for this curve.
- getKnotVector() - Method in class com.graphbuilder.curve.LagrangeCurve
-
Returns the knot-vector for this curve.
- getKnotVectorType() - Method in class com.graphbuilder.curve.BSpline
-
Returns the type of knot-vector to use.
- getLeftChild() - Method in class com.graphbuilder.math.OpNode
-
- getLineLineIntersection(double, double, double, double, double, double, double, double, double[]) - Static method in class com.graphbuilder.geom.Geom
-
Calculates the intersection location of the two lines formed by (x1, y1), (x2, y2) and (x3, y3), (x4, y4).
- getLineSegIntersection(double, double, double, double, double, double, double, double, double[]) - Static method in class com.graphbuilder.geom.Geom
-
Calculates the intersection location of the line formed by (x1, y1), (x2, y2) and the line segment formed
by (x3, y3), (x4, y4).
- getLocation() - Method in interface com.graphbuilder.curve.Point
-
Returns either a new array or internal temporary array with a copy of the data or a
direct reference to the array.
- getName() - Method in class com.graphbuilder.math.TermNode
-
Returns the name of the term.
- getNegate() - Method in class com.graphbuilder.math.TermNode
-
Returns true if the term should negate the result before returning it in the eval method.
- getNumPoints() - Method in class com.graphbuilder.curve.MultiPath
-
Returns the size counter.
- getParent() - Method in class com.graphbuilder.math.Expression
-
Returns the parent of this node.
- getPathIterator(AffineTransform) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Returns a new PathIterator object.
- getPathIterator(AffineTransform, double) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Returns a new PathIterator object.
- getPoint(int) - Method in class com.graphbuilder.curve.ControlPath
-
Returns the point at the specified index.
- getRightChild() - Method in class com.graphbuilder.math.OpNode
-
- getSampleLimit() - Method in class com.graphbuilder.curve.BezierCurve
-
- getSampleLimit() - Method in class com.graphbuilder.curve.BSpline
-
- getSampleLimit() - Method in class com.graphbuilder.curve.CardinalSpline
-
Returns a value of 1.
- getSampleLimit() - Method in class com.graphbuilder.curve.CatmullRomSpline
-
Returns a value of 1.
- getSampleLimit() - Method in class com.graphbuilder.curve.CubicBSpline
-
Returns a value of 1.
- getSampleLimit() - Method in class com.graphbuilder.curve.LagrangeCurve
-
Returns a value of 1.
- getSampleLimit() - Method in class com.graphbuilder.curve.NaturalCubicSpline
-
Returns a value of 1.
- getSampleLimit() - Method in class com.graphbuilder.curve.ParametricCurve
-
The sample limit specifies how many additional subdivisions are done to ensure that there
are no missed pieces of the curve.
- getSegSegIntersection(double, double, double, double, double, double, double, double, double[]) - Static method in class com.graphbuilder.geom.Geom
-
Calculates the intersection location of the line segments formed by (x1, y1), (x2, y2) and (x3, y3), (x4, y4).
- getSymbol() - Method in class com.graphbuilder.math.AddNode
-
- getSymbol() - Method in class com.graphbuilder.math.DivNode
-
- getSymbol() - Method in class com.graphbuilder.math.MultNode
-
- getSymbol() - Method in class com.graphbuilder.math.OpNode
-
Returns the text symbol that represents the operation.
- getSymbol() - Method in class com.graphbuilder.math.PowNode
-
- getSymbol() - Method in class com.graphbuilder.math.SubNode
-
- getTail() - Method in class com.graphbuilder.struc.LinkedList
-
- getToIndex() - Method in exception com.graphbuilder.curve.ControlStringParseException
-
Returns the index location in the control-string that marks the end of the problem or -1 if not
available.
- getTriangleAreaSq(double, double, double, double, double, double) - Static method in class com.graphbuilder.geom.Geom
-
Returns the area^2 of the triangle formed by three points (x1, y1), (x2, y2) and (x3, y3).
- getTriangleAreaSq(double, double, double) - Static method in class com.graphbuilder.geom.Geom
-
Returns the area^2 of the triangle formed by the 3 side-lengths 'a', 'b' and 'c'.
- getType(int) - Method in class com.graphbuilder.curve.MultiPath
-
Returns the type of the point at the specified index.
- getUseDefaultInterval() - Method in class com.graphbuilder.curve.BSpline
-
Returns the value of the useDefaultInterval flag.
- getUserObject() - Method in class com.graphbuilder.struc.LinkedList.Node
-
- getUseWeightVector() - Method in class com.graphbuilder.curve.NURBSpline
-
Returns the value of the useWeightVector flag.
- getValue() - Method in class com.graphbuilder.math.ValNode
-
- getValue(String) - Method in class com.graphbuilder.math.VarMap
-
Returns the value associated with the specified variable name.
- getValues() - Method in class com.graphbuilder.math.VarMap
-
Returns an array of exact length of the values stored in this map.
- getVariableNames() - Method in class com.graphbuilder.math.Expression
-
Returns an array of exact length of the variable names contained in the expression tree rooted at this node.
- getVariableNames() - Method in class com.graphbuilder.math.VarMap
-
Returns an array of exact length of the variable names stored in this map.
- getWeightVector() - Method in class com.graphbuilder.curve.NURBSpline
-
Returns the weight-vector.
- getWindingRule() - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Returns the value of the winding rule.
- getX() - Method in interface com.graphbuilder.geom.Point2d
-
Returns the x-coordinate.
- getY() - Method in interface com.graphbuilder.geom.Point2d
-
Returns the y-coordinate.
- getZ() - Method in interface com.graphbuilder.geom.Point3d
-
Returns the z-coordinate.
- gi - Variable in class com.graphbuilder.curve.Curve
-
- group - Variable in class com.graphbuilder.curve.GroupIterator
-
- GroupIterator - Class in com.graphbuilder.curve
-
A GroupIterator allows a curve to choose the points from a control-path that the curve uses to
define itself.
- GroupIterator(String, int) - Constructor for class com.graphbuilder.curve.GroupIterator
-
Constructs a group-iterator by parsing the control-string string according to the class description.
- GroupIterator(int[]) - Constructor for class com.graphbuilder.curve.GroupIterator
-
Constructs a group-iterator by copying the specified group array into a new internal array.
- index_i - Variable in class com.graphbuilder.curve.GroupIterator
-
- index_i() - Method in class com.graphbuilder.curve.GroupIterator
-
index_i is the index location into the internal group array of the current group.
- indexOf(Object) - Method in class com.graphbuilder.struc.Bag
-
- indexOf(Object, int) - Method in class com.graphbuilder.struc.Bag
-
- insert(double, int) - Method in class com.graphbuilder.curve.ValueVector
-
Inserts the value at the specified index location.
- insert(Expression, int) - Method in class com.graphbuilder.math.FuncNode
-
Adds the expression as a child at the specified index.
- insert(Object, int) - Method in class com.graphbuilder.struc.Bag
-
- insertAfter(LinkedList.Node, Object) - Method in class com.graphbuilder.struc.LinkedList
-
- insertAfter(Object) - Method in class com.graphbuilder.struc.LinkedList.Node
-
- insertBefore(LinkedList.Node, Object) - Method in class com.graphbuilder.struc.LinkedList
-
- insertBefore(Object) - Method in class com.graphbuilder.struc.LinkedList.Node
-
- insertCurve(Curve, int) - Method in class com.graphbuilder.curve.ControlPath
-
Inserts a curve at the specified index in the curve array.
- insertPoint(Point, int) - Method in class com.graphbuilder.curve.ControlPath
-
Inserts a point at the specified index in the point array.
- INTERSECT - Static variable in class com.graphbuilder.geom.Geom
-
- intersectCubic(double, double, double, double, double, double, double, double, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times rectangle stripe cross cubic curve or the are intersect
- intersectLine(double, double, double, double, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times rectangle stripe cross line or the are intersect
- intersectPath(PathIterator, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times rectangle stripe cross path or the are intersect
- intersectQuad(double, double, double, double, double, double, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times rectangle stripe cross quad curve or the are intersect
- intersects(double, double, double, double) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
This method returns true if any line segment in this multi-path intersects any of the
4 line segments formed by the rectangle or any corner of the rectangle is inside the
shape or any point of the shape is inside the rectangle.
- intersects(Rectangle2D) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
See the intersects(x, y, w, h) method.
- intersectShape(Shape, double, double, double, double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns how many times rectangle stripe cross shape or the are intersect
- isCaseSensitive() - Method in class com.graphbuilder.math.FuncMap
-
Returns true if the case of the function names is considered.
- isCaseSensitive() - Method in class com.graphbuilder.math.VarMap
-
Returns true if the case of the variable names is considered.
- isDescendent(Expression) - Method in class com.graphbuilder.math.Expression
-
Returns true if this node is a descendent of the specified node, false otherwise.
- isEmpty() - Method in class com.graphbuilder.struc.Bag
-
- isEmpty() - Method in class com.graphbuilder.struc.LinkedList
-
- isInRange(int, int) - Method in class com.graphbuilder.curve.GroupIterator
-
Returns true if all values returned by next() are >= min and < max, false otherwise.
- isInsideEvenOdd(int) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns true if cross count correspond inside location for even-odd path rule
- isInsideNonZero(int) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns true if cross count correspond inside location for non zero path rule
- isZero(double) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Returns true if value enough small
- of(double[], int) - Method in class com.graphbuilder.math.func.AbsFunction
-
Returns the positive value of the value stored at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.AcosFunction
-
Returns the arc cosine of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.AcoshFunction
-
Returns the value of 2 * ln(sqrt((x+1)/2) + sqrt((x-1)/2)), where x is the
value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.AsinFunction
-
Returns the arc sine of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.AsinhFunction
-
Returns the value of ln(x + sqrt(1 + x2)), where x is the value at index
location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.AtanFunction
-
Returns the arc tangent of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.AtanhFunction
-
Returns the value of (ln(1+x) - ln(1-x)) / 2, where x is the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.AvgFunction
-
Returns the average of the values in the array from [0, numParam).
- of(double[], int) - Method in class com.graphbuilder.math.func.CeilFunction
-
Returns the ceiling of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.CombinFunction
-
Returns the number of ways r items can be chosen from n items.
- of(double[], int) - Method in class com.graphbuilder.math.func.CosFunction
-
Returns the cosine of the angle value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.CoshFunction
-
Returns the value of (ex + e-x)/2, where x is the value
at index location 0 and e is the base of natural logarithms.
- of(double[], int) - Method in class com.graphbuilder.math.func.EFunction
-
Returns the constant e regardless of the input.
- of(double[], int) - Method in class com.graphbuilder.math.func.ExpFunction
-
Returns Euler's number, e, raised to the exponent of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.FactFunction
-
Takes the (int) of the value at index location 0 and computes the factorial
of that number.
- of(double[], int) - Method in class com.graphbuilder.math.func.FloorFunction
-
Returns the floor of the value at index location 0.
- of(double[], int) - Method in interface com.graphbuilder.math.func.Function
-
Takes the specified double array as input and returns a double value.
- of(double[], int) - Method in class com.graphbuilder.math.func.LgFunction
-
Returns the log base 2 of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.LnFunction
-
Returns the natural logarithm of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.LogFunction
-
If the number of parameters specified is 1, then the log base 10 is taken of the
value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.MaxFunction
-
Returns the maximum value of the specified inputs.
- of(double[], int) - Method in class com.graphbuilder.math.func.MinFunction
-
Returns the minimum value of the specified inputs.
- of(double[], int) - Method in class com.graphbuilder.math.func.ModFunction
-
Returns the value of x % y, where x = d[0] and y = d[1].
- of(double[], int) - Method in class com.graphbuilder.math.func.PiFunction
-
Returns the constant Pi regardless of the input.
- of(double[], int) - Method in class com.graphbuilder.math.func.PowFunction
-
Returns the value at index location 0 to the exponent of the value
at index location 1.
- of(double[], int) - Method in class com.graphbuilder.math.func.RandFunction
-
Returns a random value in the range [0, 1) that does not depend on the input.
- of(double[], int) - Method in class com.graphbuilder.math.func.RoundFunction
-
Returns the value at d[0] rounded to the nearest integer value.
- of(double[], int) - Method in class com.graphbuilder.math.func.SignFunction
-
The sign function returns 1 if the d[0] > 0, -1 if d[0] < 0, else 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.SinFunction
-
Returns the sine of the angle value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.SinhFunction
-
Returns the value of (ex - e-x)/2,
where x is the value at index location 0 and e is the base of natural logarithms.
- of(double[], int) - Method in class com.graphbuilder.math.func.SqrtFunction
-
Returns the square root of the value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.SumFunction
-
Returns the sum of the values in the array from [0, numParam).
- of(double[], int) - Method in class com.graphbuilder.math.func.TanFunction
-
Returns the tangent of the angle value at index location 0.
- of(double[], int) - Method in class com.graphbuilder.math.func.TanhFunction
-
Returns the value of (ex - e-x)/(ex + e-x),
where x is the value at index location 0 and e is the base of natural logarithms.
- OpNode - Class in com.graphbuilder.math
-
A node of an expression tree that has exactly 2 children, a left child and a right child.
- OpNode(Expression, Expression) - Constructor for class com.graphbuilder.math.OpNode
-
- set(int, int) - Method in class com.graphbuilder.curve.GroupIterator
-
Sets the current state of the iterator.
- set(int, double[]) - Method in class com.graphbuilder.curve.MultiPath
-
Sets the point at the specified index.
- set(double, int) - Method in class com.graphbuilder.curve.ValueVector
-
Sets the value at the specified index.
- set(Object, int) - Method in class com.graphbuilder.struc.Bag
-
- setAlpha(double) - Method in class com.graphbuilder.curve.CardinalSpline
-
Sets the value of alpha.
- setBaseIndex(int) - Method in class com.graphbuilder.curve.LagrangeCurve
-
The base-index is an index location into the knot vector such that, for each section, the curve is
evaluated between [knot[baseIndex], knot[baseIndex + baseLength]].
- setBaseLength(int) - Method in class com.graphbuilder.curve.LagrangeCurve
-
The base-length along with the base-index specify the interval to evaluate each section.
- setBasisVectors(int[]) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
The basis vectors specify which index corresponds to the x-axis and which index
corresponds to the y-axis.
- setClosed(boolean) - Method in class com.graphbuilder.curve.NaturalCubicSpline
-
The closed attribute determines which tri-diagonal matrix to solve.
- setConnect(boolean) - Method in class com.graphbuilder.curve.Curve
-
Sets the value of the boolean connect flag.
- setControlPath(ControlPath) - Method in class com.graphbuilder.curve.Curve
-
Sets the control-path this curve uses to define itself.
- setCurve(Curve, int) - Method in class com.graphbuilder.curve.ControlPath
-
Sets a curve at the specified index in the curve array, returning the curve
that was at that index.
- setDegree(int) - Method in class com.graphbuilder.curve.BSpline
-
Sets the degree of the curve.
- setFlatness(double) - Method in class com.graphbuilder.curve.MultiPath
-
Sets the flatness.
- setFunction(String, Function) - Method in class com.graphbuilder.math.FuncMap
-
Assigns the name to map to the specified function.
- setGroupIterator(GroupIterator) - Method in class com.graphbuilder.curve.Curve
-
Sets the group-iterator this curve uses to define itself.
- setInterpolateEndpoints(boolean) - Method in class com.graphbuilder.curve.CubicBSpline
-
Sets the curve to start at the first control-point and end at the last control-point specified by
the group-iterator.
- setInterpolateFirst(boolean) - Method in class com.graphbuilder.curve.LagrangeCurve
-
Sets the value of the interpolateFirst flag.
- setInterpolateLast(boolean) - Method in class com.graphbuilder.curve.LagrangeCurve
-
Sets the value of the interpolateLast flag.
- setInterval(double, double) - Method in class com.graphbuilder.curve.BezierCurve
-
Specifies the interval that the curve should define itself on.
- setInterval(double, double) - Method in class com.graphbuilder.curve.BSpline
-
Specifies the interval that the curve should define itself on.
- setKnotVector(ValueVector) - Method in class com.graphbuilder.curve.BSpline
-
Sets the knot-vector for this curve.
- setKnotVector(ValueVector) - Method in class com.graphbuilder.curve.LagrangeCurve
-
Sets the knot-vector for this curve.
- setKnotVectorType(int) - Method in class com.graphbuilder.curve.BSpline
-
Sets the type of knot-vector to use.
- setLeftChild(Expression) - Method in class com.graphbuilder.math.OpNode
-
- setLocation(double[]) - Method in interface com.graphbuilder.curve.Point
-
Sets the location of the point.
- setLocation(double, double) - Method in interface com.graphbuilder.geom.Point2d
-
Sets the location of the point.
- setLocation(double, double, double) - Method in interface com.graphbuilder.geom.Point3d
-
Sets the location of the point.
- setName(String) - Method in class com.graphbuilder.math.TermNode
-
Sets the name of the term.
- setNegate(boolean) - Method in class com.graphbuilder.math.TermNode
-
- setNumPoints(int) - Method in class com.graphbuilder.curve.MultiPath
-
Sets the size counter.
- setPoint(Point, int) - Method in class com.graphbuilder.curve.ControlPath
-
Sets a point at the specified index in the point array, returning the point
that was at that index.
- setRightChild(Expression) - Method in class com.graphbuilder.math.OpNode
-
- setSampleLimit(int) - Method in class com.graphbuilder.curve.BezierCurve
-
Sets the sample-limit.
- setSampleLimit(int) - Method in class com.graphbuilder.curve.BSpline
-
Sets the sample-limit.
- setSize(int) - Method in class com.graphbuilder.struc.Bag
-
- setType(int, Object) - Method in class com.graphbuilder.curve.MultiPath
-
Sets the type of the point at the specified index.
- setUseDefaultInterval(boolean) - Method in class com.graphbuilder.curve.BSpline
-
Sets the value of the useDefaultInterval flag.
- setUserObject(Object) - Method in class com.graphbuilder.struc.LinkedList.Node
-
- setUseWeightVector(boolean) - Method in class com.graphbuilder.curve.NURBSpline
-
Sets the value of the useWeightVector flag.
- setValue(double) - Method in class com.graphbuilder.math.ValNode
-
- setValue(String, double) - Method in class com.graphbuilder.math.VarMap
-
Assigns the value to the specified variable name.
- setWeightVector(ValueVector) - Method in class com.graphbuilder.curve.NURBSpline
-
Sets the weight-vector.
- setWindingRule(int) - Method in class com.graphbuilder.curve.ShapeMultiPath
-
Sets the winding rule.
- ShapeMultiPath - Class in com.graphbuilder.curve
-
The ShapeMultiPath is-a MultiPath and implements the java.awt.Shape interface.
- ShapeMultiPath() - Constructor for class com.graphbuilder.curve.ShapeMultiPath
-
Constructs a new ShapeMultiPath with a dimension of 2.
- ShapeMultiPath(int) - Constructor for class com.graphbuilder.curve.ShapeMultiPath
-
Constructs a new ShapeMultiPath with the specified dimension requirement.
- SignFunction - Class in com.graphbuilder.math.func
-
The sign function.
- SignFunction() - Constructor for class com.graphbuilder.math.func.SignFunction
-
- SinFunction - Class in com.graphbuilder.math.func
-
The sine function.
- SinFunction() - Constructor for class com.graphbuilder.math.func.SinFunction
-
- SinhFunction - Class in com.graphbuilder.math.func
-
The hyperbolic sine function.
- SinhFunction() - Constructor for class com.graphbuilder.math.func.SinhFunction
-
- size - Variable in class com.graphbuilder.curve.ValueVector
-
- size() - Method in class com.graphbuilder.curve.ValueVector
-
Returns the number of values in the value array.
- size - Variable in class com.graphbuilder.struc.Bag
-
- size() - Method in class com.graphbuilder.struc.Bag
-
- size - Variable in class com.graphbuilder.struc.LinkedList
-
- size() - Method in class com.graphbuilder.struc.LinkedList
-
- solveCubic(double[], double[]) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Solves cubic equation
- solveQuad(double[], double[]) - Static method in class com.graphbuilder.org.apache.harmony.awt.gl.Crossing
-
Solves quadratic equation
- SqrtFunction - Class in com.graphbuilder.math.func
-
The square root function.
- SqrtFunction() - Constructor for class com.graphbuilder.math.func.SqrtFunction
-
- Stack - Class in com.graphbuilder.struc
-
- Stack() - Constructor for class com.graphbuilder.struc.Stack
-
- SubNode - Class in com.graphbuilder.math
-
A node of an expression tree, represented by the symbol "-".
- SubNode(Expression, Expression) - Constructor for class com.graphbuilder.math.SubNode
-
- SumFunction - Class in com.graphbuilder.math.func
-
The sum function.
- SumFunction() - Constructor for class com.graphbuilder.math.func.SumFunction
-