mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0024043: Performance improvements: Modeling Algorithms
Performance improvements: Modeling Algorithms (added Shape Healing) Added TODO to unstable test cases
This commit is contained in:
2
src/IntSurf/FILES
Normal file
2
src/IntSurf/FILES
Normal file
@@ -0,0 +1,2 @@
|
||||
IntSurf_Allocator.hxx
|
||||
IntSurf_SequenceOfPntOn2S.hxx
|
@@ -38,9 +38,10 @@ is
|
||||
|
||||
class PntOn2S;
|
||||
|
||||
class SequenceOfPntOn2S instantiates Sequence from TCollection
|
||||
(PntOn2S from IntSurf);
|
||||
|
||||
imported Allocator;
|
||||
|
||||
imported SequenceOfPntOn2S;
|
||||
|
||||
class Couple;
|
||||
|
||||
class SequenceOfCouple instantiates Sequence from TCollection
|
||||
|
26
src/IntSurf/IntSurf_Allocator.hxx
Normal file
26
src/IntSurf/IntSurf_Allocator.hxx
Normal file
@@ -0,0 +1,26 @@
|
||||
// Copyright (c) 2013-2013 OPEN CASCADE SAS
|
||||
//
|
||||
// The content of this file is subject to the Open CASCADE Technology Public
|
||||
// License Version 6.5 (the "License"). You may not use the content of this file
|
||||
// except in compliance with the License. Please obtain a copy of the License
|
||||
// at http://www.opencascade.org and read it completely before using this file.
|
||||
//
|
||||
// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
||||
// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
||||
//
|
||||
// The Original Code and all software distributed under the License is
|
||||
// distributed on an "AS IS" basis, without warranty of any kind, and the
|
||||
// Initial Developer hereby disclaims all such warranties, including without
|
||||
// limitation, any warranties of merchantability, fitness for a particular
|
||||
// purpose or non-infringement. Please see the License for the specific terms
|
||||
// and conditions governing the rights and limitations under the License.
|
||||
|
||||
|
||||
#ifndef IntSurf_Allocator_HeaderFile
|
||||
#define IntSurf_Allocator_HeaderFile
|
||||
|
||||
#include <NCollection_BaseAllocator.hxx>
|
||||
|
||||
typedef Handle_NCollection_BaseAllocator IntSurf_Allocator;
|
||||
|
||||
#endif
|
@@ -27,14 +27,15 @@ class LineOn2S from IntSurf
|
||||
inherits TShared from MMgt
|
||||
|
||||
|
||||
uses PntOn2S from IntSurf,
|
||||
uses Allocator from IntSurf,
|
||||
PntOn2S from IntSurf,
|
||||
SequenceOfPntOn2S from IntSurf
|
||||
|
||||
raises OutOfRange from Standard
|
||||
|
||||
is
|
||||
|
||||
Create
|
||||
Create (theAllocator: Allocator from IntSurf = 0)
|
||||
|
||||
returns mutable LineOn2S from IntSurf;
|
||||
|
||||
|
@@ -19,7 +19,8 @@
|
||||
#include <IntSurf_LineOn2S.ixx>
|
||||
|
||||
|
||||
IntSurf_LineOn2S::IntSurf_LineOn2S ()
|
||||
IntSurf_LineOn2S::IntSurf_LineOn2S (const IntSurf_Allocator& theAllocator) :
|
||||
mySeq (theAllocator)
|
||||
{}
|
||||
|
||||
|
||||
|
27
src/IntSurf/IntSurf_SequenceOfPntOn2S.hxx
Normal file
27
src/IntSurf/IntSurf_SequenceOfPntOn2S.hxx
Normal file
@@ -0,0 +1,27 @@
|
||||
// Copyright (c) 2013-2013 OPEN CASCADE SAS
|
||||
//
|
||||
// The content of this file is subject to the Open CASCADE Technology Public
|
||||
// License Version 6.5 (the "License"). You may not use the content of this file
|
||||
// except in compliance with the License. Please obtain a copy of the License
|
||||
// at http://www.opencascade.org and read it completely before using this file.
|
||||
//
|
||||
// The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
|
||||
// main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
|
||||
//
|
||||
// The Original Code and all software distributed under the License is
|
||||
// distributed on an "AS IS" basis, without warranty of any kind, and the
|
||||
// Initial Developer hereby disclaims all such warranties, including without
|
||||
// limitation, any warranties of merchantability, fitness for a particular
|
||||
// purpose or non-infringement. Please see the License for the specific terms
|
||||
// and conditions governing the rights and limitations under the License.
|
||||
|
||||
|
||||
#ifndef IntSurf_SequenceOfPntOn2S_HeaderFile
|
||||
#define IntSurf_SequenceOfPntOn2S_HeaderFile
|
||||
|
||||
#include <IntSurf_PntOn2S.hxx>
|
||||
#include <NCollection_Sequence.hxx>
|
||||
|
||||
typedef NCollection_Sequence<IntSurf_PntOn2S> IntSurf_SequenceOfPntOn2S;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user