File: IGESSolid_SphericalSurface.hxx

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (94 lines) | stat: -rw-r--r-- 2,756 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _IGESSolid_SphericalSurface_HeaderFile
#define _IGESSolid_SphericalSurface_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_IGESSolid_SphericalSurface.hxx>

#include <Handle_IGESGeom_Point.hxx>
#include <Standard_Real.hxx>
#include <Handle_IGESGeom_Direction.hxx>
#include <IGESData_IGESEntity.hxx>
#include <Standard_Boolean.hxx>
class IGESGeom_Point;
class IGESGeom_Direction;
class gp_Pnt;


//! defines SphericalSurface, Type <196> Form Number <0,1>
//! in package IGESSolid
//! Spherical surface is defined by a center and radius.
//! In case of parametrised surface an axis and a
//! reference direction is provided.
class IGESSolid_SphericalSurface : public IGESData_IGESEntity
{

public:

  
  Standard_EXPORT IGESSolid_SphericalSurface();
  
  //! This method is used to set the fields of the class
  //! SphericalSurface
  //! - aCenter : the coordinates of the center point
  //! - aRadius : value of radius
  //! - anAxis  : the direction of the axis
  //! Null in case of Unparametrised surface
  //! - aRefdir : the reference direction
  //! Null in case of Unparametrised surface
  Standard_EXPORT   void Init (const Handle(IGESGeom_Point)& aCenter, const Standard_Real aRadius, const Handle(IGESGeom_Direction)& anAxis, const Handle(IGESGeom_Direction)& aRefdir) ;
  
  //! returns the center of the spherical surface
  Standard_EXPORT   Handle(IGESGeom_Point) Center()  const;
  
  //! returns the center of the spherical surface after applying
  //! TransformationMatrix
  Standard_EXPORT   gp_Pnt TransformedCenter()  const;
  
  //! returns the radius of the spherical surface
  Standard_EXPORT   Standard_Real Radius()  const;
  
  //! returns the direction of the axis (Parametrised surface)
  //! Null is returned if the surface is not parametrised
  Standard_EXPORT   Handle(IGESGeom_Direction) Axis()  const;
  
  //! returns the reference direction (Parametrised surface)
  //! Null is returned if the surface is not parametrised
  Standard_EXPORT   Handle(IGESGeom_Direction) ReferenceDir()  const;
  
  //! Returns True if the surface is parametrised, else False
  Standard_EXPORT   Standard_Boolean IsParametrised()  const;




  DEFINE_STANDARD_RTTI(IGESSolid_SphericalSurface)

protected:




private: 


  Handle(IGESGeom_Point) theCenter;
  Standard_Real theRadius;
  Handle(IGESGeom_Direction) theAxis;
  Handle(IGESGeom_Direction) theRefDir;


};







#endif // _IGESSolid_SphericalSurface_HeaderFile