summaryrefslogtreecommitdiff
path: root/src/PBRep/PBRep_PointOnCurve.cxx
blob: 70d9ce018f63be6e3862d0fe6f23e10af1ce29da (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
// File:	PBRep_PointOnCurve.cxx
// Created:	Wed Aug 11 12:38:02 1993
// Author:	Remi LEQUETTE
//		<rle@phylox>


#include <PBRep_PointOnCurve.ixx>

//=======================================================================
//function : PBRep_PointOnCurve
//purpose  : 
//=======================================================================

PBRep_PointOnCurve::PBRep_PointOnCurve(const Standard_Real P,
				       const Handle(PGeom_Curve)& C, 
				       const PTopLoc_Location& L) :
       PBRep_PointRepresentation(P,L),
       myCurve(C)
{
}


//=======================================================================
//function : Curve
//purpose  : 
//=======================================================================

Handle(PGeom_Curve)  PBRep_PointOnCurve::Curve()const 
{
  return myCurve;
}

//=======================================================================
//function : IsPointOnCurve
//purpose  : 
//=======================================================================

Standard_Boolean PBRep_PointOnCurve::IsPointOnCurve() const
{
  return Standard_True;
}