0025618: Avoid classes with an assignment operator and not implementing both a destru...
[occt.git] / src / IntPolyh / IntPolyh_StartPoint.hxx
CommitLineData
42cf5bc1 1// Created on: 1999-04-06
2// Created by: Fabrice SERVANT
3// Copyright (c) 1999 Matra Datavision
4// Copyright (c) 1999-2014 OPEN CASCADE SAS
5//
6// This file is part of Open CASCADE Technology software library.
7//
8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
10// by the Free Software Foundation, with special exception defined in the file
11// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12// distribution for complete text of the license and disclaimer of any warranty.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _IntPolyh_StartPoint_HeaderFile
18#define _IntPolyh_StartPoint_HeaderFile
19
20#include <Standard.hxx>
42cf5bc1 21
42cf5bc1 22class IntPolyh_Triangle;
23
42cf5bc1 24class IntPolyh_StartPoint
25{
26public:
27
28 DEFINE_STANDARD_ALLOC
29
30
31 Standard_EXPORT IntPolyh_StartPoint();
32
33 Standard_EXPORT IntPolyh_StartPoint(const Standard_Real xx, const Standard_Real yy, const Standard_Real zz, const Standard_Real uu1, const Standard_Real vv1, const Standard_Real uu2, const Standard_Real vv2, const Standard_Integer T1, const Standard_Integer E1, const Standard_Real LAM1, const Standard_Integer T2, const Standard_Integer E2, const Standard_Real LAM2, const Standard_Integer List);
34
35 Standard_EXPORT Standard_Real X() const;
36
37 Standard_EXPORT Standard_Real Y() const;
38
39 Standard_EXPORT Standard_Real Z() const;
40
41 Standard_EXPORT Standard_Real U1() const;
42
43 Standard_EXPORT Standard_Real V1() const;
44
45 Standard_EXPORT Standard_Real U2() const;
46
47 Standard_EXPORT Standard_Real V2() const;
48
49 Standard_EXPORT Standard_Integer T1() const;
50
51 Standard_EXPORT Standard_Integer E1() const;
52
53 Standard_EXPORT Standard_Real Lambda1() const;
54
55 Standard_EXPORT Standard_Integer T2() const;
56
57 Standard_EXPORT Standard_Integer E2() const;
58
59 Standard_EXPORT Standard_Real Lambda2() const;
60
61 Standard_EXPORT Standard_Real GetAngle() const;
62
63 Standard_EXPORT Standard_Integer ChainList() const;
64
65 Standard_EXPORT Standard_Integer GetEdgePoints (const IntPolyh_Triangle& Triangle, Standard_Integer& FirstEdgePoint, Standard_Integer& SecondEdgePoint, Standard_Integer& LastPoint) const;
66
42cf5bc1 67 Standard_EXPORT void SetXYZ (const Standard_Real XX, const Standard_Real YY, const Standard_Real ZZ);
68
69 Standard_EXPORT void SetUV1 (const Standard_Real UU1, const Standard_Real VV1);
70
71 Standard_EXPORT void SetUV2 (const Standard_Real UU2, const Standard_Real VV2);
72
73 Standard_EXPORT void SetEdge1 (const Standard_Integer IE1);
74
75 Standard_EXPORT void SetLambda1 (const Standard_Real LAM1);
76
77 Standard_EXPORT void SetEdge2 (const Standard_Integer IE2);
78
79 Standard_EXPORT void SetLambda2 (const Standard_Real LAM2);
80
81 Standard_EXPORT void SetCoupleValue (const Standard_Integer IT1, const Standard_Integer IT2);
82
83 Standard_EXPORT void SetAngle (const Standard_Real ang);
84
85 Standard_EXPORT void SetChainList (const Standard_Integer ChList);
86
87 Standard_EXPORT Standard_Integer CheckSameSP (const IntPolyh_StartPoint& SP) const;
88
89 Standard_EXPORT void Dump() const;
90
91 Standard_EXPORT void Dump (const Standard_Integer i) const;
92
42cf5bc1 93private:
42cf5bc1 94 Standard_Real x;
95 Standard_Real y;
96 Standard_Real z;
97 Standard_Real u1;
98 Standard_Real v1;
99 Standard_Real u2;
100 Standard_Real v2;
101 Standard_Real lambda1;
102 Standard_Real lambda2;
103 Standard_Real angle;
104 Standard_Integer t1;
105 Standard_Integer e1;
106 Standard_Integer t2;
107 Standard_Integer e2;
108 Standard_Integer chainlist;
42cf5bc1 109};
110
42cf5bc1 111#endif // _IntPolyh_StartPoint_HeaderFile