1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-03 14:10:33 +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,72 @@
// File: BRep_PointOnCurveOnSurface.cxx
// Created: Tue Aug 10 14:44:59 1993
// Author: Remi LEQUETTE
// <rle@phylox>
#include <BRep_PointOnCurveOnSurface.ixx>
//=======================================================================
//function : BRep_PointOnCurveOnSurface
//purpose :
//=======================================================================
BRep_PointOnCurveOnSurface::BRep_PointOnCurveOnSurface
(const Standard_Real P,
const Handle(Geom2d_Curve)& C,
const Handle(Geom_Surface)& S,
const TopLoc_Location& L) :
BRep_PointsOnSurface(P,S,L),
myPCurve(C)
{
}
//=======================================================================
//function : IsPointOnCurveOnSurface
//purpose :
//=======================================================================
Standard_Boolean BRep_PointOnCurveOnSurface::IsPointOnCurveOnSurface()const
{
return Standard_True;
}
//=======================================================================
//function : IsPointOnCurveOnSurface
//purpose :
//=======================================================================
Standard_Boolean BRep_PointOnCurveOnSurface::IsPointOnCurveOnSurface
(const Handle(Geom2d_Curve)& PC,
const Handle(Geom_Surface)& S,
const TopLoc_Location& L)const
{
return (myPCurve == PC) && (Surface() == S) && (Location() == L);
}
//=======================================================================
//function : PCurve
//purpose :
//=======================================================================
const Handle(Geom2d_Curve)& BRep_PointOnCurveOnSurface::PCurve()const
{
return myPCurve;
}
//=======================================================================
//function : PCurve
//purpose :
//=======================================================================
void BRep_PointOnCurveOnSurface::PCurve(const Handle(Geom2d_Curve)& C)
{
myPCurve = C;
}