1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

Integration of OCCT 6.5.0 from SVN

This commit is contained in:
bugmaster
2011-03-16 07:30:28 +00:00
committed by bugmaster
parent 4903637061
commit 7fd59977df
16375 changed files with 3882564 additions and 0 deletions

View File

@@ -0,0 +1,70 @@
// File: BRep_PointOnSurface.cxx
// Created: Tue Aug 10 14:45:11 1993
// Author: Remi LEQUETTE
// <rle@phylox>
#include <BRep_PointOnSurface.ixx>
//=======================================================================
//function : BRep_PointOnSurface
//purpose :
//=======================================================================
BRep_PointOnSurface::BRep_PointOnSurface(const Standard_Real P1,
const Standard_Real P2,
const Handle(Geom_Surface)& S,
const TopLoc_Location& L) :
BRep_PointsOnSurface(P1,S,L),
myParameter2(P2)
{
}
//=======================================================================
//function : IsPointOnSurface
//purpose :
//=======================================================================
Standard_Boolean BRep_PointOnSurface::IsPointOnSurface()const
{
return Standard_True;
}
//=======================================================================
//function : IsPointOnSurface
//purpose :
//=======================================================================
Standard_Boolean BRep_PointOnSurface::IsPointOnSurface
(const Handle(Geom_Surface)& S,
const TopLoc_Location& L)const
{
return (Surface() == S) && (Location() == L);
}
//=======================================================================
//function : Parameter2
//purpose :
//=======================================================================
Standard_Real BRep_PointOnSurface::Parameter2()const
{
return myParameter2;
}
//=======================================================================
//function : Parameter2
//purpose :
//=======================================================================
void BRep_PointOnSurface::Parameter2(const Standard_Real P)
{
myParameter2 = P;
}