A B C D E F G H I L M O P Q R S T U V 

A

adaptiveDegreeReduction(CubicCurve2D, double) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
The adaptive degree reduction algorithm, implemented to return the resulted "daisy-chain" of the approximating quadratic segments as an array.
adaptiveDegreeReduction(CubicCurve2D, double, QuadSegmentConsumer) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
The adaptive degree reduction algorithm, implemented to return the resulted "daisy-chain" of the approximating quadratic segments as an array.
adaptiveHalving(CubicCurve2D, CubicSubdivisionCriterion, CubicSegmentConsumer) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Method to perform an adaptive halving of a cubic Bézier, based on a CubicSubdivisionCriterion (which tells when a cubic is good enough not to need splitting in two anymore).
adaptiveHalving(QuadCurve2D, QuadSubdivisionCriterion, QuadSegmentConsumer) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Method to perform an adaptive halving of a quadratic Bézier, based on a QuadSubdivisionCriterion (which tells when a quad Bézier is good enough not to need splitting in two anymore).
adaptiveHalving(CubicCurve2D, CubicSubdivisionCriterion) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Performs an adaptive halving of a cubic Bézier, base on a provided CubicSubdivisionCriterion (which tells when a cubic Bézier is good enough not to need splitting in two anymore).
adaptiveHalving(QuadCurve2D, QuadSubdivisionCriterion) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Performs an adaptive halving of a quadratic Bézier, base on a provided QuadSubdivisionCriterion (which tells when a quad Bézier is good enough not to need splitting in two anymore).
adaptiveHalvingDegreeReduction(CubicCurve2D, double, QuadSegmentConsumer) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
 
addCurveChangeListener(BezierPanelListener) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
angleTolerance - Static variable in class com.caffeineowl.graphics.GeomUtils
Maximum tolerance to be used when dealing with angles.
areaTolerance - Static variable in class com.caffeineowl.graphics.GeomUtils
Maximum tolerance to be used when dealing with areas.

B

BezierFlatteningExplorer - Class in com.caffeineowl.graphics.samples
 
BezierFlatteningExplorer() - Constructor for class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
BezierFlatteningPanel - Class in com.caffeineowl.graphics.samples
 
BezierFlatteningPanel.DistanceType - Enum in com.caffeineowl.graphics.samples
 
BezierFlatteningPanel.FlatnessAlgoType - Enum in com.caffeineowl.graphics.samples
 
BezierPanel - Class in com.caffeineowl.graphics.samples
BezierPanel() - Constructor for class com.caffeineowl.graphics.samples.BezierPanel
 
BezierPanelListener - Interface in com.caffeineowl.graphics.samples
BezierUtils - Class in com.caffeineowl.graphics.bezier
Utility functions for processing Bézier curves.
BezierUtils() - Constructor for class com.caffeineowl.graphics.bezier.BezierUtils
 
BezierUtils.CubicArrayListConsumer - Class in com.caffeineowl.graphics.bezier
A CubicSegmentConsumer that stores the received cubic segments in an array list.
BezierUtils.CubicArrayListConsumer() - Constructor for class com.caffeineowl.graphics.bezier.BezierUtils.CubicArrayListConsumer
 
BezierUtils.QuadArrayListConsumer - Class in com.caffeineowl.graphics.bezier
A QuadSegmentConsumer that stores the received quad segments in an array list.
BezierUtils.QuadArrayListConsumer() - Constructor for class com.caffeineowl.graphics.bezier.BezierUtils.QuadArrayListConsumer
 

C

c0 - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
c1 - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
cbsLineDefectPanel - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
CBSV_DIST - Static variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Use the Chebyshev (chess-board) distance to compute the distance between two points
com.caffeineowl.graphics - package com.caffeineowl.graphics
 
com.caffeineowl.graphics.bezier - package com.caffeineowl.graphics.bezier
 
com.caffeineowl.graphics.bezier.flatnessalgos - package com.caffeineowl.graphics.bezier.flatnessalgos
 
com.caffeineowl.graphics.samples - package com.caffeineowl.graphics.samples
 
computeInflexion(CubicCurve2D, double[]) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Computes the parameter values corresponding to the inflexion points of a cubic Bézier (if any) and returns them within a provided double[] array.
ConvexHullFlatnessAlgo - Class in com.caffeineowl.graphics.bezier.flatnessalgos
 
