public class Conic2DUtils extends Object
Constructor and Description |
---|
Conic2DUtils() |
Modifier and Type | Method and Description |
---|---|
static Conic2D |
reduceConic(double[] coefs) |
static double[] |
transform(double[] coefs,
AffineTransform2D trans)
Transforms a conic by an affine transform.
|
static double[] |
transformCentered(double[] coefs,
AffineTransform2D trans)
Transforms a conic centered around the origin, by dropping the
translation part of the transform.
|
public static final Conic2D reduceConic(double[] coefs)
public static final double[] transformCentered(double[] coefs, AffineTransform2D trans)
coefs
- an array of double with at least 3 coefficientstrans
- an affine transformpublic static final double[] transform(double[] coefs, AffineTransform2D trans)
coefs
- an array of double with 6 coefficientstrans
- an affine transformCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.