0022627: Change OCCT memory management defaults
[occt.git] / src / IntSurf / IntSurf_Quadric.lxx
CommitLineData
7fd59977 1#ifndef gp_Pln_HeaderFile
2#include <gp_Pln.hxx>
3#endif
4#ifndef gp_Sphere_HeaderFile
5#include <gp_Sphere.hxx>
6#endif
7#ifndef gp_Cylinder_HeaderFile
8#include <gp_Cylinder.hxx>
9#endif
10#ifndef gp_Cone_HeaderFile
11#include <gp_Cone.hxx>
12#endif
13#ifndef GeomAbs_SurfaceType_HeaderFile
14#include <GeomAbs_SurfaceType.hxx>
15#endif
16
17
18inline GeomAbs_SurfaceType IntSurf_Quadric::TypeQuadric () const {
19
20 return typ;
21}
22
23
24inline gp_Pln IntSurf_Quadric::Plane () const {
25
26 return gp_Pln(ax3);
27}
28
29
30inline gp_Sphere IntSurf_Quadric::Sphere () const {
31
32 return gp_Sphere(ax3,prm1);
33}
34
35
36inline gp_Cylinder IntSurf_Quadric::Cylinder () const {
37
38 return gp_Cylinder(ax3,prm1);
39}
40
41
42inline gp_Cone IntSurf_Quadric::Cone () const {
43
44 return gp_Cone(ax3,prm2,prm1);
45}
46
47