ConvexHullFlatnessAlgo() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullFlatnessAlgo
 
ConvexHullSubdivCriterion - Class in com.caffeineowl.graphics.bezier.flatnessalgos
Will require the subdivision of a cubic or a quadratic curve any time the cubic's squared flatness (or the quad's ConvexHullFlatnessAlgo.getSquaredFlatness(QuadCurve2D) squared flatness}) is greater than a provided tolerance.
ConvexHullSubdivCriterion() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullSubdivCriterion
Initialises an instance with a default tolerance of 1.0e-5.
ConvexHullSubdivCriterion(double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullSubdivCriterion
Initialises the instance with the provided tolerance.
createCubicSubdivCriterion() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
createQuadSubdivCriterion() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
CubicFlatnessAlgorithm - Interface in com.caffeineowl.graphics.bezier
Interface to be adopted by classes able to compute the flatness of cubic Bezier.
CubicSegmentConsumer - Interface in com.caffeineowl.graphics.bezier
Behaviour for classes used to process/store java.awt.geom.CubicCurve2D segments resulted from subdivisions (see BezierUtils.adaptiveHalving(CubicCurve2D, CubicSubdivisionCriterion, CubicSegmentConsumer)).
CubicSubdivisionCriterion - Interface in com.caffeineowl.graphics.bezier
Interface to be implemented by algorithms that tell if a java.awt.geom.CubicCurve2D should be sub-divided in order to be more accurate represented by a straight segment.
curveChanged(BezierPanel) - Method in interface com.caffeineowl.graphics.samples.BezierPanelListener
 
curvePaint - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 

D

defaultTol - Static variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
 
distTolerance - Static variable in class com.caffeineowl.graphics.GeomUtils
Maximum tolerance to be used when dealing with distances.
distType - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
The distance to use in computing the flatness.
DistUtils - Class in com.caffeineowl.graphics
Utility functions to deal with lines, line segments, etc.
DistUtils() - Constructor for class com.caffeineowl.graphics.DistUtils
 
dotPaint - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
dragGesture() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
drawDiamond(Graphics2D, double, double, GeneralPath) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
drawLabel(Graphics2D, String, double, double) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 

E

EUCL_DIST - Static variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Use the Euclidian norm to compute the distance between two points
eucLineDefectPanel - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
exploreCubics - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
exploreQuads - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 

F

fillDiamond(Graphics2D, double, double, GeneralPath) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
fireCurveChanged() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
flatnessAlgo - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
The flatness algorithm.
flatnessAlgo - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
The flatness algorithm.

G

GenericCubicSubdivCriterion - Class in com.caffeineowl.graphics.bezier.flatnessalgos
A CubicSubdivisionCriterion which does its job by using a provided CubicFlatnessAlgorithm and a tolerance: the criterion will ask for yet one subdivision whenever algorithm returns a flatness value that's greater than the required tolerance.
GenericCubicSubdivCriterion() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
Initalises a new instance with a ConvexHullFlatnessAlgo as the flatness algorithm and a tolerance of 1.0e-5.
GenericCubicSubdivCriterion(double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
Initialises a new instance with a ConvexHullFlatnessAlgo as the flatness algorithm and the provided tolerance.
GenericCubicSubdivCriterion(CubicFlatnessAlgorithm) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
Initialises a new instance the provided flatness algo and a tolerance of 1.0e-5.
GenericCubicSubdivCriterion(CubicFlatnessAlgorithm, double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
Initialises using the provided parameters.
GenericQuadSubdivCriterion - Class in com.caffeineowl.graphics.bezier.flatnessalgos
A QuadSubdivisionCriterion which does its job by using a provided QuadFlatnessAlgorithm and a tolerance: the criterion will ask for yet one subdivision whenever algorithm returns a flatness value that's greater than the required tolerance.
GenericQuadSubdivCriterion() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
Initialises a new instance with a ConvexHullFlatnessAlgo as the flatness algorithm and a tolerance of 1.0e-5.
GenericQuadSubdivCriterion(double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
Initialises a new instance with a ConvexHullFlatnessAlgo as the flatness algorithm and the provided tolerance.
GenericQuadSubdivCriterion(QuadFlatnessAlgorithm) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
Initialises a new instance the provided flatness algo and a tolerance of 1.0e-5.
GenericQuadSubdivCriterion(QuadFlatnessAlgorithm, double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
Initialises using the provided parameters.
GeomUtils - Class in com.caffeineowl.graphics
Class to implement various algorithms related with planar (2D) geometry: intersections, areas, etc.
GeomUtils() - Constructor for class com.caffeineowl.graphics.GeomUtils
 
getAngleTolerance() - Static method in class com.caffeineowl.graphics.GeomUtils
 
getAreaTolerance() - Static method in class com.caffeineowl.graphics.GeomUtils
 
getBezierPanelListeners() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
getCurvePaint() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
getDistanceType() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
getDistTolerance() - Static method in class com.caffeineowl.graphics.GeomUtils
 
getDotPaint() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
getFlatness(CubicCurve2D) - Method in interface com.caffeineowl.graphics.bezier.CubicFlatnessAlgorithm
Should return the value of the flatness for the provided curve.
getFlatness(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullFlatnessAlgo
Returns the square root of the ConvexHullFlatnessAlgo.getSquaredFlatness(QuadCurve2D) (so use ConvexHullFlatnessAlgo.getSquaredFlatness(QuadCurve2D) if possible instead of this one, it will be less computational intensive).
getFlatness(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullFlatnessAlgo
Returns the square root of the ConvexHullFlatnessAlgo.getSquaredFlatness(CubicCurve2D) (so use ConvexHullFlatnessAlgo.getSquaredFlatness(CubicCurve2D) if possible instead of this one, it will be less computational intensive).
getFlatness(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Computes the flatness of the cubic using the distance type and sum/max strategy used in initialisation.
getFlatness(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Computes the flatness of the quad curve using the distance type and sum/max strategy used in initialisation.
getFlatness(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullFlatness
 
getFlatness(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullFlatness
 
getFlatness(QuadCurve2D) - Method in interface com.caffeineowl.graphics.bezier.QuadFlatnessAlgorithm
Should return the value of the flatness for the provided curve.
getFlatnessAlgoType() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
getHandlePaint() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
getLinePaint() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
getLineStroke() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
getRepresentedCubic() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
getRepresentedQuad() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
getSegsChain() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
getSegsFormatter() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
getSquaredFlatness(CubicCurve2D) - Method in interface com.caffeineowl.graphics.bezier.CubicFlatnessAlgorithm
Should return the value of the flatness for the provided curve.
getSquaredFlatness(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullFlatnessAlgo
Returns the square distance between the control point of the curve and the segment defined by its anchor points.
getSquaredFlatness(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullFlatnessAlgo
Returns the maximum squared distance between the two control points and the segment defined by the curve's anchor points.
getSquaredFlatness(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Computes the squared flatness of the cubic using the distance type and sum/max strategy used in initialisation.
getSquaredFlatness(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Computes the squared flatness of the quad curve using the distance type and sum/max strategy used in initialisation.
getSquaredFlatness(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullFlatness
 
getSquaredFlatness(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullFlatness
 
getSquaredFlatness(QuadCurve2D) - Method in interface com.caffeineowl.graphics.bezier.QuadFlatnessAlgorithm
Should return the value of the flatness for the provided curve.
getTolerance() - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 

H

halfSplitCurve(CubicCurve2D, CubicCurve2D, CubicCurve2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Subdivides a cubic Bézier at a value for the curve's parameter of 1/2.
halfSplitCurve(QuadCurve2D, QuadCurve2D, QuadCurve2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Subdivides a quadratic Bézier at a value for the curve's parameter of 1/2.
handlePaint - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 

I

isDegenerationRobust() - Method in interface com.caffeineowl.graphics.bezier.CubicFlatnessAlgorithm
Must return true if the flatness is non-zero for any cubic curve that is not equal with the segment connecting the cubic's anchors (can handle degenerated cubic curves), false otherwise.
isDegenerationRobust() - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullFlatnessAlgo
Always return true., and that's because the DistUtils.pointToSegSqEucDist(double, double, double, double, double, double) method is used, so if any of the anchor points is on the line defined by the anchor points but falls outside the segment, then the method will return a non-zero distance for it.
isDegenerationRobust() - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Yes, works fine for degenerated curves (curves on which the control point(s) are on the line defined by its anchors).
isDegenerationRobust() - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullFlatness
Returns false
isDegenerationRobust() - Method in interface com.caffeineowl.graphics.bezier.QuadFlatnessAlgorithm
Must return true if the flatness is non-zero for any cubic curve that is not equal with the segment connecting the cubic's anchors (can handle degenerated cubic curves), false otherwise.
isRepresentingCubic() - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
isSquaredFlatenessPreferred() - Method in interface com.caffeineowl.graphics.bezier.CubicFlatnessAlgorithm
Should return true if the squared flatness is computed easier (i.e.
isSquaredFlatenessPreferred() - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullFlatnessAlgo
Always return true.
isSquaredFlatenessPreferred() - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Returns true if the distance type is LineDefectFlatnessAlgo.EUCL_DIST (since computing the squared distance is less computational expensive than computing the distance), false if the distance type is LineDefectFlatnessAlgo.MNHT_DIST or LineDefectFlatnessAlgo.CBSV_DIST (for those two, computing the distance is less computational expensive than computing the squared distance}.
isSquaredFlatenessPreferred() - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullFlatness
 
isSquaredFlatenessPreferred() - Method in interface com.caffeineowl.graphics.bezier.QuadFlatnessAlgorithm
Should return true if the squared flatness is computed easier (i.e.

L

labelsShown - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
lastClicked - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
LineDefectFlatnessAlgo - Class in com.caffeineowl.graphics.bezier.flatnessalgos
The algorithm computes the defected as the distance between the actual location control point(s) and the location of the control point(s) of a totally degenerated Bezier segment: for a quadratic Bezier, that's the mid point of the segment connecting the anchor points, for a totally degenerated cubic, the locations of the control points are at 1/3 and 2/3 positions of the segment that connects the anchor points.
LineDefectFlatnessAlgo() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Defaults to LineDefectFlatnessAlgo.LineDefectFlatnessAlgo(int, boolean), with a EUCL_DIST for the distance type and using the sum for the case of cubics.
LineDefectFlatnessAlgo(int) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Defaults to LineDefectFlatnessAlgo.LineDefectFlatnessAlgo(int, boolean), with the specified distance type and using the sum for the case of cubics.
LineDefectFlatnessAlgo(boolean) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Defaults to LineDefectFlatnessAlgo.LineDefectFlatnessAlgo(int, boolean), with a EUCL_DIST for the distance type and using the specified behaviour for the use of sum/max when computing the flatness for cubics.
LineDefectFlatnessAlgo(int, boolean) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Initialised this instance with the specified distance type and summation behaviour.
LineDefectSubdivCriterion - Class in com.caffeineowl.graphics.bezier.flatnessalgos
Will require the subdivision of a cubic or a quadratic curve any time the cubic's flatness (or the quad's flatness) is greater than a provided tolerance.
LineDefectSubdivCriterion() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use euclidian distance, positively make use of summation for computing the defect of cubic curves and the default precision.
LineDefectSubdivCriterion(int) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use the specified distance type, positively make use of summation (when computing the defect of cubic curves) and the default precision.
LineDefectSubdivCriterion(boolean) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use euclidian distance, the specified sum/max strategy (when computing the defect of cubic curves) and the default precision.
LineDefectSubdivCriterion(double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use euclidian distance, positively make use of summation for computing the defect of cubic curves and the specified precision.
LineDefectSubdivCriterion(int, boolean) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use specified distance type, and sum/max strategy for computing the defect of cubic curves and the default precision.
LineDefectSubdivCriterion(int, double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use the specified distance type , positively make use of summation for computing the defect of cubic curves and the specified precision.
LineDefectSubdivCriterion(boolean, double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use euclidian distance, make use of the specified sum/max strategy for computing the defect of cubic curves and the specified precision.
LineDefectSubdivCriterion(int, boolean, double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Initialises this instance to use the specified values for distance type, sum/max strategy (when computing the defect of cubic curves) and precision.
listeners - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 

M

main(String[]) - Static method in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
mhtLineDefectPanel - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
midPointAndTangentOnCurve(CubicCurve2D, Point2D, Line2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
 
minPointAndTangentOnCurve(QuadCurve2D, Point2D, Line2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
 
minPrecision - Static variable in class com.caffeineowl.graphics.bezier.BezierUtils
 
minTolerance - Static variable in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullSubdivCriterion
The minimum tolerance allowed by this algo.
MNHT_DIST - Static variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Use the Manhattan (taxi-cab) distance to compute the distance between two points
mouseSelection(Point2D) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 

O

oldH - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
oldW - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 

P

p0 - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
p1 - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
paintComponent(Graphics) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
paintComponent(Graphics) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
pickCurveType(Object) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
pointAndTangentOnCurve(double, CubicCurve2D, Point2D, Line2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
 
pointAndTangentOnCurve(double, QuadCurve2D, Point2D, Line2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
 
pointOnCurve(double, CubicCurve2D, Point2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Computes the location of the point on a cubic Bézier corresponding to a given value of the parameter t, and returns the position in an output parameter (if provided).
pointOnCurve(double, QuadCurve2D, Point2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Computes the location of the point on a quadratic Bézier corresponding to a given value of the parameter t, and returns the position in an output parameter (if provided).
pointToLineEucDist(double, double, double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
Computes the euclidian distance between a point and its' projection on a line (distance between a point and the line).
pointToLineSqEucDist(double, double, double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
Computes the square of the euclidian distance between a point and its' projection on a line (the distance between a point and the line).
pointToPointCbsvDist(double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
The the chess (Chebyshev) distance between two points.
pointToPointEucDist(double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
The the euclidian distance between two points.
pointToPointMnhtDist(double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
The the Manhattan distance between two points.
pointToPointSqEucDist(double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
The square of the euclidian distance between two points.
pointToSegEucDist(double, double, double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
Computes the the minimum euclidian distance to the segment's point which is the closest to the original point.
pointToSegSqEucDist(double, double, double, double, double, double) - Static method in class com.caffeineowl.graphics.DistUtils
Computes the the minimum squared euclidian distance to the segment's point which is the closest to the original point.
precSlider - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
precTextField - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
processSegment(CubicCurve2D, double, double) - Method in class com.caffeineowl.graphics.bezier.BezierUtils.CubicArrayListConsumer
 
processSegment(QuadCurve2D, double, double) - Method in class com.caffeineowl.graphics.bezier.BezierUtils.QuadArrayListConsumer
 
processSegment(CubicCurve2D, double, double) - Method in interface com.caffeineowl.graphics.bezier.CubicSegmentConsumer
The caller passes to the consumer a new segment to be processed.
processSegment(QuadCurve2D, double, double) - Method in interface com.caffeineowl.graphics.bezier.QuadSegmentConsumer
The caller passes to the consumer a new segment to be processed.

Q

QuadFlatnessAlgorithm - Interface in com.caffeineowl.graphics.bezier
Interface to be adopted by classes able to compute the flatness of quadratic Bezier.
QuadSegmentConsumer - Interface in com.caffeineowl.graphics.bezier
Behaviour for classes used to process/store java.awt.geom.QuadCurve2D segments resulted from subdivisions (see BezierUtils.adaptiveHalving(QuadCurve2D, QuadSubdivisionCriterion, QuadSegmentConsumer)) or approximations (see FIXME TBD).
QuadSubdivisionCriterion - Interface in com.caffeineowl.graphics.bezier
Interface to be implemented by algorithms that tell if a java.awt.geom.QuadCurve2D should be sub-divided in order to be more accurate represented by a straight segment.

R

removeCurveChangeListener(BezierPanelListener) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
representingCubic - Variable in class com.caffeineowl.graphics.samples.BezierPanel
 
robustConvHullPanel - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 

S

segs - Variable in class com.caffeineowl.graphics.bezier.BezierUtils.CubicArrayListConsumer
 
segs - Variable in class com.caffeineowl.graphics.bezier.BezierUtils.QuadArrayListConsumer
 
setAngleTolerance(double) - Static method in class com.caffeineowl.graphics.GeomUtils
 
setAreaTolerance(double) - Static method in class com.caffeineowl.graphics.GeomUtils
 
setBounds(int, int, int, int) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
setBounds(int, int, int, int) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
setCurvePaint(Paint) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
setDistanceType(BezierFlatteningPanel.DistanceType) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
setDistTolerance(double) - Static method in class com.caffeineowl.graphics.GeomUtils
 
setDotPaint(Paint) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
setFlatnessAlgoType(BezierFlatteningPanel.FlatnessAlgoType) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
setHandlePaint(Paint) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
setLinePaint(Color) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
setLineStroke(Stroke) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
setRepresentedCubic(CubicCurve2D) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
setRepresentingCubic(boolean) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
setRepresentingCubic(boolean) - Method in class com.caffeineowl.graphics.samples.BezierPanel
 
setTolerance(double) - Method in class com.caffeineowl.graphics.samples.BezierFlatteningPanel
 
shouldSplit(CubicCurve2D) - Method in interface com.caffeineowl.graphics.bezier.CubicSubdivisionCriterion
 
shouldSplit(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullSubdivCriterion
Returns true whenever the defect is greater than the provided tolerance.
shouldSplit(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullSubdivCriterion
Returns true whenever the defect is greater than the provided tolerance.
shouldSplit(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
Returns true whenever the GenericCubicSubdivCriterion.flatnessAlgo returns a value greater than the required tolerance.
shouldSplit(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
Returns true whenever the GenericQuadSubdivCriterion.flatnessAlgo returns a value greater than the required tolerance.
shouldSplit(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Returns true whenever the defect of approximating the provided cubic by a line segment is higher than the tolerance for which this instance is initialised with.
shouldSplit(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
Returns true whenever the defect of approximating the provided quad by a line segment is higher than the tolerance for which this instance is initialised with.
shouldSplit(CubicCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullSubdivCriterion
 
shouldSplit(QuadCurve2D) - Method in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullSubdivCriterion
 
shouldSplit(QuadCurve2D) - Method in interface com.caffeineowl.graphics.bezier.QuadSubdivisionCriterion
 
SimpleConvexHullFlatness - Class in com.caffeineowl.graphics.bezier.flatnessalgos
Computes the flatness based on the maximum distance between any of the control points of a cubic Bezier (SimpleConvexHullFlatness.getFlatness(CubicCurve2D) or quadratic Bezier (SimpleConvexHullFlatness.getFlatness(QuadCurve2D) and the line defined by the anchor points of the Bezier curve.
SimpleConvexHullFlatness() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullFlatness
 
SimpleConvexHullSubdivCriterion - Class in com.caffeineowl.graphics.bezier.flatnessalgos
A sundivion criterion based on the flatness returned by the SimpleConvexHullFlatness.
SimpleConvexHullSubdivCriterion() - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullSubdivCriterion
 
SimpleConvexHullSubdivCriterion(double) - Constructor for class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullSubdivCriterion
 
simpleConvHullPanel - Variable in class com.caffeineowl.graphics.samples.BezierFlatteningExplorer
 
splitCurve(CubicCurve2D, double, CubicCurve2D, CubicCurve2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Subdivides a cubic Bézier at a given value for the curve's parameter.
splitCurve(QuadCurve2D, double, QuadCurve2D, QuadCurve2D) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Subdivides a quadratic Bézier at a given value for the curve's parameter.
splitCurve(CubicCurve2D, double[], CubicCurve2D[]) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Subdivides a cubic Bézier in more than one subdivision points.
splitCurve(QuadCurve2D, double[], QuadCurve2D[]) - Static method in class com.caffeineowl.graphics.bezier.BezierUtils
Subdivides a quadratic Bézier in more than one subdivision points.
sqTol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.ConvexHullSubdivCriterion
The squared value of the provided tolerance.
sqTol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
Squared tolerance, for the CubicFlatnessAlgorithm that prefers working with squared distances.
sqTol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
Squared tolerance, for the QuadFlatnessAlgorithm that prefers working with squared distances.
sqTol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
The squared precision to use in deciding whether or not the curve should be split.
sqTol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.SimpleConvexHullSubdivCriterion
 

T

tol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericCubicSubdivCriterion
The tolerance.
tol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.GenericQuadSubdivCriterion
The tolerance.
tol - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectSubdivCriterion
The precision to use in deciding whether or not the curve should be split.

U

usingSum - Variable in class com.caffeineowl.graphics.bezier.flatnessalgos.LineDefectFlatnessAlgo
Relevant only if this flatness algo is applied for the cubic: when true, the flatness is returned as the sum of the distances between the control points and their ideal position of the degenerate cubic.

V

valueOf(String) - Static method in enum com.caffeineowl.graphics.samples.BezierFlatteningPanel.DistanceType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.caffeineowl.graphics.samples.BezierFlatteningPanel.FlatnessAlgoType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.caffeineowl.graphics.samples.BezierFlatteningPanel.DistanceType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.caffeineowl.graphics.samples.BezierFlatteningPanel.FlatnessAlgoType
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I L M O P Q R S T U V 

Copyright © 2016. All rights reserved.