inline IntPatch_Point::IntPatch_Point ()
: para(0.0), tol(0.0), tgt(Standard_False), mult(Standard_False),
onS1(Standard_False), vtxonS1(Standard_False), prm1(0.0),
- onS2(Standard_False), vtxonS2(Standard_False), prm2(0.0),
- vS1(NULL), vS2(NULL),
- arcS1(NULL), arcS2(NULL)
+ onS2(Standard_False), vtxonS2(Standard_False), prm2(0.0)
{
}
{
para = Para;
}
-
+
inline void IntPatch_Point::SetMultiple (const Standard_Boolean IsMult)
{
inline void IntPatch_Point::Parameters(Standard_Real& U1, Standard_Real& V1,
Standard_Real& U2, Standard_Real& V2) const
-{
+{
pt.Parameters(U1,V1,U2,V2);
}
/**
* Class NCollection_BaseVector - base for generic vector
*/
-class NCollection_BaseVector
+class NCollection_BaseVector
{
public:
// ------------ Class MemBlock ------------
protected:
MemBlock (NCollection_BaseAllocator* theAlloc)
: myAlloc(theAlloc),
- myFirstInd(0), myLength(0), mySize(0), myData(0L) {}
+ myData(NULL),
+ myFirstInd(0),
+ myLength(0),
+ mySize(0) {}
MemBlock (const Standard_Integer theFirstInd,
const Standard_Integer theLength,
NCollection_BaseAllocator* theAlloc)
: myAlloc(theAlloc),
- myFirstInd(theFirstInd), myLength(0), mySize(theLength), myData(0L) {}
+ myData(NULL),
+ myFirstInd(theFirstInd),
+ myLength(0),
+ mySize(theLength) {}
virtual void Reinit (const Standard_Integer,
const Standard_Integer) {}
Standard_Integer FirstIndex () const { return myFirstInd; }
Standard_EXPORT Standard_Integer
GetIndexV (void * theItem, const size_t theSz) const;
protected:
+ NCollection_BaseAllocator* myAlloc;
+ void* myData;
Standard_Integer myFirstInd;
Standard_Integer myLength;
Standard_Integer mySize;
- NCollection_BaseAllocator * myAlloc;
- void * myData;
friend class NCollection_BaseVector;
};