summaryrefslogtreecommitdiff
path: root/src/IntAna2d/IntAna2d_IntPoint.cxx
blob: 9688de7a15a4150aa604e68116d6de4c98f1b4a6 (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
// File:	IntPoint.cxx
// Created:	Wed Oct 7  9:43:20 1992
// Author:	Laurent BUCHARD
//		<lbr@topsn2>
//-Copyright:	 Matra Datavision 1992

#include <IntAna2d_IntPoint.ixx>
#include <Standard_DomainError.hxx>

IntAna2d_IntPoint::IntAna2d_IntPoint (const Standard_Real X, const Standard_Real Y, 
				      const Standard_Real U1,const Standard_Real U2):
       myu1(U1),myu2(U2),myp(X,Y),myimplicit(Standard_False)
 {
 }


IntAna2d_IntPoint::IntAna2d_IntPoint (const Standard_Real X, const Standard_Real Y, 
				      const Standard_Real U1):
       myu1(U1),myp(X,Y),myimplicit(Standard_True)
 {
 }

IntAna2d_IntPoint::IntAna2d_IntPoint ():

  myu1(RealLast()),myu2(RealLast()),myp(RealLast(),RealLast()),myimplicit(Standard_False)
  {
  }

void IntAna2d_IntPoint::SetValue (const Standard_Real X, const Standard_Real Y, 
				  const Standard_Real U1, const Standard_Real U2) {

  myimplicit = Standard_False;
  myp.SetCoord(X,Y);
  myu1 = U1;
  myu2 = U2;

}


void IntAna2d_IntPoint::SetValue (const Standard_Real X, const Standard_Real Y, const Standard_Real U1) {

  myimplicit = Standard_True;
  myp.SetCoord(X,Y);
  myu1 = U1;

}