Class AcadExtrusionCalculator


  • public class AcadExtrusionCalculator
    extends Object
    This class allows to apply the extrusion transformation of Autocad given by an array of doubles to a point given by an array of doubles too. The result of this transformation is a Point2D
    Author:
    jmorell
    • Constructor Detail

      • AcadExtrusionCalculator

        public AcadExtrusionCalculator()
    • Method Detail

      • CalculateAcadExtrusion

        public static double[] CalculateAcadExtrusion​(double[] coord_in,
                                                      double[] xtru)
        Method that allows to apply the extrusion transformation of Autocad
        Parameters:
        coord_in - Array of doubles that represents the input coordinates
        xtru - array of doubles that contanins the extrusion parameters
        Returns:
        double[] Is the result of the application of the extrusion transformation to the input point