summaryrefslogtreecommitdiff
path: root/inc/GccInt_Bisec.hxx
blob: 07d28afe5d00f02a32124c9b16d5d3d15f4f4700 (plain)
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
95
96
97
98
// 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 _GccInt_Bisec_HeaderFile
#define _GccInt_Bisec_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_GccInt_Bisec_HeaderFile
#include <Handle_GccInt_Bisec.hxx>
#endif

#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _GccInt_IType_HeaderFile
#include <GccInt_IType.hxx>
#endif
class Standard_DomainError;
class gp_Pnt2d;
class gp_Lin2d;
class gp_Circ2d;
class gp_Hypr2d;
class gp_Parab2d;
class gp_Elips2d;


//! The deferred class GccInt_Bisec is the root class for <br>
//! elementary bisecting loci between two simple geometric <br>
//! objects (i.e. circles, lines or points). <br>
//! Bisecting loci between two geometric objects are such <br>
//! that each of their points is at the same distance from the <br>
//! two geometric objects. It is typically a curve, such as a <br>
//! line, circle or conic. <br>
//! Generally there is more than one elementary object <br>
//! which is the solution to a bisecting loci problem: each <br>
//! solution is described with one elementary bisecting <br>
//! locus. For example, the bisectors of two secant straight <br>
//! lines are two perpendicular straight lines. <br>
//! The GccInt package provides concrete implementations <br>
//! of the following elementary derived bisecting loci: <br>
//! -   lines, circles, ellipses, hyperbolas and parabolas, and <br>
//! -   points (not used in this context). <br>
//! The GccAna package provides numerous algorithms for <br>
//! computing the bisecting loci between circles, lines or <br>
//! points, whose solutions are these types of elementary bisecting locus. <br>
class GccInt_Bisec : public MMgt_TShared {

public:

  //! Returns the type of bisecting object (line, circle, <br>
//! parabola, hyperbola, ellipse, point). <br>
  Standard_EXPORT   virtual  GccInt_IType ArcType() const = 0;
  //! Returns the bisecting line when ArcType returns Pnt. <br>
//!          An exception DomainError is raised if ArcType is not a Pnt. <br>
  Standard_EXPORT   virtual  gp_Pnt2d Point() const;
  //! Returns the bisecting line when ArcType returns Lin. <br>//! An exception DomainError is raised if ArcType is not a Lin. <br>
  Standard_EXPORT   virtual  gp_Lin2d Line() const;
  //! Returns the bisecting line when ArcType returns Cir. <br>//! An exception DomainError is raised if ArcType is not a Cir. <br>
  Standard_EXPORT   virtual  gp_Circ2d Circle() const;
  //! Returns the bisecting line when ArcType returns Hpr. <br>//! An exception DomainError is raised if ArcType is not a Hpr. <br>
  Standard_EXPORT   virtual  gp_Hypr2d Hyperbola() const;
  //! Returns the bisecting line when ArcType returns Par. <br>//! An exception DomainError is raised if ArcType is not a Par. <br>
  Standard_EXPORT   virtual  gp_Parab2d Parabola() const;
  //! Returns the bisecting line when ArcType returns Ell. <br>//! An exception DomainError is raised if ArcType is not an Ell. <br>
  Standard_EXPORT   virtual  gp_Elips2d Ellipse() const;




  DEFINE_STANDARD_RTTI(GccInt_Bisec)

protected:




private: 




};





// other Inline functions and methods (like "C++: function call" methods)


#endif