mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-06-10 11:34:06 +03:00
License statement text corrected; compiler warnings caused by Bison 2.41 disabled for MSVC; a few other compiler warnings on 54-bit Windows eliminated by appropriate type cast Wrong license statements corrected in several files. Copyright and license statements added in XSD and GLSL files. Copyright year updated in some files. Obsolete documentation files removed from DrawResources.
88 lines
2.9 KiB
C++
88 lines
2.9 KiB
C++
// Created on: 2001-12-13
|
|
// Created by: Peter KURNEV
|
|
// Copyright (c) 2001-2014 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#include <IntTools_PntOn2Faces.ixx>
|
|
|
|
//=======================================================================
|
|
//function : IntTools_PntOn2Faces::IntTools_PntOn2Faces
|
|
//purpose :
|
|
//=======================================================================
|
|
IntTools_PntOn2Faces::IntTools_PntOn2Faces()
|
|
:
|
|
myIsValid(Standard_False)
|
|
{}
|
|
//=======================================================================
|
|
//function : IntTools_PntOn2Faces::IntTools_PntOn2Faces
|
|
//purpose :
|
|
//=======================================================================
|
|
IntTools_PntOn2Faces::IntTools_PntOn2Faces(const IntTools_PntOnFace& aP1,
|
|
const IntTools_PntOnFace& aP2)
|
|
:
|
|
myIsValid(Standard_False)
|
|
{
|
|
myPnt1=aP1;
|
|
myPnt2=aP2;
|
|
}
|
|
//=======================================================================
|
|
//function : SetP1
|
|
//purpose :
|
|
//=======================================================================
|
|
void IntTools_PntOn2Faces::SetP1(const IntTools_PntOnFace& aP)
|
|
{
|
|
myPnt1=aP;
|
|
}
|
|
//=======================================================================
|
|
//function : SetP2
|
|
//purpose :
|
|
//=======================================================================
|
|
void IntTools_PntOn2Faces::SetP2(const IntTools_PntOnFace& aP)
|
|
{
|
|
myPnt2=aP;
|
|
}
|
|
//=======================================================================
|
|
//function : P1
|
|
//purpose :
|
|
//=======================================================================
|
|
const IntTools_PntOnFace& IntTools_PntOn2Faces::P1()const
|
|
{
|
|
return myPnt1;
|
|
}
|
|
//=======================================================================
|
|
//function : P2
|
|
//purpose :
|
|
//=======================================================================
|
|
const IntTools_PntOnFace& IntTools_PntOn2Faces::P2()const
|
|
{
|
|
return myPnt2;
|
|
}
|
|
|
|
//=======================================================================
|
|
//function : SetValid
|
|
//purpose :
|
|
//=======================================================================
|
|
void IntTools_PntOn2Faces::SetValid(const Standard_Boolean bF)
|
|
{
|
|
myIsValid=bF;
|
|
}
|
|
//=======================================================================
|
|
//function : IsValid
|
|
//purpose :
|
|
//=======================================================================
|
|
Standard_Boolean IntTools_PntOn2Faces::IsValid()const
|
|
{
|
|
return myIsValid;
|
|
}
|
|
|