Documentation of 'math.geom2d.conic.Conics2D' Java class
Conics2D
math.geom2d.conic

Class Conics2D



  • public class Conics2D
    extends java.lang.Object
    Generic class providing utilities for manipulating conics. Provides in particular methods for reducing a conic.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Conics2D() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Conics2D

        public Conics2D()
    • Method Detail

      • reduceConic

        public static final Conic2D reduceConic(double[] coefs)
      • transformCentered

        public static final double[] transformCentered(double[] coefs,
                                                       AffineTransform2D trans)
        Transforms a conic centered around the origin, by dropping the translation part of the transform. The array must be contains at least 3 elements. If it contains 6 elements, the 3 remaining elements are supposed to be 0, 0, and -1 in that order.
        Parameters:
        coefs - an array of double with at least 3 coefficients
        trans - an affine transform
        Returns:
        an array of double with as many elements as the input array
      • transform

        public static final double[] transform(double[] coefs,
                                               AffineTransform2D trans)
        Transforms a conic by an affine transform.
        Parameters:
        coefs - an array of double with 6 coefficients
        trans - an affine transform
        Returns:
        the coefficients of the transformed conic

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.