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:
70
src/BRep/BRep_PointOnSurface.cxx
Executable file
70
src/BRep/BRep_PointOnSurface.cxx
Executable 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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user