1 #pragma warning(disable : 4251) 23 #include <gp_Ax22d.hxx> 24 #include <gp_Circ.hxx> 26 #include <gp_Dir2d.hxx> 27 #include <gp_GTrsf.hxx> 29 #include <gp_Lin2d.hxx> 32 #include <gp_Pnt2d.hxx> 34 #include <gp_Vec2d.hxx> 38 #define M_PI 3.1415926535897932384626433832795029 49 static bool isEqual(
const gp_XYZ& v1,
const gp_XYZ& v2,
double tolerance = 1E-06);
50 static bool isEqual(
const gp_XY& v1,
const gp_XY& v2,
double tolerance = 1E-06);
51 static bool isEqual(
const gp_Dir& d1,
const gp_Dir& d2,
double tolerance = 1E-06);
52 static bool isEqual(
const gp_Dir2d& d1,
const gp_Dir2d& d2,
double tolerance = 1E-06);
53 static bool isEqual(
const gp_Vec& v1,
const gp_Vec& v2,
double tolerance = 1E-06);
54 static bool isEqual(
const gp_Vec2d& v1,
const gp_Vec2d& v2,
double tolerance = 1E-06);
55 static bool isEqual(
const gp_Pnt& p1,
const gp_Pnt& p2,
double tolerance = 1E-06);
56 static bool isEqual(
const gp_Pnt2d& p1,
const gp_Pnt2d& p2,
double tolerance = 1E-06);
57 static bool isEqual(
const gp_Ax1& a1,
const gp_Ax1& a2,
double tolerance = 1E-06);
58 static bool isEqual(
const gp_Ax2& a1,
const gp_Ax2& a2,
double tolerance = 1E-06);
59 static bool isEqual(
const gp_Ax3& a1,
const gp_Ax3& a2,
double tolerance = 1E-06);
60 static bool isEqual(
const gp_Ax22d& a1,
const gp_Ax22d& a2,
double tolerance = 1E-06);
61 static bool isEqual(
const gp_Trsf& t1,
const gp_Trsf& t2,
double tolerance = 1E-06);
62 static bool isEqual(
const gp_GTrsf& t1,
const gp_GTrsf& t2,
double tolerance = 1E-06);
66 static Geom::Ax1 to_CA_Axis1(
const gp_Ax1& value);
67 static gp_Ax2 to_gp_Ax2(
const Geom::Ax2& value);
68 static Geom::Ax2 to_CA_Axis2(
const gp_Ax2& value);
69 static Geom::Ax22d to_CA_Ax22d(
const gp_Ax22d& value);
70 static gp_Ax2d to_gp_Ax2d(
const Geom::Ax2d& value);
71 static gp_Ax22d to_gp_Ax22d(
const Geom::Ax22d& value);
72 static gp_Pnt to_gp_Pnt(
const Geom::Pnt& value);
73 static gp_Pnt to_gp_Pnt(
const Geom::XYZ& value);
74 static Geom::Pnt to_CA_Point(
const gp_Pnt& value);
76 static gp_Vec to_gp_Vec(
const Geom::Vec& value);
77 static gp_Vec to_gp_Vec(
const Geom::XYZ& value);
78 static Geom::Vec to_CA_Vector(
const gp_Vec& value);
79 static gp_Dir to_gp_Dir(
const Geom::Dir& value);
80 static gp_Pnt2d to_gp_Pnt2d(
const Geom::Pnt2d& value);
81 static Geom::Pnt2d to_CA_Pnt2d(
const gp_Pnt2d& value);
82 static gp_Vec2d to_gp_Vec2d(
const Geom::Vec2d& value);
83 static gp_Dir2d to_gp_Dir2d(
const Geom::Dir2d& value);
84 static gp_Lin2d to_gp_Lin2d(
const Geom::Lin2d& value);
85 static Geom::Dir to_CA_Direction(
const gp_Dir& value);
86 static gp_Trsf to_gp_Trsf(
const Geom::Trsf& value);
87 static gp_GTrsf to_gp_GTrsf(
const Geom::GTrsf& value);
88 static gp_Mat to_gp_Mat(
const Geom::Mat& value);
89 static Geom::Trsf to_CA_Transform(
const gp_Trsf& value);
90 static gp_Pln to_gp_Pln(
const Geom::Pln& value);
91 static Geom::Pln to_CA_Plane(
const gp_Pln& value);
92 static gp_Lin to_gp_Lin(
const Geom::Lin& value);
93 static Geom::Lin to_CA_Line(
const gp_Lin& value);
94 static Geom::Circ to_CA_Circle(
const gp_Circ& value);
95 static Geom::Circ2d to_CA_Circle2d(
const gp_Circ2d& value);
96 static gp_Ax1 to_gp_Ax1(
const Geom::Ax1& value);
97 static gp_Circ to_gp_Circ(
const Geom::Circ& value);
98 static gp_Circ2d to_gp_Circ2d(
const Geom::Circ2d& value);
100 static gp_Lin to_gp_Lin(
const gp_Lin2d& gpLin2d,
const gp_Pln& gpPln);
102 static gp_Circ to_gp_Circ(
const gp_Circ2d& gpCirc2d,
const gp_Pln& gpPln);
103 static gp_Circ to_gp_Circ(
const gp_Circ2d& gpCirc2d,
const Geom::Pln& pln);
104 static void debugOccTransform(
const gp_Trsf&
transform,
const std::string& msg =
"");
105 static void debugOccTransform(
const gp_GTrsf&
transform,
const std::string& msg =
"");
113 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_Vec& vec);
114 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_Dir& dir);
115 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_Pln& dir);
116 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_Pnt& pnt);
117 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_XYZ& xyz);
118 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_Ax2& placement);
119 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_Vec2d& vec);
120 LX_GEOM_EXPORT std::ostream&
operator<<(std::ostream& o,
const gp_Trsf& t);
Defines a non-persistent 3D Cartesian point.
Definition: Pnt.h:43
void transform(Container container, OutputIt out, BinaryFunction function)
Definition: Algorithms.h:29
Defines a non-persistent vector in 2D space.
Definition: Vec2d.h:34
Defines a non-persistent vector in 3D space.
Definition: Vec.h:44
Defines a non-persistent 2D cartesian point.
Definition: Pnt2d.h:33