com.iver.cit.javacad.util
Class AcadExtrusionCalculator

java.lang.Object
  extended bycom.iver.cit.javacad.util.AcadExtrusionCalculator

public class AcadExtrusionCalculator
extends java.lang.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 Summary
AcadExtrusionCalculator()
           
 
Method Summary
static double[] CalculateAcadExtrusion(double[] coord_in, double[] xtru)
          Method that allows to apply the extrusion transformation of Autocad
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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