myTangentFaces(Standard_False),
myTolR3D(1.e-7),
myTolR2D(1.e-7),
- myCurves(myAllocator),
- myPoints(myAllocator) {
+ myCurves(0, myAllocator),
+ myPoints(0, myAllocator)
+ {
}
//
- /**
- * Constructor
- * @param theAllocator
- * allocator to manage the memory
- */
- /*
- BOPDS_InterfFF(const Handle(NCollection_BaseAllocator)& theAllocator)
- :
- BOPDS_Interf(theAllocator),
- myTangentFaces(Standard_False),
- myTolR3D(1.e-7),
- myTolR2D(1.e-7),
- myCurves(myAllocator),
- myPoints(myAllocator) {
- }
- */
- //
/**
* Destructor
*/
* @param theNbPoints
* number of intersection points
*/
+
void Init(const Standard_Integer theNbCurves,
const Standard_Integer theNbPoints) {
+ //modified by NIZNHY-PKV Mon Jan 26 09:01:06 2015f
+ if (theNbCurves>0) {
+ myCurves.SetIncrement(theNbCurves);
+ }
+ if (theNbPoints>0) {
+ myPoints.SetIncrement(theNbPoints);
+ }
+ /*
if (theNbCurves>0) {
myCurves.SetStartSize(theNbCurves);
myCurves.SetIncrement(theNbCurves);
myPoints.SetIncrement(theNbPoints);
myPoints.Init();
}
+ */
+ //modified by NIZNHY-PKV Mon Jan 26 09:01:12 2015t
}
/**
* Modifier