//
// 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 version 2.1 as published
+// 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.
const Standard_Integer theIndex2) {
myIndex1=theIndex1;
myIndex2=theIndex2;
- };
+ }
//
/**
* Returns the indices of interferred shapes
Standard_Integer& theIndex2) const {
theIndex1=myIndex1;
theIndex2=myIndex2;
- };
+ }
//
/**
* Sets the index of the first interferred shape
*/
void SetIndex1(const Standard_Integer theIndex) {
myIndex1=theIndex;
- };
+ }
//
/**
* Sets the index of the second interferred shape
*/
void SetIndex2(const Standard_Integer theIndex) {
myIndex2=theIndex;
- };
+ }
//
/**
* Returns the index of the first interferred shape
*/
Standard_Integer Index1() const {
return myIndex1;
- };
+ }
//
/**
* Returns the index of the second interferred shape
*/
Standard_Integer Index2() const {
return myIndex2;
- };
+ }
//
/**
* Returns the index of that are opposite to the given index
else {
return -1;
}
- };
+ }
//
/**
* Returns true if the interference contains given index
*/
void SetIndexNew(const Standard_Integer theIndex) {
myIndexNew=theIndex;
- };
+ }
//
//
/**
*/
Standard_Integer IndexNew() const {
return myIndexNew;
- };
+ }
//
/**
* Returns true if the interference has index of new shape
Standard_Boolean HasIndexNew(Standard_Integer& theIndex) const {
theIndex=myIndexNew;
return (myIndexNew>=0);
- };
+ }
//
/**
* Returns true if the interference has index of new shape
*/
Standard_Boolean HasIndexNew() const {
return (myIndexNew>=0);
- };
+ }
//
protected:
BOPDS_Interf() :
myIndex2(-1),
myIndexNew(-1),
myAllocator(NCollection_BaseAllocator::CommonBaseAllocator()) {
- };
+ }
//
BOPDS_Interf(const Handle(NCollection_BaseAllocator)& theAllocator) :
myIndex1(-1),
myIndex2(-1),
myIndexNew(-1),
myAllocator(theAllocator) {
- };
+ }
//
virtual ~BOPDS_Interf() {
- };
+ }
protected:
Standard_Integer myIndex1;
* Constructor
*/
BOPDS_InterfVV() : BOPDS_Interf() {
- };
+ }
//
/**
* Constructor
*/
BOPDS_InterfVV(const Handle(NCollection_BaseAllocator)& theAllocator)
: BOPDS_Interf(theAllocator) {
- };
+ }
//
/**
* Destructor
*/
virtual ~BOPDS_InterfVV() {
- };
+ }
//
};
/**
:
BOPDS_Interf(),
myParameter(0.) {
- };
+ }
//
/**
* Constructor
:
BOPDS_Interf(theAllocator),
myParameter(0.) {
- };
+ }
//
/**
* Destructor
*/
virtual ~BOPDS_InterfVE() {
- };
+ }
//
/**
* Modifier
*/
void SetParameter(const Standard_Real theT) {
myParameter=theT;
- };
+ }
//
/**
* Selector
*/
Standard_Real Parameter() const {
return myParameter;
- };
+ }
protected:
Standard_Real myParameter;
: BOPDS_Interf(),
myU(0.),
myV(0.) {
- };
+ }
//
/**
* Constructor
: BOPDS_Interf(theAllocator),
myU(0.),
myV(0.) {
- };
+ }
//
/**
* Destructor
*/
virtual ~BOPDS_InterfVF() {
- };
+ }
//
/**
* Modifier
const Standard_Real theV) {
myU=theU;
myV=theV;
- };
+ }
//
/**
* Selector
void UV(Standard_Real& theU,Standard_Real& theV) const {
theU=myU;
theV=myV;
- };
+ }
protected:
Standard_Real myU;
* Constructor
*/
BOPDS_InterfEE() : BOPDS_Interf() {
- };
+ }
//
/**
* Constructor
*/
BOPDS_InterfEE(const Handle(NCollection_BaseAllocator)& theAllocator)
: BOPDS_Interf(theAllocator) {
- };
+ }
//
/**
* Destructor
*/
virtual ~BOPDS_InterfEE() {
- };
+ }
//
/**
* Modifier
*/
void SetCommonPart(const IntTools_CommonPrt& theCP) {
myCommonPart=theCP;
- };
+ }
//
/**
* Selector
*/
const IntTools_CommonPrt& CommonPart() const {
return myCommonPart;
- };
+ }
protected:
IntTools_CommonPrt myCommonPart;
* Constructor
*/
BOPDS_InterfEF(): BOPDS_Interf() {
- };
+ }
//
/**
* Constructor
*/
BOPDS_InterfEF(const Handle(NCollection_BaseAllocator)& theAllocator)
: BOPDS_Interf(theAllocator) {
- };
+ }
//
/**
* Destructor
*/
virtual ~BOPDS_InterfEF() {
- };
+ }
//
/**
* Modifier
*/
void SetCommonPart(const IntTools_CommonPrt& theCP){
myCommonPart=theCP;
- };
+ }
//
/**
* Selector
*/
const IntTools_CommonPrt& CommonPart() const {
return myCommonPart;
- };
+ }
//
protected:
IntTools_CommonPrt myCommonPart;
myTolR2D(1.e-7),
myCurves(myAllocator),
myPoints(myAllocator) {
- };
+ }
//
/**
* Constructor
myTolR2D(1.e-7),
myCurves(myAllocator),
myPoints(myAllocator) {
- };
+ }
*/
//
/**
* Destructor
*/
virtual ~BOPDS_InterfFF() {
- };
+ }
//
/**
* Initializer
*/
const BOPDS_VectorOfCurve& Curves()const{
return myCurves;
- };
+ }
//
/**
* Selector/Modifier
*/
BOPDS_VectorOfCurve& ChangeCurves(){
return myCurves;
- };
+ }
//
/**
* Selector
*/
const BOPDS_VectorOfPoint& Points()const{
return myPoints;
- };
+ }
//
/**
* Selector/Modifier
*/
BOPDS_VectorOfPoint& ChangePoints(){
return myPoints;
- };
+ }
//
protected:
Standard_Boolean myTangentFaces;