4 #ifndef FIRE_GEAR_TRANSFORM_UTILITY_HPP_INCLUDED
5 #define FIRE_GEAR_TRANSFORM_UTILITY_HPP_INCLUDED
9 #include "fire/export.hpp"
22 class CoordinateSequence;
68 static const int DIMENSION_2D;
69 static const int DIMENSION_3D;
70 static const int PARAM_NUMBER_2D;
71 static const int PARAM_NUMBER_3D;
108 static void adjust(
geom::Geometry& geometry,
const int& precision);
118 static void adjust(
const std::vector< geom::Geometry* >& geometries,
const int& precision);
164 static void adjust(
Group & group,
const int& precision);
220 static void project(
const std::vector< fire::gear::geom::Geometry* >& geometries,
const int& srid);
237 static void project(
Group & group,
const int& srid);
315 static void affine(
const std::vector< fire::gear::geom::Geometry* >& geometries,
const std::vector< double >& parametries);
327 static void affine(
Group & group,
const std::vector< double >& parametries);
378 static void shift(
const std::vector< fire::gear::geom::Geometry* >& geometries,
const double& x,
const double& y,
const double& z);
390 static void shift(
Group & group,
const double& x,
const double& y,
const double& z);
553 static void rotate(
const std::vector< fire::gear::geom::Geometry* >& geometries,
const fire::gear::geom::Coordinate& pivot,
const double& x,
const double& y,
const double& z,
RotationOrder en_priority = FIRE_XYZ);
597 static void scale(
const std::vector< fire::gear::geom::Geometry* >& geometries,
const double& x,
const double& y,
const double& z);
677 static void scale(
Group & group,
const double& x,
const double& y,
const double& z);
699 static void reverse(
const std::vector< fire::gear::geom::Geometry* >& geometries);
733 static void reverse(
Group & group);
750 static void zerowaste(
const std::vector< fire::gear::geom::Geometry* >& geometries,
const std::vector< fire::gear::transform::ZeroWasteTriangle* >& triangles);
767 static void zerowaste(
Group & group,
const std::vector< fire::gear::transform::ZeroWasteTriangle* >& triangles);
770 std::vector< std::vector<double> > m_vectMatrix;
771 unsigned int m_vectMatrixDim;
775 void loadMatrix(std::vector<double> parametries);
776 bool isValidParamAffine(
const std::vector<double>& parametries);
777 void createShiftingVect(std::vector<double> & vectIn,
double offsetX,
double offsetY,
double offsetZ);
778 void createShiftingVect(std::vector<double> & vectIn,
double offsetX,
double offsetY);
779 void createScalingVect(std::vector<double> & vectIn,
double deltaX,
double deltaY,
double deltaZ);
780 void createScalingVect(std::vector<double> & vectIn,
double deltaX,
double deltaY);
781 void createRXvect(std::vector<double> & vectIn,
double radians);
782 void createRYvect(std::vector<double> & vectIn,
double radians);
783 void createRZvect(std::vector<double> & vectIn,
double radians,
int dimension = DIMENSION_3D);
Definition: Coordinate.hpp:48
Definition: Geometry.hpp:69