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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
// 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 _IntAna2d_IntPoint_HeaderFile
#define _IntAna2d_IntPoint_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _gp_Pnt2d_HeaderFile
#include <gp_Pnt2d.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Standard_Storable_HeaderFile
#include <Standard_Storable.hxx>
#endif
#ifndef _Standard_PrimitiveTypes_HeaderFile
#include <Standard_PrimitiveTypes.hxx>
#endif
class Standard_DomainError;
class gp_Pnt2d;
Standard_EXPORT const Handle(Standard_Type)& STANDARD_TYPE(IntAna2d_IntPoint);
//! Geometrical intersection between two 2d elements. <br>
class IntAna2d_IntPoint {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
//! Create an intersection point between 2 parametric 2d lines. <br>
//! X,Y are the coordinate of the point. U1 is the parameter <br>
//! on the first element, U2 the parameter on the second one. <br>
Standard_EXPORT IntAna2d_IntPoint(const Standard_Real X,const Standard_Real Y,const Standard_Real U1,const Standard_Real U2);
//! Create an intersection point between a parametric 2d line, <br>
//! and a line given by an implicit equation (ImplicitCurve). <br>
//! X,Y are the coordinate of the point. U1 is the parameter <br>
//! on the parametric element. <br>//! Empty constructor. It's necessary to use one of <br>
//! the SetValue method after this one. <br>
Standard_EXPORT IntAna2d_IntPoint(const Standard_Real X,const Standard_Real Y,const Standard_Real U1);
Standard_EXPORT IntAna2d_IntPoint();
//! Set the values for a "non-implicit" point. <br>
Standard_EXPORT virtual void SetValue(const Standard_Real X,const Standard_Real Y,const Standard_Real U1,const Standard_Real U2) ;
//! Set the values for an "implicit" point. <br>
Standard_EXPORT virtual void SetValue(const Standard_Real X,const Standard_Real Y,const Standard_Real U1) ;
//! Returns the geometric point. <br>
const gp_Pnt2d& Value() const;
//! Returns True if the second curve is implicit. <br>
Standard_Boolean SecondIsImplicit() const;
//! Returns the parameter on the first element. <br>
Standard_Real ParamOnFirst() const;
//! Returns the parameter on the second element. <br>
//! If the second element is an implicit curve, an exception <br>
//! is raised. <br>
Standard_Real ParamOnSecond() const;
Standard_Real _CSFDB_GetIntAna2d_IntPointmyu1() const { return myu1; }
void _CSFDB_SetIntAna2d_IntPointmyu1(const Standard_Real p) { myu1 = p; }
Standard_Real _CSFDB_GetIntAna2d_IntPointmyu2() const { return myu2; }
void _CSFDB_SetIntAna2d_IntPointmyu2(const Standard_Real p) { myu2 = p; }
const gp_Pnt2d& _CSFDB_GetIntAna2d_IntPointmyp() const { return myp; }
Standard_Boolean _CSFDB_GetIntAna2d_IntPointmyimplicit() const { return myimplicit; }
void _CSFDB_SetIntAna2d_IntPointmyimplicit(const Standard_Boolean p) { myimplicit = p; }
protected:
private:
Standard_Real myu1;
Standard_Real myu2;
gp_Pnt2d myp;
Standard_Boolean myimplicit;
};
#include <IntAna2d_IntPoint.lxx>
// other Inline functions and methods (like "C++: function call" methods)
#endif
|