summaryrefslogtreecommitdiff
path: root/src/BRep/BRep_PointsOnSurface.cxx
blob: 82566615bcfa3030584fa7885099fddae0c574e6 (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
// File:	BRep_PointsOnSurface.cxx
// Created:	Tue Aug 10 14:44:35 1993
// Author:	Remi LEQUETTE
//		<rle@phylox>


#include <BRep_PointsOnSurface.ixx>


//=======================================================================
//function : BRep_PointsOnSurface
//purpose  : 
//=======================================================================

BRep_PointsOnSurface::BRep_PointsOnSurface(const Standard_Real P, 
					   const Handle(Geom_Surface)& S, 
					   const TopLoc_Location& L) :
       BRep_PointRepresentation(P,L),
       mySurface(S)
{
}


//=======================================================================
//function : Surface
//purpose  : 
//=======================================================================

const Handle(Geom_Surface)&  BRep_PointsOnSurface::Surface()const 
{
  return mySurface;
}


//=======================================================================
//function : Surface
//purpose  : 
//=======================================================================

void  BRep_PointsOnSurface::Surface(const Handle(Geom_Surface)& S)
{
  mySurface = S;
}