From: Marko Luukkainen Date: Fri, 5 Jul 2019 14:17:19 +0000 (+0300) Subject: Updated OpenCASCADE to 7.3.0 X-Git-Tag: v1.43.0~256 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F07%2F3007%2F4;p=simantics%2F3d.git Updated OpenCASCADE to 7.3.0 There are some unresolved issues with: * Handle_Geom_Geometry casting (added untested downcast() methods) * Handle_StepData_StepModel cannot be found (disabled STEP export) Tested the change with Plant3D and CSG. HorizontalTank geometry required some changes. Change-Id: I3fd4038572e9d63e2fa0f85000a8c050add9cfe1 --- diff --git a/org.jcae.opencascade.lib.feature/feature.xml b/org.jcae.opencascade.lib.feature/feature.xml index f070fa20..df8ec079 100644 --- a/org.jcae.opencascade.lib.feature/feature.xml +++ b/org.jcae.opencascade.lib.feature/feature.xml @@ -2,7 +2,7 @@ diff --git a/org.jcae.opencascade.lib.feature/pom.xml b/org.jcae.opencascade.lib.feature/pom.xml index 40801a5e..eb8bbdec 100644 --- a/org.jcae.opencascade.lib.feature/pom.xml +++ b/org.jcae.opencascade.lib.feature/pom.xml @@ -10,6 +10,6 @@ org.jcae.opencascade.lib eclipse-feature - 6.5.4-SNAPSHOT + 7.3.0-SNAPSHOT diff --git a/org.jcae.opencascade.win32.x86_64/FWOSPlugin.dll b/org.jcae.opencascade.win32.x86_64/FWOSPlugin.dll deleted file mode 100644 index f055ddaa..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/FWOSPlugin.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/META-INF/MANIFEST.MF b/org.jcae.opencascade.win32.x86_64/META-INF/MANIFEST.MF index 2d9997fa..005a0031 100644 --- a/org.jcae.opencascade.win32.x86_64/META-INF/MANIFEST.MF +++ b/org.jcae.opencascade.win32.x86_64/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: X86_64 Bundle-SymbolicName: org.jcae.opencascade.win32.x86_64 -Bundle-Version: 6.5.4.qualifier -Fragment-Host: org.jcae.opencascade;bundle-version="6.5.4" +Bundle-Version: 7.3.0.qualifier +Fragment-Host: org.jcae.opencascade;bundle-version="7.3.0" Bundle-RequiredExecutionEnvironment: JavaSE-1.6 Eclipse-PlatformFilter: (& (osgi.os=win32) (osgi.arch=x86_64)) diff --git a/org.jcae.opencascade.win32.x86_64/OccJava.dll b/org.jcae.opencascade.win32.x86_64/OccJava.dll index 4b3f0563..f8d27323 100644 Binary files a/org.jcae.opencascade.win32.x86_64/OccJava.dll and b/org.jcae.opencascade.win32.x86_64/OccJava.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/PTKernel.dll b/org.jcae.opencascade.win32.x86_64/PTKernel.dll deleted file mode 100644 index 49787c3e..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/PTKernel.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKAdvTools.dll b/org.jcae.opencascade.win32.x86_64/TKAdvTools.dll deleted file mode 100644 index 4ed8947c..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKAdvTools.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKBO.dll b/org.jcae.opencascade.win32.x86_64/TKBO.dll index 30b85c52..15562682 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKBO.dll and b/org.jcae.opencascade.win32.x86_64/TKBO.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKBRep.dll b/org.jcae.opencascade.win32.x86_64/TKBRep.dll index 359591e6..f8512db4 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKBRep.dll and b/org.jcae.opencascade.win32.x86_64/TKBRep.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKBin.dll b/org.jcae.opencascade.win32.x86_64/TKBin.dll index 292aa0ef..c1cc2ff8 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKBin.dll and b/org.jcae.opencascade.win32.x86_64/TKBin.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKBinL.dll b/org.jcae.opencascade.win32.x86_64/TKBinL.dll index e0d4e5d1..5d596d82 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKBinL.dll and b/org.jcae.opencascade.win32.x86_64/TKBinL.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKBinTObj.dll b/org.jcae.opencascade.win32.x86_64/TKBinTObj.dll index eb02ff25..ab70b5b5 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKBinTObj.dll and b/org.jcae.opencascade.win32.x86_64/TKBinTObj.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKBinXCAF.dll b/org.jcae.opencascade.win32.x86_64/TKBinXCAF.dll index 5dec192c..de8c8c5b 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKBinXCAF.dll and b/org.jcae.opencascade.win32.x86_64/TKBinXCAF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKBool.dll b/org.jcae.opencascade.win32.x86_64/TKBool.dll index 68db41d2..c98913f3 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKBool.dll and b/org.jcae.opencascade.win32.x86_64/TKBool.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKCAF.dll b/org.jcae.opencascade.win32.x86_64/TKCAF.dll index bc6f31e2..b882b752 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKCAF.dll and b/org.jcae.opencascade.win32.x86_64/TKCAF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKCDF.dll b/org.jcae.opencascade.win32.x86_64/TKCDF.dll index 58bd54f4..cb93a45d 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKCDF.dll and b/org.jcae.opencascade.win32.x86_64/TKCDF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKDCAF.dll b/org.jcae.opencascade.win32.x86_64/TKDCAF.dll new file mode 100644 index 00000000..3d8d6659 Binary files /dev/null and b/org.jcae.opencascade.win32.x86_64/TKDCAF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKFeat.dll b/org.jcae.opencascade.win32.x86_64/TKFeat.dll index 5c845e9a..5e4004ce 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKFeat.dll and b/org.jcae.opencascade.win32.x86_64/TKFeat.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKFillet.dll b/org.jcae.opencascade.win32.x86_64/TKFillet.dll index 5e1dfe94..f45cb2cb 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKFillet.dll and b/org.jcae.opencascade.win32.x86_64/TKFillet.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKG2d.dll b/org.jcae.opencascade.win32.x86_64/TKG2d.dll index 6a06cc00..e6be6314 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKG2d.dll and b/org.jcae.opencascade.win32.x86_64/TKG2d.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKG3d.dll b/org.jcae.opencascade.win32.x86_64/TKG3d.dll index 82857951..3756e5bc 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKG3d.dll and b/org.jcae.opencascade.win32.x86_64/TKG3d.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKGeomAlgo.dll b/org.jcae.opencascade.win32.x86_64/TKGeomAlgo.dll index 75d2b66f..bb472d2c 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKGeomAlgo.dll and b/org.jcae.opencascade.win32.x86_64/TKGeomAlgo.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKGeomBase.dll b/org.jcae.opencascade.win32.x86_64/TKGeomBase.dll index 7e674405..f336ff12 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKGeomBase.dll and b/org.jcae.opencascade.win32.x86_64/TKGeomBase.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKHLR.dll b/org.jcae.opencascade.win32.x86_64/TKHLR.dll index 853bcc7c..8455e1e6 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKHLR.dll and b/org.jcae.opencascade.win32.x86_64/TKHLR.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKIGES.dll b/org.jcae.opencascade.win32.x86_64/TKIGES.dll index 1b4680d5..e0a3c52d 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKIGES.dll and b/org.jcae.opencascade.win32.x86_64/TKIGES.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKLCAF.dll b/org.jcae.opencascade.win32.x86_64/TKLCAF.dll index 68cf4a0e..ec20f6ca 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKLCAF.dll and b/org.jcae.opencascade.win32.x86_64/TKLCAF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKMath.dll b/org.jcae.opencascade.win32.x86_64/TKMath.dll index 09b5a758..1076e53e 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKMath.dll and b/org.jcae.opencascade.win32.x86_64/TKMath.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKMesh.dll b/org.jcae.opencascade.win32.x86_64/TKMesh.dll index ef6bae60..72740003 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKMesh.dll and b/org.jcae.opencascade.win32.x86_64/TKMesh.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKMeshVS.dll b/org.jcae.opencascade.win32.x86_64/TKMeshVS.dll index dfaf4542..6e5d6ec6 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKMeshVS.dll and b/org.jcae.opencascade.win32.x86_64/TKMeshVS.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKNIS.dll b/org.jcae.opencascade.win32.x86_64/TKNIS.dll deleted file mode 100644 index 82771e55..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKNIS.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKOffset.dll b/org.jcae.opencascade.win32.x86_64/TKOffset.dll index 4fc58fc7..1747adfc 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKOffset.dll and b/org.jcae.opencascade.win32.x86_64/TKOffset.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKPCAF.dll b/org.jcae.opencascade.win32.x86_64/TKPCAF.dll deleted file mode 100644 index 32830907..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKPCAF.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKPLCAF.dll b/org.jcae.opencascade.win32.x86_64/TKPLCAF.dll deleted file mode 100644 index 70dd48ab..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKPLCAF.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKPShape.dll b/org.jcae.opencascade.win32.x86_64/TKPShape.dll deleted file mode 100644 index 1c6825ac..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKPShape.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKPrim.dll b/org.jcae.opencascade.win32.x86_64/TKPrim.dll index 32b7eaf5..ec4ed014 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKPrim.dll and b/org.jcae.opencascade.win32.x86_64/TKPrim.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKSTEP.dll b/org.jcae.opencascade.win32.x86_64/TKSTEP.dll index 0d96375f..d6d24b98 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKSTEP.dll and b/org.jcae.opencascade.win32.x86_64/TKSTEP.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKSTEP209.dll b/org.jcae.opencascade.win32.x86_64/TKSTEP209.dll index f74cedfa..8725cfb9 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKSTEP209.dll and b/org.jcae.opencascade.win32.x86_64/TKSTEP209.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKSTEPAttr.dll b/org.jcae.opencascade.win32.x86_64/TKSTEPAttr.dll index aff1533e..fb565316 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKSTEPAttr.dll and b/org.jcae.opencascade.win32.x86_64/TKSTEPAttr.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKSTEPBase.dll b/org.jcae.opencascade.win32.x86_64/TKSTEPBase.dll index 39e456ee..a24609fa 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKSTEPBase.dll and b/org.jcae.opencascade.win32.x86_64/TKSTEPBase.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKSTL.dll b/org.jcae.opencascade.win32.x86_64/TKSTL.dll index dc25f315..f90e8aae 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKSTL.dll and b/org.jcae.opencascade.win32.x86_64/TKSTL.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKService.dll b/org.jcae.opencascade.win32.x86_64/TKService.dll index a5e41273..04aed861 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKService.dll and b/org.jcae.opencascade.win32.x86_64/TKService.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKShHealing.dll b/org.jcae.opencascade.win32.x86_64/TKShHealing.dll index 42df19d5..c333b307 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKShHealing.dll and b/org.jcae.opencascade.win32.x86_64/TKShHealing.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKShapeSchema.dll b/org.jcae.opencascade.win32.x86_64/TKShapeSchema.dll deleted file mode 100644 index ec873826..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKShapeSchema.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKStd.dll b/org.jcae.opencascade.win32.x86_64/TKStd.dll new file mode 100644 index 00000000..7e464529 Binary files /dev/null and b/org.jcae.opencascade.win32.x86_64/TKStd.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKStdL.dll b/org.jcae.opencascade.win32.x86_64/TKStdL.dll new file mode 100644 index 00000000..dd6268e3 Binary files /dev/null and b/org.jcae.opencascade.win32.x86_64/TKStdL.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKStdLSchema.dll b/org.jcae.opencascade.win32.x86_64/TKStdLSchema.dll deleted file mode 100644 index ba7257ef..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKStdLSchema.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKStdSchema.dll b/org.jcae.opencascade.win32.x86_64/TKStdSchema.dll deleted file mode 100644 index 790970ff..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKStdSchema.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKTObj.dll b/org.jcae.opencascade.win32.x86_64/TKTObj.dll index abbe422b..31c09b7b 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKTObj.dll and b/org.jcae.opencascade.win32.x86_64/TKTObj.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKTopAlgo.dll b/org.jcae.opencascade.win32.x86_64/TKTopAlgo.dll index 70e3f12d..8557b3bc 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKTopAlgo.dll and b/org.jcae.opencascade.win32.x86_64/TKTopAlgo.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKTopTest.dll b/org.jcae.opencascade.win32.x86_64/TKTopTest.dll new file mode 100644 index 00000000..1ee5dc80 Binary files /dev/null and b/org.jcae.opencascade.win32.x86_64/TKTopTest.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKV2d.dll b/org.jcae.opencascade.win32.x86_64/TKV2d.dll deleted file mode 100644 index 2b91cc6d..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKV2d.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKV3d.dll b/org.jcae.opencascade.win32.x86_64/TKV3d.dll index 108874e3..484d1634 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKV3d.dll and b/org.jcae.opencascade.win32.x86_64/TKV3d.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKVCAF.dll b/org.jcae.opencascade.win32.x86_64/TKVCAF.dll new file mode 100644 index 00000000..4b1161b3 Binary files /dev/null and b/org.jcae.opencascade.win32.x86_64/TKVCAF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKVRML.dll b/org.jcae.opencascade.win32.x86_64/TKVRML.dll index ba6b6f80..930f44cc 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKVRML.dll and b/org.jcae.opencascade.win32.x86_64/TKVRML.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKVoxel.dll b/org.jcae.opencascade.win32.x86_64/TKVoxel.dll deleted file mode 100644 index 5e73c6f5..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKVoxel.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXCAF.dll b/org.jcae.opencascade.win32.x86_64/TKXCAF.dll index abea0b38..2fddfe12 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXCAF.dll and b/org.jcae.opencascade.win32.x86_64/TKXCAF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXCAFSchema.dll b/org.jcae.opencascade.win32.x86_64/TKXCAFSchema.dll deleted file mode 100644 index 12099225..00000000 Binary files a/org.jcae.opencascade.win32.x86_64/TKXCAFSchema.dll and /dev/null differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXDEIGES.dll b/org.jcae.opencascade.win32.x86_64/TKXDEIGES.dll index 8cff22e6..df3f1f1d 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXDEIGES.dll and b/org.jcae.opencascade.win32.x86_64/TKXDEIGES.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXDESTEP.dll b/org.jcae.opencascade.win32.x86_64/TKXDESTEP.dll index ed12c761..c6d818dd 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXDESTEP.dll and b/org.jcae.opencascade.win32.x86_64/TKXDESTEP.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXMesh.dll b/org.jcae.opencascade.win32.x86_64/TKXMesh.dll index 4d424150..d2c020ec 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXMesh.dll and b/org.jcae.opencascade.win32.x86_64/TKXMesh.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXSBase.dll b/org.jcae.opencascade.win32.x86_64/TKXSBase.dll index b76dd68f..dafe72f4 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXSBase.dll and b/org.jcae.opencascade.win32.x86_64/TKXSBase.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXml.dll b/org.jcae.opencascade.win32.x86_64/TKXml.dll index 49195cb9..ef6513ee 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXml.dll and b/org.jcae.opencascade.win32.x86_64/TKXml.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXmlL.dll b/org.jcae.opencascade.win32.x86_64/TKXmlL.dll index 7db68902..11e8c271 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXmlL.dll and b/org.jcae.opencascade.win32.x86_64/TKXmlL.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXmlTObj.dll b/org.jcae.opencascade.win32.x86_64/TKXmlTObj.dll index 8504d69d..9ce7fa7b 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXmlTObj.dll and b/org.jcae.opencascade.win32.x86_64/TKXmlTObj.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKXmlXCAF.dll b/org.jcae.opencascade.win32.x86_64/TKXmlXCAF.dll index 06900ce3..978d564b 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKXmlXCAF.dll and b/org.jcae.opencascade.win32.x86_64/TKXmlXCAF.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/TKernel.dll b/org.jcae.opencascade.win32.x86_64/TKernel.dll index d5873a47..3a157ce2 100644 Binary files a/org.jcae.opencascade.win32.x86_64/TKernel.dll and b/org.jcae.opencascade.win32.x86_64/TKernel.dll differ diff --git a/org.jcae.opencascade.win32.x86_64/build.properties b/org.jcae.opencascade.win32.x86_64/build.properties index 86b81d4c..64c5d46d 100644 --- a/org.jcae.opencascade.win32.x86_64/build.properties +++ b/org.jcae.opencascade.win32.x86_64/build.properties @@ -1,62 +1,57 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - FWOSPlugin.dll,\ - OccJava.dll,\ - PTKernel.dll,\ - TKAdvTools.dll,\ - TKBO.dll,\ - TKBRep.dll,\ - TKBin.dll,\ - TKBinL.dll,\ - TKBinTObj.dll,\ - TKBinXCAF.dll,\ - TKBool.dll,\ - TKCAF.dll,\ - TKCDF.dll,\ - TKFeat.dll,\ - TKFillet.dll,\ - TKG2d.dll,\ - TKG3d.dll,\ - TKGeomAlgo.dll,\ - TKGeomBase.dll,\ - TKHLR.dll,\ - TKIGES.dll,\ - TKLCAF.dll,\ - TKMath.dll,\ - TKMesh.dll,\ - TKNIS.dll,\ - TKMeshVS.dll,\ - TKOffset.dll,\ - TKPCAF.dll,\ - TKPLCAF.dll,\ - TKPShape.dll,\ - TKPrim.dll,\ - TKSTEP.dll,\ - TKSTEP209.dll,\ - TKSTEPAttr.dll,\ - TKSTEPBase.dll,\ - TKSTL.dll,\ - TKService.dll,\ - TKShapeSchema.dll,\ - TKShHealing.dll,\ - TKStdLSchema.dll,\ - TKStdSchema.dll,\ - TKTObj.dll,\ - TKTopAlgo.dll,\ - TKV2d.dll,\ - TKV3d.dll,\ - TKVRML.dll,\ - TKVoxel.dll,\ - TKXCAF.dll,\ - TKXCAFSchema.dll,\ - TKXDEIGES.dll,\ - TKXDESTEP.dll,\ - TKXMesh.dll,\ - TKXSBase.dll,\ - TKXml.dll,\ - TKXmlL.dll,\ - TKXmlTObj.dll,\ - TKernel.dll,\ - TKXmlXCAF.dll + +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + OccJava.dll,\ + TKBin.dll,\ + TKBinL.dll,\ + TKBinTObj.dll,\ + TKBinXCAF.dll,\ + TKBO.dll,\ + TKBool.dll,\ + TKBRep.dll,\ + TKCAF.dll,\ + TKCDF.dll,\ + TKDCAF.dll,\ + TKernel.dll,\ + TKFeat.dll,\ + TKFillet.dll,\ + TKG2d.dll,\ + TKG3d.dll,\ + TKGeomAlgo.dll,\ + TKGeomBase.dll,\ + TKHLR.dll,\ + TKIGES.dll,\ + TKLCAF.dll,\ + TKMath.dll,\ + TKMesh.dll,\ + TKMeshVS.dll,\ + TKOffset.dll,\ + TKPrim.dll,\ + TKService.dll,\ + TKShHealing.dll,\ + TKStd.dll,\ + TKStdL.dll,\ + TKSTEP.dll,\ + TKSTEP209.dll,\ + TKSTEPAttr.dll,\ + TKSTEPBase.dll,\ + TKSTL.dll,\ + TKTObj.dll,\ + TKTopAlgo.dll,\ + TKTopTest.dll,\ + TKV3d.dll,\ + TKVCAF.dll,\ + TKVRML.dll,\ + TKXCAF.dll,\ + TKXDEIGES.dll,\ + TKXDESTEP.dll,\ + TKXMesh.dll,\ + TKXml.dll,\ + TKXmlL.dll,\ + TKXmlTObj.dll,\ + TKXmlXCAF.dll,\ + TKXSBase.dll + + + diff --git a/org.jcae.opencascade.win32.x86_64/pom.xml b/org.jcae.opencascade.win32.x86_64/pom.xml index 21561a75..51d5d27e 100644 --- a/org.jcae.opencascade.win32.x86_64/pom.xml +++ b/org.jcae.opencascade.win32.x86_64/pom.xml @@ -12,7 +12,7 @@ org.jcae.opencascade.win32.x86_64 eclipse-plugin - 6.5.4-SNAPSHOT + 7.3.0-SNAPSHOT diff --git a/org.jcae.opencascade/META-INF/MANIFEST.MF b/org.jcae.opencascade/META-INF/MANIFEST.MF index 45b605df..4be8c2ca 100644 --- a/org.jcae.opencascade/META-INF/MANIFEST.MF +++ b/org.jcae.opencascade/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: Opencascade Bundle-SymbolicName: org.jcae.opencascade -Bundle-Version: 6.5.4.qualifier +Bundle-Version: 7.3.0.qualifier Bundle-Activator: org.jcae.opencascade.Activator Require-Bundle: org.eclipse.core.runtime Bundle-ActivationPolicy: lazy diff --git a/org.jcae.opencascade/pom.xml b/org.jcae.opencascade/pom.xml index 97ccea2f..af292a7e 100644 --- a/org.jcae.opencascade/pom.xml +++ b/org.jcae.opencascade/pom.xml @@ -12,6 +12,6 @@ org.jcae.opencascade eclipse-plugin - 6.5.4-SNAPSHOT + 7.3.0-SNAPSHOT diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/APIHeaderSection_MakeHeader.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/APIHeaderSection_MakeHeader.java index cd742e7d..638b0624 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/APIHeaderSection_MakeHeader.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/APIHeaderSection_MakeHeader.java @@ -1,62 +1,14 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class APIHeaderSection_MakeHeader { - private long swigCPtr; - protected boolean swigCMemOwn; - - public APIHeaderSection_MakeHeader(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(APIHeaderSection_MakeHeader obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_APIHeaderSection_MakeHeader(swigCPtr); - } - swigCPtr = 0; - } - } - - public APIHeaderSection_MakeHeader(SWIGTYPE_p_Handle_StepData_StepModel model) { - this(OccJavaJNI.new_APIHeaderSection_MakeHeader(SWIGTYPE_p_Handle_StepData_StepModel.getCPtr(model)), true); - } - - public void setName(SWIGTYPE_p_Handle_TCollection_HAsciiString aName) { - OccJavaJNI.APIHeaderSection_MakeHeader_setName(swigCPtr, this, SWIGTYPE_p_Handle_TCollection_HAsciiString.getCPtr(aName)); - } - - public void setAuthorValue(int num, SWIGTYPE_p_Handle_TCollection_HAsciiString aAuthor) { - OccJavaJNI.APIHeaderSection_MakeHeader_setAuthorValue(swigCPtr, this, num, SWIGTYPE_p_Handle_TCollection_HAsciiString.getCPtr(aAuthor)); - } - - public void setOrganizationValue(int num, SWIGTYPE_p_Handle_TCollection_HAsciiString aOrganization) { - OccJavaJNI.APIHeaderSection_MakeHeader_setOrganizationValue(swigCPtr, this, num, SWIGTYPE_p_Handle_TCollection_HAsciiString.getCPtr(aOrganization)); - } - - public void setOriginatingSystem(SWIGTYPE_p_Handle_TCollection_HAsciiString aOriginatingSystem) { - OccJavaJNI.APIHeaderSection_MakeHeader_setOriginatingSystem(swigCPtr, this, SWIGTYPE_p_Handle_TCollection_HAsciiString.getCPtr(aOriginatingSystem)); - } - - public void setDescriptionValue(int num, SWIGTYPE_p_Handle_TCollection_HAsciiString description) { - OccJavaJNI.APIHeaderSection_MakeHeader_setDescriptionValue(swigCPtr, this, num, SWIGTYPE_p_Handle_TCollection_HAsciiString.getCPtr(description)); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class APIHeaderSection_MakeHeader { + + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java index 5058d29c..dd7af8eb 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor2d_Curve2d.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Adaptor2d_Curve2d { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Adaptor2d_Curve2d(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Adaptor2d_Curve2d obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Adaptor2d_Curve2d(swigCPtr); - } - swigCPtr = 0; - } - } - - public double[] value(double U) { - return OccJavaJNI.Adaptor2d_Curve2d_value(swigCPtr, this, U); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Adaptor2d_Curve2d { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Adaptor2d_Curve2d(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Adaptor2d_Curve2d obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Adaptor2d_Curve2d(swigCPtr); + } + swigCPtr = 0; + } + } + + public double[] value(double U) { + return OccJavaJNI.Adaptor2d_Curve2d_value(swigCPtr, this, U); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java index 5c8d8e9f..05195049 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Adaptor3d_Curve.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Adaptor3d_Curve { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Adaptor3d_Curve(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Adaptor3d_Curve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Adaptor3d_Curve(swigCPtr); - } - swigCPtr = 0; - } - } - - public double[] value(double U) { - return OccJavaJNI.Adaptor3d_Curve_value(swigCPtr, this, U); -} - - public void arrayValues(int size, double[] u) { - OccJavaJNI.Adaptor3d_Curve_arrayValues(swigCPtr, this, size, u); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Adaptor3d_Curve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Adaptor3d_Curve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Adaptor3d_Curve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Adaptor3d_Curve(swigCPtr); + } + swigCPtr = 0; + } + } + + public double[] value(double U) { + return OccJavaJNI.Adaptor3d_Curve_value(swigCPtr, this, U); +} + + public void arrayValues(int size, double[] u) { + OccJavaJNI.Adaptor3d_Curve_arrayValues(swigCPtr, this, size, u); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgo.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgo.java index 6673d29c..690f865f 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgo.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgo.java @@ -1,50 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepAlgo { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepAlgo(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepAlgo obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepAlgo(swigCPtr); - } - swigCPtr = 0; - } - } - - public static boolean isValid(TopoDS_Shape S) { - return OccJavaJNI.BRepAlgo_isValid(TopoDS_Shape.getCPtr(S), S); -} - - public static boolean isTopologicallyValid(TopoDS_Shape S) { - return OccJavaJNI.BRepAlgo_isTopologicallyValid(TopoDS_Shape.getCPtr(S), S); -} - - public BRepAlgo() { - this(OccJavaJNI.new_BRepAlgo(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepAlgo { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepAlgo(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepAlgo obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepAlgo(swigCPtr); + } + swigCPtr = 0; + } + } + + public static boolean isValid(TopoDS_Shape S) { + return OccJavaJNI.BRepAlgo_isValid(TopoDS_Shape.getCPtr(S), S); +} + + public static boolean isTopologicallyValid(TopoDS_Shape S) { + return OccJavaJNI.BRepAlgo_isTopologicallyValid(TopoDS_Shape.getCPtr(S), S); +} + + public BRepAlgo() { + this(OccJavaJNI.new_BRepAlgo(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java index 3560c2d5..a4e9ec81 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_BooleanOperation.java @@ -1,66 +1,62 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepAlgoAPI_BooleanOperation extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepAlgoAPI_BooleanOperation(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepAlgoAPI_BooleanOperation_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepAlgoAPI_BooleanOperation obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepAlgoAPI_BooleanOperation(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TopoDS_Shape[] modified(TopoDS_Shape aS) { - return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS)); -} - - public boolean isDeleted(TopoDS_Shape aS) { - return OccJavaJNI.BRepAlgoAPI_BooleanOperation_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS); -} - - public TopoDS_Shape[] modified2(TopoDS_Shape aS) { - return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified2(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS)); -} - - public TopoDS_Shape[] generated(TopoDS_Shape S) { - return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S)); -} - - public boolean hasModified() { - return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasModified(swigCPtr, this); -} - - public boolean hasGenerated() { - return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasGenerated(swigCPtr, this); -} - - public boolean hasDeleted() { - return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasDeleted(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepAlgoAPI_BooleanOperation extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepAlgoAPI_BooleanOperation(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepAlgoAPI_BooleanOperation_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepAlgoAPI_BooleanOperation obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepAlgoAPI_BooleanOperation(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public TopoDS_Shape[] modified(TopoDS_Shape aS) { + return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_modified(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS)); +} + + public boolean isDeleted(TopoDS_Shape aS) { + return OccJavaJNI.BRepAlgoAPI_BooleanOperation_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(aS), aS); +} + + public TopoDS_Shape[] generated(TopoDS_Shape S) { + return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepAlgoAPI_BooleanOperation_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S)); +} + + public boolean hasModified() { + return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasModified(swigCPtr, this); +} + + public boolean hasGenerated() { + return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasGenerated(swigCPtr, this); +} + + public boolean hasDeleted() { + return OccJavaJNI.BRepAlgoAPI_BooleanOperation_hasDeleted(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Common.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Common.java index 9f04475c..74d22d79 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Common.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Common.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepAlgoAPI_Common extends BRepAlgoAPI_BooleanOperation { - private long swigCPtr; - - public BRepAlgoAPI_Common(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepAlgoAPI_Common_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepAlgoAPI_Common obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepAlgoAPI_Common(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepAlgoAPI_Common(TopoDS_Shape S1, TopoDS_Shape S2) { - this(OccJavaJNI.new_BRepAlgoAPI_Common(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepAlgoAPI_Common extends BRepAlgoAPI_BooleanOperation { + private transient long swigCPtr; + + protected BRepAlgoAPI_Common(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepAlgoAPI_Common_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepAlgoAPI_Common obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepAlgoAPI_Common(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepAlgoAPI_Common(TopoDS_Shape S1, TopoDS_Shape S2) { + this(OccJavaJNI.new_BRepAlgoAPI_Common(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Cut.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Cut.java index 858a4899..3a2eee98 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Cut.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Cut.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepAlgoAPI_Cut extends BRepAlgoAPI_BooleanOperation { - private long swigCPtr; - - public BRepAlgoAPI_Cut(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepAlgoAPI_Cut_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepAlgoAPI_Cut obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepAlgoAPI_Cut(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepAlgoAPI_Cut(TopoDS_Shape S1, TopoDS_Shape S2) { - this(OccJavaJNI.new_BRepAlgoAPI_Cut(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepAlgoAPI_Cut extends BRepAlgoAPI_BooleanOperation { + private transient long swigCPtr; + + protected BRepAlgoAPI_Cut(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepAlgoAPI_Cut_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepAlgoAPI_Cut obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepAlgoAPI_Cut(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepAlgoAPI_Cut(TopoDS_Shape S1, TopoDS_Shape S2) { + this(OccJavaJNI.new_BRepAlgoAPI_Cut(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Fuse.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Fuse.java index ec3347fe..621d9171 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Fuse.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Fuse.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepAlgoAPI_Fuse extends BRepAlgoAPI_BooleanOperation { - private long swigCPtr; - - public BRepAlgoAPI_Fuse(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepAlgoAPI_Fuse_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepAlgoAPI_Fuse obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepAlgoAPI_Fuse(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepAlgoAPI_Fuse(TopoDS_Shape S1, TopoDS_Shape S2) { - this(OccJavaJNI.new_BRepAlgoAPI_Fuse(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepAlgoAPI_Fuse extends BRepAlgoAPI_BooleanOperation { + private transient long swigCPtr; + + protected BRepAlgoAPI_Fuse(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepAlgoAPI_Fuse_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepAlgoAPI_Fuse obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepAlgoAPI_Fuse(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepAlgoAPI_Fuse(TopoDS_Shape S1, TopoDS_Shape S2) { + this(OccJavaJNI.new_BRepAlgoAPI_Fuse(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Section.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Section.java index da55f33e..651bd331 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Section.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepAlgoAPI_Section.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepAlgoAPI_Section extends BRepAlgoAPI_BooleanOperation { - private long swigCPtr; - - public BRepAlgoAPI_Section(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepAlgoAPI_Section_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepAlgoAPI_Section obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepAlgoAPI_Section(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepAlgoAPI_Section(TopoDS_Shape S1, TopoDS_Shape S2) { - this(OccJavaJNI.new_BRepAlgoAPI_Section(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepAlgoAPI_Section extends BRepAlgoAPI_BooleanOperation { + private transient long swigCPtr; + + protected BRepAlgoAPI_Section(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepAlgoAPI_Section_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepAlgoAPI_Section obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepAlgoAPI_Section(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepAlgoAPI_Section(TopoDS_Shape S1, TopoDS_Shape S2) { + this(OccJavaJNI.new_BRepAlgoAPI_Section(TopoDS_Shape.getCPtr(S1), S1, TopoDS_Shape.getCPtr(S2), S2), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBndLib.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBndLib.java index b05a6542..7bc7770e 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBndLib.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBndLib.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBndLib { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepBndLib(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBndLib obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBndLib(swigCPtr); - } - swigCPtr = 0; - } - } - - public static void add(TopoDS_Shape shape, Bnd_Box bndBox) { - OccJavaJNI.BRepBndLib_add(TopoDS_Shape.getCPtr(shape), shape, Bnd_Box.getCPtr(bndBox), bndBox); - } - - public BRepBndLib() { - this(OccJavaJNI.new_BRepBndLib(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBndLib { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepBndLib(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBndLib obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBndLib(swigCPtr); + } + swigCPtr = 0; + } + } + + public static void add(TopoDS_Shape shape, Bnd_Box bndBox) { + OccJavaJNI.BRepBndLib_add(TopoDS_Shape.getCPtr(shape), shape, Bnd_Box.getCPtr(bndBox), bndBox); + } + + public BRepBndLib() { + this(OccJavaJNI.new_BRepBndLib(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Command.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Command.java new file mode 100644 index 00000000..26d85ec6 --- /dev/null +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Command.java @@ -0,0 +1,42 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_Command { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepBuilderAPI_Command(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_Command obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_Command(swigCPtr); + } + swigCPtr = 0; + } + } + + public boolean isDone() { + return OccJavaJNI.BRepBuilderAPI_Command_isDone(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java index 1a3c1793..0579c404 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeEdge.java @@ -1,178 +1,186 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeEdge extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeEdge(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeEdge_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeEdge obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeEdge(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeEdge() { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_0(), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_1(Geom_Curve.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_2(TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_3(P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_4(GP_Circ.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_5(GP_Circ.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_6(GP_Circ.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Circ L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_7(GP_Circ.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_8(GP_Parab.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_9(GP_Parab.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_10(GP_Parab.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Parab L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_11(GP_Parab.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public boolean isDone() { - return OccJavaJNI.BRepBuilderAPI_MakeEdge_isDone(swigCPtr, this); -} - - public BRepBuilderAPI_MakeEdge(GP_Lin L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_12(GP_Lin.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Lin L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_13(GP_Lin.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Lin L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_14(GP_Lin.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Lin L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_15(GP_Lin.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_16(GP_Elips.getCPtr(L), L), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_17(GP_Elips.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_18(GP_Elips.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(GP_Elips L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_19(GP_Elips.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_20(SWIGTYPE_p_gp_Hypr.getCPtr(L)), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_21(SWIGTYPE_p_gp_Hypr.getCPtr(L), p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_22(SWIGTYPE_p_gp_Hypr.getCPtr(L), P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_23(SWIGTYPE_p_gp_Hypr.getCPtr(L), TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_24(Geom_Curve.getCPtr(L), L, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_25(Geom_Curve.getCPtr(L), L, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_26(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_27(Geom_Curve.getCPtr(L), L, P1, P2, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_28(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_29(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_30(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, p1, p2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_31(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, TopoDS_Vertex V1, TopoDS_Vertex V2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_32(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); - } - - public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2, double p1, double p2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_33(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2, p1, p2), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeEdge extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeEdge(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeEdge_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeEdge obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeEdge(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeEdge() { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_0(), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_1(Geom_Curve.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_2(TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_3(P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_4(GP_Circ.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_5(GP_Circ.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_6(GP_Circ.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Circ L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_7(GP_Circ.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_8(GP_Parab.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_9(GP_Parab.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_10(GP_Parab.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Parab L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_11(GP_Parab.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_12(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_TrimmedCurve L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_13(Geom_TrimmedCurve.getCPtr(L), L), true); + } + + public boolean isDone() { + return OccJavaJNI.BRepBuilderAPI_MakeEdge_isDone(swigCPtr, this); +} + + public TopoDS_Edge edge() { + return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_MakeEdge_edge(swigCPtr, this), false); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_14(GP_Lin.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_15(GP_Lin.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_16(GP_Lin.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Lin L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_17(GP_Lin.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_18(GP_Elips.getCPtr(L), L), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_19(GP_Elips.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_20(GP_Elips.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(GP_Elips L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_21(GP_Elips.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_22(SWIGTYPE_p_gp_Hypr.getCPtr(L)), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_23(SWIGTYPE_p_gp_Hypr.getCPtr(L), p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_24(SWIGTYPE_p_gp_Hypr.getCPtr(L), P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(SWIGTYPE_p_gp_Hypr L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_25(SWIGTYPE_p_gp_Hypr.getCPtr(L), TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_26(Geom_Curve.getCPtr(L), L, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_27(Geom_Curve.getCPtr(L), L, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_28(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, double[] P1, double[] P2, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_29(Geom_Curve.getCPtr(L), L, P1, P2, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom_Curve L, TopoDS_Vertex V1, TopoDS_Vertex V2, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_30(Geom_Curve.getCPtr(L), L, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_31(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, p1, p2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_32(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, TopoDS_Vertex V1, TopoDS_Vertex V2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_33(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, TopoDS_Vertex.getCPtr(V1), V1, TopoDS_Vertex.getCPtr(V2), V2), true); + } + + public BRepBuilderAPI_MakeEdge(Geom2d_Curve L, Geom_Surface S, double[] P1, double[] P2, double p1, double p2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeEdge__SWIG_34(Geom2d_Curve.getCPtr(L), L, Geom_Surface.getCPtr(S), S, P1, P2, p1, p2), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeFace.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeFace.java index 5290a309..6ae512f5 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeFace.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeFace.java @@ -1,58 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeFace extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeFace(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeFace_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeFace obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeFace(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeFace(TopoDS_Wire W, boolean OnlyPlane) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeFace__SWIG_0(TopoDS_Wire.getCPtr(W), W, OnlyPlane), true); - } - - public BRepBuilderAPI_MakeFace(TopoDS_Wire W) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeFace__SWIG_1(TopoDS_Wire.getCPtr(W), W), true); - } - - public BRepBuilderAPI_MakeFace(TopoDS_Face F, TopoDS_Wire W) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeFace__SWIG_2(TopoDS_Face.getCPtr(F), F, TopoDS_Wire.getCPtr(W), W), true); - } - - public boolean isDone() { - return OccJavaJNI.BRepBuilderAPI_MakeFace_isDone(swigCPtr, this); -} - - public SWIGTYPE_p_BRepBuilderAPI_FaceError error() { - return new SWIGTYPE_p_BRepBuilderAPI_FaceError(OccJavaJNI.BRepBuilderAPI_MakeFace_error(swigCPtr, this), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeFace extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeFace(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeFace_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeFace obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeFace(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeFace(TopoDS_Wire W, boolean OnlyPlane) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeFace__SWIG_0(TopoDS_Wire.getCPtr(W), W, OnlyPlane), true); + } + + public BRepBuilderAPI_MakeFace(TopoDS_Wire W) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeFace__SWIG_1(TopoDS_Wire.getCPtr(W), W), true); + } + + public BRepBuilderAPI_MakeFace(TopoDS_Face F, TopoDS_Wire W) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeFace__SWIG_2(TopoDS_Face.getCPtr(F), F, TopoDS_Wire.getCPtr(W), W), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShape.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShape.java index cb74d2b2..14ffa9e1 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShape.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShape.java @@ -1,43 +1,47 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeShape { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepBuilderAPI_MakeShape(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeShape obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeShape(swigCPtr); - } - swigCPtr = 0; - } - } - - public TopoDS_Shape shape() { - long cPtr = OccJavaJNI.BRepBuilderAPI_MakeShape_shape(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeShape extends BRepBuilderAPI_Command { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeShape(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeShape_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeShape obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeShape(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public void build() { + OccJavaJNI.BRepBuilderAPI_MakeShape_build(swigCPtr, this); + } + + public TopoDS_Shape shape() { + long cPtr = OccJavaJNI.BRepBuilderAPI_MakeShape_shape(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java index cc9de33e..3f090152 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeShell.java @@ -1,78 +1,78 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeShell extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeShell(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeShell_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeShell obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeShell(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeShell() { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_0(), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S, boolean Segment) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_1(Geom_Surface.getCPtr(S), S, Segment), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_2(Geom_Surface.getCPtr(S), S), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_3(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment), true); - } - - public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_4(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax), true); - } - - public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { - OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_0(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment); - } - - public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { - OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_1(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax); - } - - public boolean isDone() { - return OccJavaJNI.BRepBuilderAPI_MakeShell_isDone(swigCPtr, this); -} - - public SWIGTYPE_p_BRepBuilderAPI_ShellError error() { - return new SWIGTYPE_p_BRepBuilderAPI_ShellError(OccJavaJNI.BRepBuilderAPI_MakeShell_error(swigCPtr, this), true); - } - - public TopoDS_Shell Shell() { - return new TopoDS_Shell(OccJavaJNI.BRepBuilderAPI_MakeShell_Shell(swigCPtr, this), false); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeShell extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeShell(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeShell_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeShell obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeShell(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeShell() { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_0(), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S, boolean Segment) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_1(Geom_Surface.getCPtr(S), S, Segment), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_2(Geom_Surface.getCPtr(S), S), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_3(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment), true); + } + + public BRepBuilderAPI_MakeShell(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeShell__SWIG_4(Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax), true); + } + + public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax, boolean Segment) { + OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_0(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax, Segment); + } + + public void init(Geom_Surface S, double UMin, double UMax, double VMin, double VMax) { + OccJavaJNI.BRepBuilderAPI_MakeShell_init__SWIG_1(swigCPtr, this, Geom_Surface.getCPtr(S), S, UMin, UMax, VMin, VMax); + } + + public boolean isDone() { + return OccJavaJNI.BRepBuilderAPI_MakeShell_isDone(swigCPtr, this); +} + + public SWIGTYPE_p_BRepBuilderAPI_ShellError error() { + return new SWIGTYPE_p_BRepBuilderAPI_ShellError(OccJavaJNI.BRepBuilderAPI_MakeShell_error(swigCPtr, this), true); + } + + public TopoDS_Shell Shell() { + return new TopoDS_Shell(OccJavaJNI.BRepBuilderAPI_MakeShell_Shell(swigCPtr, this), false); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeSolid.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeSolid.java index 8d5507b0..2e4eab8e 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeSolid.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeSolid.java @@ -1,78 +1,78 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeSolid extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeSolid(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeSolid_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeSolid obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeSolid(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeSolid() { - this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_0(), true); - } - - public BRepBuilderAPI_MakeSolid(TopoDS_CompSolid S) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_1(TopoDS_CompSolid.getCPtr(S), S), true); - } - - public BRepBuilderAPI_MakeSolid(TopoDS_Shell S) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_2(TopoDS_Shell.getCPtr(S), S), true); - } - - public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_3(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2), true); - } - - public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2, TopoDS_Shell S3) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_4(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2, TopoDS_Shell.getCPtr(S3), S3), true); - } - - public BRepBuilderAPI_MakeSolid(TopoDS_Solid So) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_5(TopoDS_Solid.getCPtr(So), So), true); - } - - public BRepBuilderAPI_MakeSolid(TopoDS_Solid So, TopoDS_Shell S) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_6(TopoDS_Solid.getCPtr(So), So, TopoDS_Shell.getCPtr(S), S), true); - } - - public void add(TopoDS_Shell S) { - OccJavaJNI.BRepBuilderAPI_MakeSolid_add(swigCPtr, this, TopoDS_Shell.getCPtr(S), S); - } - - public boolean isDone() { - return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDone(swigCPtr, this); -} - - public boolean isDeleted(TopoDS_Shape S) { - return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeSolid extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeSolid(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeSolid_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeSolid obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeSolid(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeSolid() { + this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_0(), true); + } + + public BRepBuilderAPI_MakeSolid(TopoDS_CompSolid S) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_1(TopoDS_CompSolid.getCPtr(S), S), true); + } + + public BRepBuilderAPI_MakeSolid(TopoDS_Shell S) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_2(TopoDS_Shell.getCPtr(S), S), true); + } + + public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_3(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2), true); + } + + public BRepBuilderAPI_MakeSolid(TopoDS_Shell S1, TopoDS_Shell S2, TopoDS_Shell S3) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_4(TopoDS_Shell.getCPtr(S1), S1, TopoDS_Shell.getCPtr(S2), S2, TopoDS_Shell.getCPtr(S3), S3), true); + } + + public BRepBuilderAPI_MakeSolid(TopoDS_Solid So) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_5(TopoDS_Solid.getCPtr(So), So), true); + } + + public BRepBuilderAPI_MakeSolid(TopoDS_Solid So, TopoDS_Shell S) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeSolid__SWIG_6(TopoDS_Solid.getCPtr(So), So, TopoDS_Shell.getCPtr(S), S), true); + } + + public void add(TopoDS_Shell S) { + OccJavaJNI.BRepBuilderAPI_MakeSolid_add(swigCPtr, this, TopoDS_Shell.getCPtr(S), S); + } + + public boolean isDone() { + return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDone(swigCPtr, this); +} + + public boolean isDeleted(TopoDS_Shape S) { + return OccJavaJNI.BRepBuilderAPI_MakeSolid_isDeleted(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeVertex.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeVertex.java index e85cb7db..b65b48ff 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeVertex.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeVertex.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeVertex extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeVertex(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeVertex_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeVertex obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeVertex(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeVertex(double[] P) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeVertex(P), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeVertex extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeVertex(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeVertex_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeVertex obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeVertex(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeVertex(double[] P) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeVertex(P), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeWire.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeWire.java index 96c503cf..b29d5273 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeWire.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_MakeWire.java @@ -1,82 +1,86 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_MakeWire extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_MakeWire(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_MakeWire_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_MakeWire obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_MakeWire(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_MakeWire() { - this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_0(), true); - } - - public BRepBuilderAPI_MakeWire(TopoDS_Edge E) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_1(TopoDS_Edge.getCPtr(E), E), true); - } - - public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_2(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2), true); - } - - public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2, TopoDS_Edge E3) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_3(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2, TopoDS_Edge.getCPtr(E3), E3), true); - } - - public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2, TopoDS_Edge E3, TopoDS_Edge E4) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_4(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2, TopoDS_Edge.getCPtr(E3), E3, TopoDS_Edge.getCPtr(E4), E4), true); - } - - public BRepBuilderAPI_MakeWire(TopoDS_Wire W) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_5(TopoDS_Wire.getCPtr(W), W), true); - } - - public BRepBuilderAPI_MakeWire(TopoDS_Wire W, TopoDS_Edge E) { - this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_6(TopoDS_Wire.getCPtr(W), W, TopoDS_Edge.getCPtr(E), E), true); - } - - public void add(TopoDS_Edge E) { - OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(E), E); - } - - public void add(TopoDS_Wire W) { - OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); - } - - public void add(TopoDS_Shape[] shapes) { - OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_2(swigCPtr, this, TopoDS_Shape.cArrayUnwrap(shapes)); - } - - public boolean isDone() { - return OccJavaJNI.BRepBuilderAPI_MakeWire_isDone(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_MakeWire extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_MakeWire(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_MakeWire_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_MakeWire obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_MakeWire(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_MakeWire() { + this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_0(), true); + } + + public BRepBuilderAPI_MakeWire(TopoDS_Edge E) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_1(TopoDS_Edge.getCPtr(E), E), true); + } + + public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_2(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2), true); + } + + public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2, TopoDS_Edge E3) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_3(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2, TopoDS_Edge.getCPtr(E3), E3), true); + } + + public BRepBuilderAPI_MakeWire(TopoDS_Edge E1, TopoDS_Edge E2, TopoDS_Edge E3, TopoDS_Edge E4) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_4(TopoDS_Edge.getCPtr(E1), E1, TopoDS_Edge.getCPtr(E2), E2, TopoDS_Edge.getCPtr(E3), E3, TopoDS_Edge.getCPtr(E4), E4), true); + } + + public BRepBuilderAPI_MakeWire(TopoDS_Wire W) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_5(TopoDS_Wire.getCPtr(W), W), true); + } + + public BRepBuilderAPI_MakeWire(TopoDS_Wire W, TopoDS_Edge E) { + this(OccJavaJNI.new_BRepBuilderAPI_MakeWire__SWIG_6(TopoDS_Wire.getCPtr(W), W, TopoDS_Edge.getCPtr(E), E), true); + } + + public void add(TopoDS_Edge E) { + OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(E), E); + } + + public void add(TopoDS_Wire W) { + OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); + } + + public void add(TopoDS_Shape[] shapes) { + OccJavaJNI.BRepBuilderAPI_MakeWire_add__SWIG_2(swigCPtr, this, TopoDS_Shape.cArrayUnwrap(shapes)); + } + + public boolean isDone() { + return OccJavaJNI.BRepBuilderAPI_MakeWire_isDone(swigCPtr, this); +} + + public TopoDS_Wire wire() { + return new TopoDS_Wire(OccJavaJNI.BRepBuilderAPI_MakeWire_wire(swigCPtr, this), false); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_ModifyShape.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_ModifyShape.java index 3c251d8d..f6e02b25 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_ModifyShape.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_ModifyShape.java @@ -1,43 +1,43 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_ModifyShape extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepBuilderAPI_ModifyShape(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_ModifyShape_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_ModifyShape obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_ModifyShape(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TopoDS_Shape modifiedShape(TopoDS_Shape S) { - long cPtr = OccJavaJNI.BRepBuilderAPI_ModifyShape_modifiedShape(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_ModifyShape extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_ModifyShape(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_ModifyShape_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_ModifyShape obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_ModifyShape(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public TopoDS_Shape modifiedShape(TopoDS_Shape S) { + long cPtr = OccJavaJNI.BRepBuilderAPI_ModifyShape_modifiedShape(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_NurbsConvert.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_NurbsConvert.java index 91f29fbe..f82a4afc 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_NurbsConvert.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_NurbsConvert.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_NurbsConvert extends BRepBuilderAPI_ModifyShape { - private long swigCPtr; - - public BRepBuilderAPI_NurbsConvert(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_NurbsConvert_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_NurbsConvert obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_NurbsConvert(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_NurbsConvert() { - this(OccJavaJNI.new_BRepBuilderAPI_NurbsConvert__SWIG_0(), true); - } - - public BRepBuilderAPI_NurbsConvert(TopoDS_Shape S, boolean Copy) { - this(OccJavaJNI.new_BRepBuilderAPI_NurbsConvert__SWIG_1(TopoDS_Shape.getCPtr(S), S, Copy), true); - } - - public BRepBuilderAPI_NurbsConvert(TopoDS_Shape S) { - this(OccJavaJNI.new_BRepBuilderAPI_NurbsConvert__SWIG_2(TopoDS_Shape.getCPtr(S), S), true); - } - - public void perform(TopoDS_Shape S, boolean Copy) { - OccJavaJNI.BRepBuilderAPI_NurbsConvert_perform__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, Copy); - } - - public void perform(TopoDS_Shape S) { - OccJavaJNI.BRepBuilderAPI_NurbsConvert_perform__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_NurbsConvert extends BRepBuilderAPI_ModifyShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_NurbsConvert(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_NurbsConvert_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_NurbsConvert obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_NurbsConvert(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_NurbsConvert() { + this(OccJavaJNI.new_BRepBuilderAPI_NurbsConvert__SWIG_0(), true); + } + + public BRepBuilderAPI_NurbsConvert(TopoDS_Shape S, boolean Copy) { + this(OccJavaJNI.new_BRepBuilderAPI_NurbsConvert__SWIG_1(TopoDS_Shape.getCPtr(S), S, Copy), true); + } + + public BRepBuilderAPI_NurbsConvert(TopoDS_Shape S) { + this(OccJavaJNI.new_BRepBuilderAPI_NurbsConvert__SWIG_2(TopoDS_Shape.getCPtr(S), S), true); + } + + public void perform(TopoDS_Shape S, boolean Copy) { + OccJavaJNI.BRepBuilderAPI_NurbsConvert_perform__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, Copy); + } + + public void perform(TopoDS_Shape S) { + OccJavaJNI.BRepBuilderAPI_NurbsConvert_perform__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Sewing.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Sewing.java index 02231204..8c9c2be7 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Sewing.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Sewing.java @@ -1,150 +1,150 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_Sewing { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepBuilderAPI_Sewing(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_Sewing obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_Sewing(swigCPtr); - } - swigCPtr = 0; - } - } - - public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting, boolean nonmanifold) { - this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_0(tolerance, option, cutting, nonmanifold), true); - } - - public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting) { - this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_1(tolerance, option, cutting), true); - } - - public BRepBuilderAPI_Sewing(double tolerance, boolean option) { - this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_2(tolerance, option), true); - } - - public BRepBuilderAPI_Sewing(double tolerance) { - this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_3(tolerance), true); - } - - public BRepBuilderAPI_Sewing() { - this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_4(), true); - } - - public void init(double tolerance, boolean option, boolean cutting, boolean nonmanifold) { - OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_0(swigCPtr, this, tolerance, option, cutting, nonmanifold); - } - - public void init(double tolerance, boolean option, boolean cutting) { - OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_1(swigCPtr, this, tolerance, option, cutting); - } - - public void init(double tolerance, boolean option) { - OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_2(swigCPtr, this, tolerance, option); - } - - public void init(double tolerance) { - OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_3(swigCPtr, this, tolerance); - } - - public void load(TopoDS_Shape shape) { - OccJavaJNI.BRepBuilderAPI_Sewing_load(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); - } - - public void add(TopoDS_Shape shape) { - OccJavaJNI.BRepBuilderAPI_Sewing_add(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); - } - - public void perform() { - OccJavaJNI.BRepBuilderAPI_Sewing_perform(swigCPtr, this); - } - - public TopoDS_Shape sewedShape() { - long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_sewedShape(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public int nbFreeEdges() { - return OccJavaJNI.BRepBuilderAPI_Sewing_nbFreeEdges(swigCPtr, this); - } - - public TopoDS_Edge freeEdge(int index) { - return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_freeEdge(swigCPtr, this, index), false); - } - - public int nbMultipleEdges() { - return OccJavaJNI.BRepBuilderAPI_Sewing_nbMultipleEdges(swigCPtr, this); - } - - public TopoDS_Edge multipleEdge(int index) { - return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_multipleEdge(swigCPtr, this, index), false); - } - - public int nbDegeneratedShapes() { - return OccJavaJNI.BRepBuilderAPI_Sewing_nbDegeneratedShapes(swigCPtr, this); - } - - public TopoDS_Shape degeneratedShape(int index) { - long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_degeneratedShape(swigCPtr, this, index); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public int nbDeletedFaces() { - return OccJavaJNI.BRepBuilderAPI_Sewing_nbDeletedFaces(swigCPtr, this); - } - - public TopoDS_Face deletedFace(int index) { - return new TopoDS_Face(OccJavaJNI.BRepBuilderAPI_Sewing_deletedFace(swigCPtr, this, index), false); - } - - public boolean isDegenerated(TopoDS_Shape shape) { - return OccJavaJNI.BRepBuilderAPI_Sewing_isDegenerated(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); -} - - public boolean isModified(TopoDS_Shape shape) { - return OccJavaJNI.BRepBuilderAPI_Sewing_isModified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); -} - - public TopoDS_Shape modified(TopoDS_Shape shape) { - long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public void dump() { - OccJavaJNI.BRepBuilderAPI_Sewing_dump(swigCPtr, this); - } - - public boolean isModifiedSubShape(TopoDS_Shape shape) { - return OccJavaJNI.BRepBuilderAPI_Sewing_isModifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); -} - - public TopoDS_Shape modifiedSubShape(TopoDS_Shape shape) { - long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_Sewing { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepBuilderAPI_Sewing(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_Sewing obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_Sewing(swigCPtr); + } + swigCPtr = 0; + } + } + + public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting, boolean nonmanifold) { + this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_0(tolerance, option, cutting, nonmanifold), true); + } + + public BRepBuilderAPI_Sewing(double tolerance, boolean option, boolean cutting) { + this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_1(tolerance, option, cutting), true); + } + + public BRepBuilderAPI_Sewing(double tolerance, boolean option) { + this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_2(tolerance, option), true); + } + + public BRepBuilderAPI_Sewing(double tolerance) { + this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_3(tolerance), true); + } + + public BRepBuilderAPI_Sewing() { + this(OccJavaJNI.new_BRepBuilderAPI_Sewing__SWIG_4(), true); + } + + public void init(double tolerance, boolean option, boolean cutting, boolean nonmanifold) { + OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_0(swigCPtr, this, tolerance, option, cutting, nonmanifold); + } + + public void init(double tolerance, boolean option, boolean cutting) { + OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_1(swigCPtr, this, tolerance, option, cutting); + } + + public void init(double tolerance, boolean option) { + OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_2(swigCPtr, this, tolerance, option); + } + + public void init(double tolerance) { + OccJavaJNI.BRepBuilderAPI_Sewing_init__SWIG_3(swigCPtr, this, tolerance); + } + + public void load(TopoDS_Shape shape) { + OccJavaJNI.BRepBuilderAPI_Sewing_load(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); + } + + public void add(TopoDS_Shape shape) { + OccJavaJNI.BRepBuilderAPI_Sewing_add(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); + } + + public void perform() { + OccJavaJNI.BRepBuilderAPI_Sewing_perform(swigCPtr, this); + } + + public TopoDS_Shape sewedShape() { + long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_sewedShape(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public int nbFreeEdges() { + return OccJavaJNI.BRepBuilderAPI_Sewing_nbFreeEdges(swigCPtr, this); + } + + public TopoDS_Edge freeEdge(int index) { + return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_freeEdge(swigCPtr, this, index), false); + } + + public int nbMultipleEdges() { + return OccJavaJNI.BRepBuilderAPI_Sewing_nbMultipleEdges(swigCPtr, this); + } + + public TopoDS_Edge multipleEdge(int index) { + return new TopoDS_Edge(OccJavaJNI.BRepBuilderAPI_Sewing_multipleEdge(swigCPtr, this, index), false); + } + + public int nbDegeneratedShapes() { + return OccJavaJNI.BRepBuilderAPI_Sewing_nbDegeneratedShapes(swigCPtr, this); + } + + public TopoDS_Shape degeneratedShape(int index) { + long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_degeneratedShape(swigCPtr, this, index); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public int nbDeletedFaces() { + return OccJavaJNI.BRepBuilderAPI_Sewing_nbDeletedFaces(swigCPtr, this); + } + + public TopoDS_Face deletedFace(int index) { + return new TopoDS_Face(OccJavaJNI.BRepBuilderAPI_Sewing_deletedFace(swigCPtr, this, index), false); + } + + public boolean isDegenerated(TopoDS_Shape shape) { + return OccJavaJNI.BRepBuilderAPI_Sewing_isDegenerated(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); +} + + public boolean isModified(TopoDS_Shape shape) { + return OccJavaJNI.BRepBuilderAPI_Sewing_isModified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); +} + + public TopoDS_Shape modified(TopoDS_Shape shape) { + long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modified(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public void dump() { + OccJavaJNI.BRepBuilderAPI_Sewing_dump(swigCPtr, this); + } + + public boolean isModifiedSubShape(TopoDS_Shape shape) { + return OccJavaJNI.BRepBuilderAPI_Sewing_isModifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); +} + + public TopoDS_Shape modifiedSubShape(TopoDS_Shape shape) { + long cPtr = OccJavaJNI.BRepBuilderAPI_Sewing_modifiedSubShape(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Transform.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Transform.java index ccb9543f..db34df85 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Transform.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepBuilderAPI_Transform.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepBuilderAPI_Transform extends BRepBuilderAPI_ModifyShape { - private long swigCPtr; - - public BRepBuilderAPI_Transform(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepBuilderAPI_Transform_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepBuilderAPI_Transform obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepBuilderAPI_Transform(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepBuilderAPI_Transform(GP_Trsf T) { - this(OccJavaJNI.new_BRepBuilderAPI_Transform__SWIG_0(GP_Trsf.getCPtr(T), T), true); - } - - public BRepBuilderAPI_Transform(TopoDS_Shape S, GP_Trsf T, boolean Copy) { - this(OccJavaJNI.new_BRepBuilderAPI_Transform__SWIG_1(TopoDS_Shape.getCPtr(S), S, GP_Trsf.getCPtr(T), T, Copy), true); - } - - public BRepBuilderAPI_Transform(TopoDS_Shape S, GP_Trsf T) { - this(OccJavaJNI.new_BRepBuilderAPI_Transform__SWIG_2(TopoDS_Shape.getCPtr(S), S, GP_Trsf.getCPtr(T), T), true); - } - - public void perform(TopoDS_Shape S, boolean Copy) { - OccJavaJNI.BRepBuilderAPI_Transform_perform__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, Copy); - } - - public void perform(TopoDS_Shape S) { - OccJavaJNI.BRepBuilderAPI_Transform_perform__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepBuilderAPI_Transform extends BRepBuilderAPI_ModifyShape { + private transient long swigCPtr; + + protected BRepBuilderAPI_Transform(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepBuilderAPI_Transform_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepBuilderAPI_Transform obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepBuilderAPI_Transform(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepBuilderAPI_Transform(GP_Trsf T) { + this(OccJavaJNI.new_BRepBuilderAPI_Transform__SWIG_0(GP_Trsf.getCPtr(T), T), true); + } + + public BRepBuilderAPI_Transform(TopoDS_Shape S, GP_Trsf T, boolean Copy) { + this(OccJavaJNI.new_BRepBuilderAPI_Transform__SWIG_1(TopoDS_Shape.getCPtr(S), S, GP_Trsf.getCPtr(T), T, Copy), true); + } + + public BRepBuilderAPI_Transform(TopoDS_Shape S, GP_Trsf T) { + this(OccJavaJNI.new_BRepBuilderAPI_Transform__SWIG_2(TopoDS_Shape.getCPtr(S), S, GP_Trsf.getCPtr(T), T), true); + } + + public void perform(TopoDS_Shape S, boolean Copy) { + OccJavaJNI.BRepBuilderAPI_Transform_perform__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, Copy); + } + + public void perform(TopoDS_Shape S) { + OccJavaJNI.BRepBuilderAPI_Transform_perform__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepCheck_Analyzer.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepCheck_Analyzer.java index 37821f6d..f45d20c0 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepCheck_Analyzer.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepCheck_Analyzer.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepCheck_Analyzer { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepCheck_Analyzer(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepCheck_Analyzer obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepCheck_Analyzer(swigCPtr); - } - swigCPtr = 0; - } - } - - public BRepCheck_Analyzer(TopoDS_Shape S, boolean GeomControls) { - this(OccJavaJNI.new_BRepCheck_Analyzer__SWIG_0(TopoDS_Shape.getCPtr(S), S, GeomControls), true); - } - - public BRepCheck_Analyzer(TopoDS_Shape S) { - this(OccJavaJNI.new_BRepCheck_Analyzer__SWIG_1(TopoDS_Shape.getCPtr(S), S), true); - } - - public void init(TopoDS_Shape S, boolean GeomControls) { - OccJavaJNI.BRepCheck_Analyzer_init__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, GeomControls); - } - - public void init(TopoDS_Shape S) { - OccJavaJNI.BRepCheck_Analyzer_init__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - - public boolean isValid() { - return OccJavaJNI.BRepCheck_Analyzer_isValid(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepCheck_Analyzer { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepCheck_Analyzer(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepCheck_Analyzer obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepCheck_Analyzer(swigCPtr); + } + swigCPtr = 0; + } + } + + public BRepCheck_Analyzer(TopoDS_Shape S, boolean GeomControls) { + this(OccJavaJNI.new_BRepCheck_Analyzer__SWIG_0(TopoDS_Shape.getCPtr(S), S, GeomControls), true); + } + + public BRepCheck_Analyzer(TopoDS_Shape S) { + this(OccJavaJNI.new_BRepCheck_Analyzer__SWIG_1(TopoDS_Shape.getCPtr(S), S), true); + } + + public void init(TopoDS_Shape S, boolean GeomControls) { + OccJavaJNI.BRepCheck_Analyzer_init__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, GeomControls); + } + + public void init(TopoDS_Shape S) { + OccJavaJNI.BRepCheck_Analyzer_init__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + } + + public boolean isValid() { + return OccJavaJNI.BRepCheck_Analyzer_isValid(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_LocalOperation.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_LocalOperation.java index 253297d6..f7bc3492 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_LocalOperation.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_LocalOperation.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepFilletAPI_LocalOperation extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepFilletAPI_LocalOperation(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepFilletAPI_LocalOperation_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepFilletAPI_LocalOperation obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepFilletAPI_LocalOperation(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepFilletAPI_LocalOperation extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepFilletAPI_LocalOperation(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepFilletAPI_LocalOperation_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepFilletAPI_LocalOperation obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepFilletAPI_LocalOperation(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeChamfer.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeChamfer.java index 0ee37044..ff56db86 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeChamfer.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeChamfer.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepFilletAPI_MakeChamfer extends BRepFilletAPI_LocalOperation { - private long swigCPtr; - - public BRepFilletAPI_MakeChamfer(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepFilletAPI_MakeChamfer_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepFilletAPI_MakeChamfer obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepFilletAPI_MakeChamfer(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepFilletAPI_MakeChamfer(TopoDS_Shape shape) { - this(OccJavaJNI.new_BRepFilletAPI_MakeChamfer(TopoDS_Shape.getCPtr(shape), shape), true); - } - - public void add(double distance, TopoDS_Edge edge, TopoDS_Face face) { - OccJavaJNI.BRepFilletAPI_MakeChamfer_add(swigCPtr, this, distance, TopoDS_Edge.getCPtr(edge), edge, TopoDS_Face.getCPtr(face), face); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepFilletAPI_MakeChamfer extends BRepFilletAPI_LocalOperation { + private transient long swigCPtr; + + protected BRepFilletAPI_MakeChamfer(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepFilletAPI_MakeChamfer_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepFilletAPI_MakeChamfer obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepFilletAPI_MakeChamfer(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepFilletAPI_MakeChamfer(TopoDS_Shape shape) { + this(OccJavaJNI.new_BRepFilletAPI_MakeChamfer(TopoDS_Shape.getCPtr(shape), shape), true); + } + + public void add(double distance, TopoDS_Edge edge, TopoDS_Face face) { + OccJavaJNI.BRepFilletAPI_MakeChamfer_add(swigCPtr, this, distance, TopoDS_Edge.getCPtr(edge), edge, TopoDS_Face.getCPtr(face), face); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeFillet.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeFillet.java index a0ecf040..3add5d03 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeFillet.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepFilletAPI_MakeFillet.java @@ -1,50 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepFilletAPI_MakeFillet extends BRepFilletAPI_LocalOperation { - private long swigCPtr; - - public BRepFilletAPI_MakeFillet(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepFilletAPI_MakeFillet_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepFilletAPI_MakeFillet obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepFilletAPI_MakeFillet(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepFilletAPI_MakeFillet(TopoDS_Shape shape, ChFi3d_FilletShape type) { - this(OccJavaJNI.new_BRepFilletAPI_MakeFillet__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, type.swigValue()), true); - } - - public BRepFilletAPI_MakeFillet(TopoDS_Shape shape) { - this(OccJavaJNI.new_BRepFilletAPI_MakeFillet__SWIG_1(TopoDS_Shape.getCPtr(shape), shape), true); - } - - public void add(double radius, TopoDS_Edge edge) { - OccJavaJNI.BRepFilletAPI_MakeFillet_add(swigCPtr, this, radius, TopoDS_Edge.getCPtr(edge), edge); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepFilletAPI_MakeFillet extends BRepFilletAPI_LocalOperation { + private transient long swigCPtr; + + protected BRepFilletAPI_MakeFillet(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepFilletAPI_MakeFillet_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepFilletAPI_MakeFillet obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepFilletAPI_MakeFillet(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepFilletAPI_MakeFillet(TopoDS_Shape shape, ChFi3d_FilletShape type) { + this(OccJavaJNI.new_BRepFilletAPI_MakeFillet__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, type.swigValue()), true); + } + + public BRepFilletAPI_MakeFillet(TopoDS_Shape shape) { + this(OccJavaJNI.new_BRepFilletAPI_MakeFillet__SWIG_1(TopoDS_Shape.getCPtr(shape), shape), true); + } + + public void add(double radius, TopoDS_Edge edge) { + OccJavaJNI.BRepFilletAPI_MakeFillet_add(swigCPtr, this, radius, TopoDS_Edge.getCPtr(edge), edge); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepGProp.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepGProp.java index 8e0870f4..3d2ea01f 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepGProp.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepGProp.java @@ -1,90 +1,90 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepGProp { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepGProp(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepGProp obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepGProp(swigCPtr); - } - swigCPtr = 0; - } - } - - public static void linearProperties(TopoDS_Shape shape, GProp_GProps properties) { - OccJavaJNI.BRepGProp_linearProperties(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties); - } - - public static void volumeProperties(TopoDS_Shape shape, GProp_GProps properties, boolean onlyClosed) { - OccJavaJNI.BRepGProp_volumeProperties__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, onlyClosed); - } - - public static void volumeProperties(TopoDS_Shape shape, GProp_GProps properties) { - OccJavaJNI.BRepGProp_volumeProperties__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties); - } - - public static double volumeProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed) { - return OccJavaJNI.BRepGProp_volumeProperties__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed); - } - - public static double volumeProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps) { - return OccJavaJNI.BRepGProp_volumeProperties__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps); - } - - public static void surfaceProperties(TopoDS_Shape shape, GProp_GProps properties) { - OccJavaJNI.BRepGProp_surfaceProperties__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties); - } - - public static double surfaceProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps) { - return OccJavaJNI.BRepGProp_surfaceProperties__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps); - } - - public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan, boolean cgFlag, boolean iFlag) { - return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan, cgFlag, iFlag); - } - - public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan, boolean cgFlag) { - return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan, cgFlag); - } - - public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan) { - return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan); - } - - public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed) { - return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed); - } - - public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps) { - return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_4(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps); - } - - public BRepGProp() { - this(OccJavaJNI.new_BRepGProp(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepGProp { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepGProp(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepGProp obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepGProp(swigCPtr); + } + swigCPtr = 0; + } + } + + public static void linearProperties(TopoDS_Shape shape, GProp_GProps properties) { + OccJavaJNI.BRepGProp_linearProperties(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties); + } + + public static void volumeProperties(TopoDS_Shape shape, GProp_GProps properties, boolean onlyClosed) { + OccJavaJNI.BRepGProp_volumeProperties__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, onlyClosed); + } + + public static void volumeProperties(TopoDS_Shape shape, GProp_GProps properties) { + OccJavaJNI.BRepGProp_volumeProperties__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties); + } + + public static double volumeProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed) { + return OccJavaJNI.BRepGProp_volumeProperties__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed); + } + + public static double volumeProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps) { + return OccJavaJNI.BRepGProp_volumeProperties__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps); + } + + public static void surfaceProperties(TopoDS_Shape shape, GProp_GProps properties) { + OccJavaJNI.BRepGProp_surfaceProperties__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties); + } + + public static double surfaceProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps) { + return OccJavaJNI.BRepGProp_surfaceProperties__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps); + } + + public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan, boolean cgFlag, boolean iFlag) { + return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan, cgFlag, iFlag); + } + + public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan, boolean cgFlag) { + return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan, cgFlag); + } + + public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan) { + return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan); + } + + public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed) { + return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed); + } + + public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps) { + return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_4(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps); + } + + public BRepGProp() { + this(OccJavaJNI.new_BRepGProp(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepLib.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepLib.java index 66038d4e..7e93f6ed 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepLib.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepLib.java @@ -1,50 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepLib { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepLib(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepLib obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepLib(swigCPtr); - } - swigCPtr = 0; - } - } - - public static void encodeRegularity(TopoDS_Shape S, double TolAng) { - OccJavaJNI.BRepLib_encodeRegularity__SWIG_0(TopoDS_Shape.getCPtr(S), S, TolAng); - } - - public static void encodeRegularity(TopoDS_Shape S) { - OccJavaJNI.BRepLib_encodeRegularity__SWIG_1(TopoDS_Shape.getCPtr(S), S); - } - - public BRepLib() { - this(OccJavaJNI.new_BRepLib(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepLib { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepLib(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepLib obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepLib(swigCPtr); + } + swigCPtr = 0; + } + } + + public static void encodeRegularity(TopoDS_Shape S, double TolAng) { + OccJavaJNI.BRepLib_encodeRegularity__SWIG_0(TopoDS_Shape.getCPtr(S), S, TolAng); + } + + public static void encodeRegularity(TopoDS_Shape S) { + OccJavaJNI.BRepLib_encodeRegularity__SWIG_1(TopoDS_Shape.getCPtr(S), S); + } + + public BRepLib() { + this(OccJavaJNI.new_BRepLib(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_DiscretRoot.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_DiscretRoot.java index daa449a1..acd66df5 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_DiscretRoot.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_DiscretRoot.java @@ -1,58 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepMesh_DiscretRoot { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepMesh_DiscretRoot(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepMesh_DiscretRoot obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepMesh_DiscretRoot(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setDeflection(double D) { - OccJavaJNI.BRepMesh_DiscretRoot_setDeflection(swigCPtr, this, D); - } - - public void setAngle(double Ang) { - OccJavaJNI.BRepMesh_DiscretRoot_setAngle(swigCPtr, this, Ang); - } - - public double deflection() { - return OccJavaJNI.BRepMesh_DiscretRoot_deflection(swigCPtr, this); - } - - public double angle() { - return OccJavaJNI.BRepMesh_DiscretRoot_angle(swigCPtr, this); - } - - public void perform() { - OccJavaJNI.BRepMesh_DiscretRoot_perform(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepMesh_DiscretRoot { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepMesh_DiscretRoot(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepMesh_DiscretRoot obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepMesh_DiscretRoot(swigCPtr); + } + swigCPtr = 0; + } + } + + public void perform() { + OccJavaJNI.BRepMesh_DiscretRoot_perform(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.java index 7838cf66..7a24ee5d 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepMesh_IncrementalMesh.java @@ -1,66 +1,62 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot { - private long swigCPtr; - - public BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepMesh_IncrementalMesh obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepMesh_IncrementalMesh(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepMesh_IncrementalMesh() { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true); - } - - public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true); - } - - public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true); - } - - public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) { - this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true); - } - - public void perform() { - OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this); - } - - public void update(TopoDS_Shape S) { - OccJavaJNI.BRepMesh_IncrementalMesh_update(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - - public boolean isModified() { - return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepMesh_IncrementalMesh extends BRepMesh_DiscretRoot { + private transient long swigCPtr; + + protected BRepMesh_IncrementalMesh(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepMesh_IncrementalMesh_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepMesh_IncrementalMesh obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepMesh_IncrementalMesh(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepMesh_IncrementalMesh() { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_0(), true); + } + + public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif, double Ang) { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_1(TopoDS_Shape.getCPtr(S), S, D, Relatif, Ang), true); + } + + public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D, boolean Relatif) { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_2(TopoDS_Shape.getCPtr(S), S, D, Relatif), true); + } + + public BRepMesh_IncrementalMesh(TopoDS_Shape S, double D) { + this(OccJavaJNI.new_BRepMesh_IncrementalMesh__SWIG_3(TopoDS_Shape.getCPtr(S), S, D), true); + } + + public void perform() { + OccJavaJNI.BRepMesh_IncrementalMesh_perform(swigCPtr, this); + } + + public boolean isModified() { + return OccJavaJNI.BRepMesh_IncrementalMesh_isModified(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakePipe.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakePipe.java index 4586032e..fa36d725 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakePipe.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakePipe.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepOffsetAPI_MakePipe extends BRepPrimAPI_MakeSweep { - private long swigCPtr; - - public BRepOffsetAPI_MakePipe(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepOffsetAPI_MakePipe_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepOffsetAPI_MakePipe obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepOffsetAPI_MakePipe(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepOffsetAPI_MakePipe(TopoDS_Wire Spine, TopoDS_Shape Profile) { - this(OccJavaJNI.new_BRepOffsetAPI_MakePipe(TopoDS_Wire.getCPtr(Spine), Spine, TopoDS_Shape.getCPtr(Profile), Profile), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepOffsetAPI_MakePipe extends BRepPrimAPI_MakeSweep { + private transient long swigCPtr; + + protected BRepOffsetAPI_MakePipe(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepOffsetAPI_MakePipe_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepOffsetAPI_MakePipe obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepOffsetAPI_MakePipe(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepOffsetAPI_MakePipe(TopoDS_Wire Spine, TopoDS_Shape Profile) { + this(OccJavaJNI.new_BRepOffsetAPI_MakePipe(TopoDS_Wire.getCPtr(Spine), Spine, TopoDS_Shape.getCPtr(Profile), Profile), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakeThickSolid.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakeThickSolid.java index ec69382f..b5916910 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakeThickSolid.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_MakeThickSolid.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepOffsetAPI_MakeThickSolid extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepOffsetAPI_MakeThickSolid(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepOffsetAPI_MakeThickSolid_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepOffsetAPI_MakeThickSolid obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepOffsetAPI_MakeThickSolid(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode, boolean Intersection, boolean SelfInter, SWIGTYPE_p_GeomAbs_JoinType Join) { - this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_0(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue(), Intersection, SelfInter, SWIGTYPE_p_GeomAbs_JoinType.getCPtr(Join)), true); - } - - public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode, boolean Intersection, boolean SelfInter) { - this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_1(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue(), Intersection, SelfInter), true); - } - - public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode, boolean Intersection) { - this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_2(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue(), Intersection), true); - } - - public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode) { - this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_3(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue()), true); - } - - public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol) { - this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_4(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepOffsetAPI_MakeThickSolid extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepOffsetAPI_MakeThickSolid(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepOffsetAPI_MakeThickSolid_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepOffsetAPI_MakeThickSolid obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepOffsetAPI_MakeThickSolid(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode, boolean Intersection, boolean SelfInter, SWIGTYPE_p_GeomAbs_JoinType Join) { + this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_0(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue(), Intersection, SelfInter, SWIGTYPE_p_GeomAbs_JoinType.getCPtr(Join)), true); + } + + public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode, boolean Intersection, boolean SelfInter) { + this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_1(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue(), Intersection, SelfInter), true); + } + + public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode, boolean Intersection) { + this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_2(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue(), Intersection), true); + } + + public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol, BRepOffset_Mode Mode) { + this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_3(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol, Mode.swigValue()), true); + } + + public BRepOffsetAPI_MakeThickSolid(TopoDS_Shape S, TopoDS_Shape[] ClosingFaces, double Offset, double Tol) { + this(OccJavaJNI.new_BRepOffsetAPI_MakeThickSolid__SWIG_4(TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.cArrayUnwrap(ClosingFaces), Offset, Tol), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_NormalProjection.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_NormalProjection.java index 81da1729..11739d59 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_NormalProjection.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_NormalProjection.java @@ -1,109 +1,109 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepOffsetAPI_NormalProjection extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepOffsetAPI_NormalProjection(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepOffsetAPI_NormalProjection_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepOffsetAPI_NormalProjection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepOffsetAPI_NormalProjection(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepOffsetAPI_NormalProjection() { - this(OccJavaJNI.new_BRepOffsetAPI_NormalProjection__SWIG_0(), true); - } - - public BRepOffsetAPI_NormalProjection(TopoDS_Shape S) { - this(OccJavaJNI.new_BRepOffsetAPI_NormalProjection__SWIG_1(TopoDS_Shape.getCPtr(S), S), true); - } - - public void init(TopoDS_Shape S) { - OccJavaJNI.BRepOffsetAPI_NormalProjection_init(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - - public void add(TopoDS_Shape ToProj) { - OccJavaJNI.BRepOffsetAPI_NormalProjection_add(swigCPtr, this, TopoDS_Shape.getCPtr(ToProj), ToProj); - } - - public void setParams(double Tol3D, double Tol2D, GeomAbs_Shape InternalContinuity, int MaxDegree, int MaxSeg) { - OccJavaJNI.BRepOffsetAPI_NormalProjection_setParams(swigCPtr, this, Tol3D, Tol2D, InternalContinuity.swigValue(), MaxDegree, MaxSeg); - } - - public void setMaxDistance(double MaxDist) { - OccJavaJNI.BRepOffsetAPI_NormalProjection_setMaxDistance(swigCPtr, this, MaxDist); - } - - public void setLimit(boolean FaceBoundaries) { - OccJavaJNI.BRepOffsetAPI_NormalProjection_setLimit__SWIG_0(swigCPtr, this, FaceBoundaries); - } - - public void setLimit() { - OccJavaJNI.BRepOffsetAPI_NormalProjection_setLimit__SWIG_1(swigCPtr, this); - } - - public void compute3d(boolean With3d) { - OccJavaJNI.BRepOffsetAPI_NormalProjection_compute3d__SWIG_0(swigCPtr, this, With3d); - } - - public void compute3d() { - OccJavaJNI.BRepOffsetAPI_NormalProjection_compute3d__SWIG_1(swigCPtr, this); - } - - public void build() { - OccJavaJNI.BRepOffsetAPI_NormalProjection_build(swigCPtr, this); - } - - public boolean isDone() { - return OccJavaJNI.BRepOffsetAPI_NormalProjection_isDone(swigCPtr, this); -} - - public TopoDS_Shape projection() { - long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_projection(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public TopoDS_Shape couple(TopoDS_Edge E) { - long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_couple(swigCPtr, this, TopoDS_Edge.getCPtr(E), E); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public TopoDS_Shape[] generated(TopoDS_Shape S) { - return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepOffsetAPI_NormalProjection_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S)); -} - - public TopoDS_Shape ancestor(TopoDS_Edge E) { - long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_ancestor(swigCPtr, this, TopoDS_Edge.getCPtr(E), E); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public boolean buildWire(SWIGTYPE_p_TopTools_ListOfShape Liste) { - return OccJavaJNI.BRepOffsetAPI_NormalProjection_buildWire(swigCPtr, this, SWIGTYPE_p_TopTools_ListOfShape.getCPtr(Liste)); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepOffsetAPI_NormalProjection extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepOffsetAPI_NormalProjection(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepOffsetAPI_NormalProjection_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepOffsetAPI_NormalProjection obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepOffsetAPI_NormalProjection(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepOffsetAPI_NormalProjection() { + this(OccJavaJNI.new_BRepOffsetAPI_NormalProjection__SWIG_0(), true); + } + + public BRepOffsetAPI_NormalProjection(TopoDS_Shape S) { + this(OccJavaJNI.new_BRepOffsetAPI_NormalProjection__SWIG_1(TopoDS_Shape.getCPtr(S), S), true); + } + + public void init(TopoDS_Shape S) { + OccJavaJNI.BRepOffsetAPI_NormalProjection_init(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + } + + public void add(TopoDS_Shape ToProj) { + OccJavaJNI.BRepOffsetAPI_NormalProjection_add(swigCPtr, this, TopoDS_Shape.getCPtr(ToProj), ToProj); + } + + public void setParams(double Tol3D, double Tol2D, GeomAbs_Shape InternalContinuity, int MaxDegree, int MaxSeg) { + OccJavaJNI.BRepOffsetAPI_NormalProjection_setParams(swigCPtr, this, Tol3D, Tol2D, InternalContinuity.swigValue(), MaxDegree, MaxSeg); + } + + public void setMaxDistance(double MaxDist) { + OccJavaJNI.BRepOffsetAPI_NormalProjection_setMaxDistance(swigCPtr, this, MaxDist); + } + + public void setLimit(boolean FaceBoundaries) { + OccJavaJNI.BRepOffsetAPI_NormalProjection_setLimit__SWIG_0(swigCPtr, this, FaceBoundaries); + } + + public void setLimit() { + OccJavaJNI.BRepOffsetAPI_NormalProjection_setLimit__SWIG_1(swigCPtr, this); + } + + public void compute3d(boolean With3d) { + OccJavaJNI.BRepOffsetAPI_NormalProjection_compute3d__SWIG_0(swigCPtr, this, With3d); + } + + public void compute3d() { + OccJavaJNI.BRepOffsetAPI_NormalProjection_compute3d__SWIG_1(swigCPtr, this); + } + + public void build() { + OccJavaJNI.BRepOffsetAPI_NormalProjection_build(swigCPtr, this); + } + + public boolean isDone() { + return OccJavaJNI.BRepOffsetAPI_NormalProjection_isDone(swigCPtr, this); +} + + public TopoDS_Shape projection() { + long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_projection(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public TopoDS_Shape couple(TopoDS_Edge E) { + long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_couple(swigCPtr, this, TopoDS_Edge.getCPtr(E), E); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public TopoDS_Shape[] generated(TopoDS_Shape S) { + return TopoDS_Shape.cArrayWrap(OccJavaJNI.BRepOffsetAPI_NormalProjection_generated(swigCPtr, this, TopoDS_Shape.getCPtr(S), S)); +} + + public TopoDS_Shape ancestor(TopoDS_Edge E) { + long cPtr = OccJavaJNI.BRepOffsetAPI_NormalProjection_ancestor(swigCPtr, this, TopoDS_Edge.getCPtr(E), E); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public boolean buildWire(SWIGTYPE_p_TopTools_ListOfShape Liste) { + return OccJavaJNI.BRepOffsetAPI_NormalProjection_buildWire(swigCPtr, this, SWIGTYPE_p_TopTools_ListOfShape.getCPtr(Liste)); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java index f4b91730..44aa0d71 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffsetAPI_ThruSections.java @@ -1,82 +1,95 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepOffsetAPI_ThruSections obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepOffsetAPI_ThruSections(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled, double pres3d) { - this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_0(isSolid, ruled, pres3d), true); - } - - public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled) { - this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_1(isSolid, ruled), true); - } - - public BRepOffsetAPI_ThruSections(boolean isSolid) { - this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_2(isSolid), true); - } - - public BRepOffsetAPI_ThruSections() { - this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_3(), true); - } - - public void init(boolean isSolid, boolean ruled, double pres3d) { - OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_0(swigCPtr, this, isSolid, ruled, pres3d); - } - - public void init(boolean isSolid, boolean ruled) { - OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_1(swigCPtr, this, isSolid, ruled); - } - - public void init(boolean isSolid) { - OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_2(swigCPtr, this, isSolid); - } - - public void init() { - OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_3(swigCPtr, this); - } - - public void addWire(TopoDS_Wire wire) { - OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire); - } - - public void addVertex(TopoDS_Vertex aVertex) { - OccJavaJNI.BRepOffsetAPI_ThruSections_addVertex(swigCPtr, this, TopoDS_Vertex.getCPtr(aVertex), aVertex); - } - - public void build() { - OccJavaJNI.BRepOffsetAPI_ThruSections_build(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepOffsetAPI_ThruSections extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepOffsetAPI_ThruSections(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepOffsetAPI_ThruSections_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepOffsetAPI_ThruSections obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepOffsetAPI_ThruSections(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled, double pres3d) { + this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_0(isSolid, ruled, pres3d), true); + } + + public BRepOffsetAPI_ThruSections(boolean isSolid, boolean ruled) { + this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_1(isSolid, ruled), true); + } + + public BRepOffsetAPI_ThruSections(boolean isSolid) { + this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_2(isSolid), true); + } + + public BRepOffsetAPI_ThruSections() { + this(OccJavaJNI.new_BRepOffsetAPI_ThruSections__SWIG_3(), true); + } + + public void addWire(TopoDS_Wire wire) { + OccJavaJNI.BRepOffsetAPI_ThruSections_addWire(swigCPtr, this, TopoDS_Wire.getCPtr(wire), wire); + } + + public void checkCompatibility(boolean check) { + OccJavaJNI.BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_0(swigCPtr, this, check); + } + + public void checkCompatibility() { + OccJavaJNI.BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_1(swigCPtr, this); + } + + public TopoDS_Shape shape() { + long cPtr = OccJavaJNI.BRepOffsetAPI_ThruSections_shape(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public void init(boolean isSolid, boolean ruled, double pres3d) { + OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_0(swigCPtr, this, isSolid, ruled, pres3d); + } + + public void init(boolean isSolid, boolean ruled) { + OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_1(swigCPtr, this, isSolid, ruled); + } + + public void init(boolean isSolid) { + OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_2(swigCPtr, this, isSolid); + } + + public void init() { + OccJavaJNI.BRepOffsetAPI_ThruSections_init__SWIG_3(swigCPtr, this); + } + + public void addVertex(TopoDS_Vertex aVertex) { + OccJavaJNI.BRepOffsetAPI_ThruSections_addVertex(swigCPtr, this, TopoDS_Vertex.getCPtr(aVertex), aVertex); + } + + public void build() { + OccJavaJNI.BRepOffsetAPI_ThruSections_build(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffset_Mode.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffset_Mode.java index 0f4bcdd7..97b9a2a7 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffset_Mode.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepOffset_Mode.java @@ -1,53 +1,53 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public enum BRepOffset_Mode { - Skin, - Pipe, - RectoVerso; - - public final int swigValue() { - return swigValue; - } - - public static BRepOffset_Mode swigToEnum(int swigValue) { - BRepOffset_Mode[] swigValues = BRepOffset_Mode.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (BRepOffset_Mode swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + BRepOffset_Mode.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private BRepOffset_Mode() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private BRepOffset_Mode(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private BRepOffset_Mode(BRepOffset_Mode swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public enum BRepOffset_Mode { + Skin, + Pipe, + RectoVerso; + + public final int swigValue() { + return swigValue; + } + + public static BRepOffset_Mode swigToEnum(int swigValue) { + BRepOffset_Mode[] swigValues = BRepOffset_Mode.class.getEnumConstants(); + if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) + return swigValues[swigValue]; + for (BRepOffset_Mode swigEnum : swigValues) + if (swigEnum.swigValue == swigValue) + return swigEnum; + throw new IllegalArgumentException("No enum " + BRepOffset_Mode.class + " with value " + swigValue); + } + + @SuppressWarnings("unused") + private BRepOffset_Mode() { + this.swigValue = SwigNext.next++; + } + + @SuppressWarnings("unused") + private BRepOffset_Mode(int swigValue) { + this.swigValue = swigValue; + SwigNext.next = swigValue+1; + } + + @SuppressWarnings("unused") + private BRepOffset_Mode(BRepOffset_Mode swigEnum) { + this.swigValue = swigEnum.swigValue; + SwigNext.next = this.swigValue+1; + } + + private final int swigValue; + + private static class SwigNext { + private static int next = 0; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.java index 7c795454..17db4735 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeBox.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeBox extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeBox(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeBox_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeBox obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeBox(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakeBox(double[] P1, double[] P2) { - this(OccJavaJNI.new_BRepPrimAPI_MakeBox(P1, P2), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeBox extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeBox(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeBox_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeBox obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeBox(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakeBox(double[] P1, double[] P2) { + this(OccJavaJNI.new_BRepPrimAPI_MakeBox(P1, P2), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCone.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCone.java index d9e2d34a..4c9be05d 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCone.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCone.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeCone extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeCone(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeCone_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeCone obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeCone(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakeCone(double[] axes, double baseRadius, double topRadius, double height, double angle) { - this(OccJavaJNI.new_BRepPrimAPI_MakeCone(axes, baseRadius, topRadius, height, angle), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeCone extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeCone(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeCone_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeCone obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeCone(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakeCone(double[] axes, double baseRadius, double topRadius, double height, double angle) { + this(OccJavaJNI.new_BRepPrimAPI_MakeCone(axes, baseRadius, topRadius, height, angle), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCylinder.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCylinder.java index f19dc73b..0239d8bc 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCylinder.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeCylinder.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeCylinder extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeCylinder(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeCylinder_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeCylinder obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeCylinder(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - - /** - * @param axes is {X, Y, Z, directionX, directionY, directionZ} - */ -public BRepPrimAPI_MakeCylinder(double[] axes, double radius, double height, double angle) { - this(OccJavaJNI.new_BRepPrimAPI_MakeCylinder(axes, radius, height, angle), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeCylinder extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeCylinder(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeCylinder_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeCylinder obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeCylinder(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + + /** + * @param axes is {X, Y, Z, directionX, directionY, directionZ} + */ +public BRepPrimAPI_MakeCylinder(double[] axes, double radius, double height, double angle) { + this(OccJavaJNI.new_BRepPrimAPI_MakeCylinder(axes, radius, height, angle), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakePrism.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakePrism.java index b59deb1a..fd442fdf 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakePrism.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakePrism.java @@ -1,50 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakePrism extends BRepPrimAPI_MakeSweep { - private long swigCPtr; - - public BRepPrimAPI_MakePrism(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakePrism_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakePrism obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakePrism(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakePrism(TopoDS_Shape baseShape, double[] extrudeDirection, boolean Copy, boolean Canonize) { - this(OccJavaJNI.new_BRepPrimAPI_MakePrism__SWIG_0(TopoDS_Shape.getCPtr(baseShape), baseShape, extrudeDirection, Copy, Canonize), true); - } - - public BRepPrimAPI_MakePrism(TopoDS_Shape baseShape, double[] extrudeDirection, boolean Copy) { - this(OccJavaJNI.new_BRepPrimAPI_MakePrism__SWIG_1(TopoDS_Shape.getCPtr(baseShape), baseShape, extrudeDirection, Copy), true); - } - - public BRepPrimAPI_MakePrism(TopoDS_Shape baseShape, double[] extrudeDirection) { - this(OccJavaJNI.new_BRepPrimAPI_MakePrism__SWIG_2(TopoDS_Shape.getCPtr(baseShape), baseShape, extrudeDirection), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakePrism extends BRepPrimAPI_MakeSweep { + private transient long swigCPtr; + + protected BRepPrimAPI_MakePrism(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakePrism_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakePrism obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakePrism(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakePrism(TopoDS_Shape baseShape, double[] extrudeDirection, boolean Copy, boolean Canonize) { + this(OccJavaJNI.new_BRepPrimAPI_MakePrism__SWIG_0(TopoDS_Shape.getCPtr(baseShape), baseShape, extrudeDirection, Copy, Canonize), true); + } + + public BRepPrimAPI_MakePrism(TopoDS_Shape baseShape, double[] extrudeDirection, boolean Copy) { + this(OccJavaJNI.new_BRepPrimAPI_MakePrism__SWIG_1(TopoDS_Shape.getCPtr(baseShape), baseShape, extrudeDirection, Copy), true); + } + + public BRepPrimAPI_MakePrism(TopoDS_Shape baseShape, double[] extrudeDirection) { + this(OccJavaJNI.new_BRepPrimAPI_MakePrism__SWIG_2(TopoDS_Shape.getCPtr(baseShape), baseShape, extrudeDirection), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeRevol.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeRevol.java index 2878fb5c..7f887ee6 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeRevol.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeRevol.java @@ -1,54 +1,54 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeRevol extends BRepPrimAPI_MakeSweep { - private long swigCPtr; - - public BRepPrimAPI_MakeRevol(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeRevol_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeRevol obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeRevol(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis, double angle, boolean copy) { - this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, axis, angle, copy), true); - } - - public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis, double angle) { - this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, axis, angle), true); - } - - public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis, boolean copy) { - this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, axis, copy), true); - } - - public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis) { - this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, axis), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeRevol extends BRepPrimAPI_MakeSweep { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeRevol(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeRevol_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeRevol obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeRevol(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis, double angle, boolean copy) { + this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, axis, angle, copy), true); + } + + public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis, double angle) { + this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, axis, angle), true); + } + + public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis, boolean copy) { + this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, axis, copy), true); + } + + public BRepPrimAPI_MakeRevol(TopoDS_Shape shape, double[] axis) { + this(OccJavaJNI.new_BRepPrimAPI_MakeRevol__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, axis), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSphere.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSphere.java index 43ffc32c..f8a2ca97 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSphere.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSphere.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeSphere extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeSphere(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeSphere_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeSphere obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeSphere(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakeSphere(double[] center, double radius) { - this(OccJavaJNI.new_BRepPrimAPI_MakeSphere__SWIG_0(center, radius), true); - } - - public BRepPrimAPI_MakeSphere(double[] axis, double R, double angle1, double angle2, double angle3) { - this(OccJavaJNI.new_BRepPrimAPI_MakeSphere__SWIG_1(axis, R, angle1, angle2, angle3), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeSphere extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeSphere(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeSphere_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeSphere obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeSphere(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakeSphere(double[] center, double radius) { + this(OccJavaJNI.new_BRepPrimAPI_MakeSphere__SWIG_0(center, radius), true); + } + + public BRepPrimAPI_MakeSphere(double[] axis, double R, double angle1, double angle2, double angle3) { + this(OccJavaJNI.new_BRepPrimAPI_MakeSphere__SWIG_1(axis, R, angle1, angle2, angle3), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java index 4b82bc0a..34cf7505 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeSweep.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeSweep extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeSweep(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeSweep_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeSweep obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeSweep(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeSweep extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeSweep(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeSweep_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeSweep obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeSweep(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeTorus.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeTorus.java index 730b46f7..d83bd55a 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeTorus.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeTorus.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeTorus extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeTorus(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeTorus_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeTorus obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeTorus(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakeTorus(double[] Axes, double R1, double R2) { - this(OccJavaJNI.new_BRepPrimAPI_MakeTorus__SWIG_0(Axes, R1, R2), true); - } - - public BRepPrimAPI_MakeTorus(double[] Axes, double R1, double R2, double angle1, double angle2, double angle) { - this(OccJavaJNI.new_BRepPrimAPI_MakeTorus__SWIG_1(Axes, R1, R2, angle1, angle2, angle), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeTorus extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeTorus(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeTorus_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeTorus obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeTorus(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakeTorus(double[] Axes, double R1, double R2) { + this(OccJavaJNI.new_BRepPrimAPI_MakeTorus__SWIG_0(Axes, R1, R2), true); + } + + public BRepPrimAPI_MakeTorus(double[] Axes, double R1, double R2, double angle1, double angle2, double angle) { + this(OccJavaJNI.new_BRepPrimAPI_MakeTorus__SWIG_1(Axes, R1, R2, angle1, angle2, angle), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeWedge.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeWedge.java index 9a496d5d..3bfd7ccb 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeWedge.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepPrimAPI_MakeWedge.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepPrimAPI_MakeWedge extends BRepBuilderAPI_MakeShape { - private long swigCPtr; - - public BRepPrimAPI_MakeWedge(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRepPrimAPI_MakeWedge_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRepPrimAPI_MakeWedge obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepPrimAPI_MakeWedge(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRepPrimAPI_MakeWedge(double[] Axes, double dx, double dy, double dz, double xmin, double zmin, double xmax, double zmax) { - this(OccJavaJNI.new_BRepPrimAPI_MakeWedge__SWIG_0(Axes, dx, dy, dz, xmin, zmin, xmax, zmax), true); - } - - public BRepPrimAPI_MakeWedge(double[] Axes, double dx, double dy, double dz, double ltx) { - this(OccJavaJNI.new_BRepPrimAPI_MakeWedge__SWIG_1(Axes, dx, dy, dz, ltx), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepPrimAPI_MakeWedge extends BRepBuilderAPI_MakeShape { + private transient long swigCPtr; + + protected BRepPrimAPI_MakeWedge(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRepPrimAPI_MakeWedge_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepPrimAPI_MakeWedge obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepPrimAPI_MakeWedge(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRepPrimAPI_MakeWedge(double[] Axes, double dx, double dy, double dz, double xmin, double zmin, double xmax, double zmax) { + this(OccJavaJNI.new_BRepPrimAPI_MakeWedge__SWIG_0(Axes, dx, dy, dz, xmin, zmin, xmax, zmax), true); + } + + public BRepPrimAPI_MakeWedge(double[] Axes, double dx, double dy, double dz, double ltx) { + this(OccJavaJNI.new_BRepPrimAPI_MakeWedge__SWIG_1(Axes, dx, dy, dz, ltx), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools.java index 3715fdbc..8ff188ed 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools.java @@ -1,80 +1,80 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -/** Provides various utilities for BRep. */ -public class BRepTools { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepTools(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepTools obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - private synchronized void delete() {} - - /** - * Read a shape from a file. - * This is an helper method. It do not exists in Opencascade. - * @param file the file to read - * @param builder the builder which will be used to create the shape (i.e. new BRep_Builder()). - */ - public static TopoDS_Shape read(String file, BRep_Builder builder) - { - TopoDS_Shape toReturn=new TopoDS_Shape(); - if(read(toReturn, file, builder)) - return TopoDS_Shape.downcast(toReturn); - else - return null; - } - - - /** - * Reads a shape from a file. - * @param shape an empty shape created with new TopoDS_Shape() - * @param builder used to build the shape (i.e. new BRep_Builder()). - * @return false on IO or file format errors. - */ - public static boolean read(TopoDS_Shape shape, String file, BRep_Builder builder) { - return OccJavaJNI.BRepTools_read__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, file, BRep_Builder.getCPtr(builder), builder); -} - - - /** - * Write a shape to a file. - * @param shape the shape to write - * @param file the file where to write the shape - * @return false on IO error. - */ - public static boolean write(TopoDS_Shape shape, String file) { - return OccJavaJNI.BRepTools_write__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, file); -} - - public static void write(TopoDS_Shape Sh, java.nio.channels.WritableByteChannel S) { - OccJavaJNI.BRepTools_write__SWIG_1(TopoDS_Shape.getCPtr(Sh), Sh, S); - } - - public static void clean(TopoDS_Shape S) { - OccJavaJNI.BRepTools_clean(TopoDS_Shape.getCPtr(S), S); - } - - public static boolean read(TopoDS_Shape shape, java.nio.channels.ReadableByteChannel input, BRep_Builder builder) { - return OccJavaJNI.BRepTools_read__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, input, BRep_Builder.getCPtr(builder), builder); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +/** Provides various utilities for BRep. */ +public class BRepTools { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepTools(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepTools obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + private synchronized void delete() {} + + /** + * Read a shape from a file. + * This is an helper method. It do not exists in Opencascade. + * @param file the file to read + * @param builder the builder which will be used to create the shape (i.e. new BRep_Builder()). + */ + public static TopoDS_Shape read(String file, BRep_Builder builder) + { + TopoDS_Shape toReturn=new TopoDS_Shape(); + if(read(toReturn, file, builder)) + return TopoDS_Shape.downcast(toReturn); + else + return null; + } + + + /** + * Reads a shape from a file. + * @param shape an empty shape created with new TopoDS_Shape() + * @param builder used to build the shape (i.e. new BRep_Builder()). + * @return false on IO or file format errors. + */ + public static boolean read(TopoDS_Shape shape, String file, BRep_Builder builder) { + return OccJavaJNI.BRepTools_read__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, file, BRep_Builder.getCPtr(builder), builder); +} + + + /** + * Write a shape to a file. + * @param shape the shape to write + * @param file the file where to write the shape + * @return false on IO error. + */ + public static boolean write(TopoDS_Shape shape, String file) { + return OccJavaJNI.BRepTools_write__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, file); +} + + public static void write(TopoDS_Shape Sh, java.nio.channels.WritableByteChannel S) { + OccJavaJNI.BRepTools_write__SWIG_1(TopoDS_Shape.getCPtr(Sh), Sh, S); + } + + public static void clean(TopoDS_Shape S) { + OccJavaJNI.BRepTools_clean(TopoDS_Shape.getCPtr(S), S); + } + + public static boolean read(TopoDS_Shape shape, java.nio.channels.ReadableByteChannel input, BRep_Builder builder) { + return OccJavaJNI.BRepTools_read__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, input, BRep_Builder.getCPtr(builder), builder); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java index cd830e1a..d881fa1b 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_Quilt.java @@ -1,68 +1,68 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepTools_Quilt { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepTools_Quilt(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepTools_Quilt obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepTools_Quilt(swigCPtr); - } - swigCPtr = 0; - } - } - - public BRepTools_Quilt() { - this(OccJavaJNI.new_BRepTools_Quilt(), true); - } - - public void bind(TopoDS_Edge Eold, TopoDS_Edge Enew) { - OccJavaJNI.BRepTools_Quilt_bind__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(Eold), Eold, TopoDS_Edge.getCPtr(Enew), Enew); - } - - public void bind(TopoDS_Vertex Vold, TopoDS_Vertex Vnew) { - OccJavaJNI.BRepTools_Quilt_bind__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(Vold), Vold, TopoDS_Vertex.getCPtr(Vnew), Vnew); - } - - public void add(TopoDS_Shape S) { - OccJavaJNI.BRepTools_Quilt_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - - public boolean isCopied(TopoDS_Shape S) { - return OccJavaJNI.BRepTools_Quilt_isCopied(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); -} - - public TopoDS_Shape copy(TopoDS_Shape S) { - long cPtr = OccJavaJNI.BRepTools_Quilt_copy(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public TopoDS_Shape shells() { - long cPtr = OccJavaJNI.BRepTools_Quilt_shells(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepTools_Quilt { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepTools_Quilt(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepTools_Quilt obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepTools_Quilt(swigCPtr); + } + swigCPtr = 0; + } + } + + public BRepTools_Quilt() { + this(OccJavaJNI.new_BRepTools_Quilt(), true); + } + + public void bind(TopoDS_Edge Eold, TopoDS_Edge Enew) { + OccJavaJNI.BRepTools_Quilt_bind__SWIG_0(swigCPtr, this, TopoDS_Edge.getCPtr(Eold), Eold, TopoDS_Edge.getCPtr(Enew), Enew); + } + + public void bind(TopoDS_Vertex Vold, TopoDS_Vertex Vnew) { + OccJavaJNI.BRepTools_Quilt_bind__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(Vold), Vold, TopoDS_Vertex.getCPtr(Vnew), Vnew); + } + + public void add(TopoDS_Shape S) { + OccJavaJNI.BRepTools_Quilt_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + } + + public boolean isCopied(TopoDS_Shape S) { + return OccJavaJNI.BRepTools_Quilt_isCopied(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); +} + + public TopoDS_Shape copy(TopoDS_Shape S) { + long cPtr = OccJavaJNI.BRepTools_Quilt_copy(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public TopoDS_Shape shells() { + long cPtr = OccJavaJNI.BRepTools_Quilt_shells(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java index f054e68a..7259ba21 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepTools_WireExplorer.java @@ -1,82 +1,82 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRepTools_WireExplorer { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRepTools_WireExplorer(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRepTools_WireExplorer obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRepTools_WireExplorer(swigCPtr); - } - swigCPtr = 0; - } - } - - public BRepTools_WireExplorer() { - this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_0(), true); - } - - public BRepTools_WireExplorer(TopoDS_Wire W) { - this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_1(TopoDS_Wire.getCPtr(W), W), true); - } - - public BRepTools_WireExplorer(TopoDS_Wire W, TopoDS_Face F) { - this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_2(TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F), true); - } - - public void init(TopoDS_Wire W) { - OccJavaJNI.BRepTools_WireExplorer_init__SWIG_0(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); - } - - public void init(TopoDS_Wire W, TopoDS_Face F) { - OccJavaJNI.BRepTools_WireExplorer_init__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F); - } - - public boolean more() { - return OccJavaJNI.BRepTools_WireExplorer_more(swigCPtr, this); -} - - public void next() { - OccJavaJNI.BRepTools_WireExplorer_next(swigCPtr, this); - } - - public TopoDS_Edge current() { - return new TopoDS_Edge(OccJavaJNI.BRepTools_WireExplorer_current(swigCPtr, this), false); - } - - public TopAbs_Orientation orientation() { - return TopAbs_Orientation.swigToEnum(OccJavaJNI.BRepTools_WireExplorer_orientation(swigCPtr, this)); - } - - public TopoDS_Vertex currentVertex() { - return new TopoDS_Vertex(OccJavaJNI.BRepTools_WireExplorer_currentVertex(swigCPtr, this), false); - } - - public void clear() { - OccJavaJNI.BRepTools_WireExplorer_clear(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRepTools_WireExplorer { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRepTools_WireExplorer(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRepTools_WireExplorer obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRepTools_WireExplorer(swigCPtr); + } + swigCPtr = 0; + } + } + + public BRepTools_WireExplorer() { + this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_0(), true); + } + + public BRepTools_WireExplorer(TopoDS_Wire W) { + this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_1(TopoDS_Wire.getCPtr(W), W), true); + } + + public BRepTools_WireExplorer(TopoDS_Wire W, TopoDS_Face F) { + this(OccJavaJNI.new_BRepTools_WireExplorer__SWIG_2(TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F), true); + } + + public void init(TopoDS_Wire W) { + OccJavaJNI.BRepTools_WireExplorer_init__SWIG_0(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); + } + + public void init(TopoDS_Wire W, TopoDS_Face F) { + OccJavaJNI.BRepTools_WireExplorer_init__SWIG_1(swigCPtr, this, TopoDS_Wire.getCPtr(W), W, TopoDS_Face.getCPtr(F), F); + } + + public boolean more() { + return OccJavaJNI.BRepTools_WireExplorer_more(swigCPtr, this); +} + + public void next() { + OccJavaJNI.BRepTools_WireExplorer_next(swigCPtr, this); + } + + public TopoDS_Edge current() { + return new TopoDS_Edge(OccJavaJNI.BRepTools_WireExplorer_current(swigCPtr, this), false); + } + + public TopAbs_Orientation orientation() { + return TopAbs_Orientation.swigToEnum(OccJavaJNI.BRepTools_WireExplorer_orientation(swigCPtr, this)); + } + + public TopoDS_Vertex currentVertex() { + return new TopoDS_Vertex(OccJavaJNI.BRepTools_WireExplorer_currentVertex(swigCPtr, this), false); + } + + public void clear() { + OccJavaJNI.BRepTools_WireExplorer_clear(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Builder.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Builder.java index 074c61a8..82b52056 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Builder.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Builder.java @@ -1,50 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRep_Builder extends TopoDS_Builder { - private long swigCPtr; - - public BRep_Builder(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.BRep_Builder_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(BRep_Builder obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRep_Builder(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public BRep_Builder() { - this(OccJavaJNI.new_BRep_Builder(), true); - } - - public void updateVertex(TopoDS_Vertex vertex, double u, double v, TopoDS_Face face, double tolerance) { - OccJavaJNI.BRep_Builder_updateVertex__SWIG_0(swigCPtr, this, TopoDS_Vertex.getCPtr(vertex), vertex, u, v, TopoDS_Face.getCPtr(face), face, tolerance); - } - - public void updateVertex(TopoDS_Vertex vertex, double tolerance) { - OccJavaJNI.BRep_Builder_updateVertex__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(vertex), vertex, tolerance); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRep_Builder extends TopoDS_Builder { + private transient long swigCPtr; + + protected BRep_Builder(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.BRep_Builder_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(BRep_Builder obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRep_Builder(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public BRep_Builder() { + this(OccJavaJNI.new_BRep_Builder(), true); + } + + public void updateVertex(TopoDS_Vertex vertex, double u, double v, TopoDS_Face face, double tolerance) { + OccJavaJNI.BRep_Builder_updateVertex__SWIG_0(swigCPtr, this, TopoDS_Vertex.getCPtr(vertex), vertex, u, v, TopoDS_Face.getCPtr(face), face, tolerance); + } + + public void updateVertex(TopoDS_Vertex vertex, double tolerance) { + OccJavaJNI.BRep_Builder_updateVertex__SWIG_1(swigCPtr, this, TopoDS_Vertex.getCPtr(vertex), vertex, tolerance); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Tool.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Tool.java index 9c107251..6ba819d5 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Tool.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRep_Tool.java @@ -1,125 +1,125 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class BRep_Tool { - private long swigCPtr; - protected boolean swigCMemOwn; - - public BRep_Tool(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(BRep_Tool obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_BRep_Tool(swigCPtr); - } - swigCPtr = 0; - } - } - - public static double[] range(TopoDS_Edge edge) - { - double[] toReturn=new double[2]; - range(edge, toReturn); - return toReturn; - } - - public static Geom2d_Curve curveOnSurface(TopoDS_Edge e, TopoDS_Face f, double[] range) - { - double[] d2=new double[1]; - Geom2d_Curve toReturn=curveOnSurface(e, f, range, d2); - range[1]=d2[0]; - return toReturn; - } - - public static Geom_Curve curve(TopoDS_Edge e, double[] range) - { - double[] d2=new double[1]; - Geom_Curve toReturn=curve(e, range, d2); - range[1]=d2[0]; - return toReturn; - } - - public static double[] pnt(TopoDS_Vertex V) { - return OccJavaJNI.BRep_Tool_pnt(TopoDS_Vertex.getCPtr(V), V); -} - - public static double[] parameters(TopoDS_Vertex V, TopoDS_Face F) { - return OccJavaJNI.BRep_Tool_parameters(TopoDS_Vertex.getCPtr(V), V, TopoDS_Face.getCPtr(F), F); -} - - public static double parameter(TopoDS_Vertex V, TopoDS_Edge E) { - return OccJavaJNI.BRep_Tool_parameter(TopoDS_Vertex.getCPtr(V), V, TopoDS_Edge.getCPtr(E), E); - } - - public static boolean degenerated(TopoDS_Edge E) { - return OccJavaJNI.BRep_Tool_degenerated(TopoDS_Edge.getCPtr(E), E); -} - - public static boolean hasContinuity(TopoDS_Edge E, TopoDS_Face F1, TopoDS_Face F2) { - return OccJavaJNI.BRep_Tool_hasContinuity(TopoDS_Edge.getCPtr(E), E, TopoDS_Face.getCPtr(F1), F1, TopoDS_Face.getCPtr(F2), F2); -} - - public static GeomAbs_Shape continuity(TopoDS_Edge E, TopoDS_Face F1, TopoDS_Face F2) { - return GeomAbs_Shape.swigToEnum(OccJavaJNI.BRep_Tool_continuity(TopoDS_Edge.getCPtr(E), E, TopoDS_Face.getCPtr(F1), F1, TopoDS_Face.getCPtr(F2), F2)); - } - - public static double tolerance(TopoDS_Face F) { - return OccJavaJNI.BRep_Tool_tolerance__SWIG_0(TopoDS_Face.getCPtr(F), F); - } - - public static double tolerance(TopoDS_Edge E) { - return OccJavaJNI.BRep_Tool_tolerance__SWIG_1(TopoDS_Edge.getCPtr(E), E); - } - - public static double tolerance(TopoDS_Vertex V) { - return OccJavaJNI.BRep_Tool_tolerance__SWIG_2(TopoDS_Vertex.getCPtr(V), V); - } - - public static Poly_Triangulation triangulation(TopoDS_Face F, TopLoc_Location L) { - long cPtr = OccJavaJNI.BRep_Tool_triangulation(TopoDS_Face.getCPtr(F), F, TopLoc_Location.getCPtr(L), L); - return (cPtr == 0) ? null : new Poly_Triangulation(cPtr, false); - } - - public static void range(TopoDS_Edge E, double[] range) { - OccJavaJNI.BRep_Tool_range(TopoDS_Edge.getCPtr(E), E, range); - } - - public static Geom_Curve curve(TopoDS_Edge E, double[] First, double[] Last) { - long cPtr = OccJavaJNI.BRep_Tool_curve(TopoDS_Edge.getCPtr(E), E, First, Last); - return (cPtr == 0) ? null : new Geom_Curve(cPtr, false); - } - - public static Geom_Surface surface(TopoDS_Face F) { - long cPtr = OccJavaJNI.BRep_Tool_surface(TopoDS_Face.getCPtr(F), F); - return (cPtr == 0) ? null : new Geom_Surface(cPtr, false); - } - - public static Geom2d_Curve curveOnSurface(TopoDS_Edge E, TopoDS_Face F, double[] First, double[] Last) { - long cPtr = OccJavaJNI.BRep_Tool_curveOnSurface(TopoDS_Edge.getCPtr(E), E, TopoDS_Face.getCPtr(F), F, First, Last); - return (cPtr == 0) ? null : new Geom2d_Curve(cPtr, false); - } - - public BRep_Tool() { - this(OccJavaJNI.new_BRep_Tool(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class BRep_Tool { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected BRep_Tool(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(BRep_Tool obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_BRep_Tool(swigCPtr); + } + swigCPtr = 0; + } + } + + public static double[] range(TopoDS_Edge edge) + { + double[] toReturn=new double[2]; + range(edge, toReturn); + return toReturn; + } + + public static Geom2d_Curve curveOnSurface(TopoDS_Edge e, TopoDS_Face f, double[] range) + { + double[] d2=new double[1]; + Geom2d_Curve toReturn=curveOnSurface(e, f, range, d2); + range[1]=d2[0]; + return toReturn; + } + + public static Geom_Curve curve(TopoDS_Edge e, double[] range) + { + double[] d2=new double[1]; + Geom_Curve toReturn=curve(e, range, d2); + range[1]=d2[0]; + return toReturn; + } + + public static double[] pnt(TopoDS_Vertex V) { + return OccJavaJNI.BRep_Tool_pnt(TopoDS_Vertex.getCPtr(V), V); +} + + public static double[] parameters(TopoDS_Vertex V, TopoDS_Face F) { + return OccJavaJNI.BRep_Tool_parameters(TopoDS_Vertex.getCPtr(V), V, TopoDS_Face.getCPtr(F), F); +} + + public static double parameter(TopoDS_Vertex V, TopoDS_Edge E) { + return OccJavaJNI.BRep_Tool_parameter(TopoDS_Vertex.getCPtr(V), V, TopoDS_Edge.getCPtr(E), E); + } + + public static boolean degenerated(TopoDS_Edge E) { + return OccJavaJNI.BRep_Tool_degenerated(TopoDS_Edge.getCPtr(E), E); +} + + public static boolean hasContinuity(TopoDS_Edge E, TopoDS_Face F1, TopoDS_Face F2) { + return OccJavaJNI.BRep_Tool_hasContinuity(TopoDS_Edge.getCPtr(E), E, TopoDS_Face.getCPtr(F1), F1, TopoDS_Face.getCPtr(F2), F2); +} + + public static GeomAbs_Shape continuity(TopoDS_Edge E, TopoDS_Face F1, TopoDS_Face F2) { + return GeomAbs_Shape.swigToEnum(OccJavaJNI.BRep_Tool_continuity(TopoDS_Edge.getCPtr(E), E, TopoDS_Face.getCPtr(F1), F1, TopoDS_Face.getCPtr(F2), F2)); + } + + public static double tolerance(TopoDS_Face F) { + return OccJavaJNI.BRep_Tool_tolerance__SWIG_0(TopoDS_Face.getCPtr(F), F); + } + + public static double tolerance(TopoDS_Edge E) { + return OccJavaJNI.BRep_Tool_tolerance__SWIG_1(TopoDS_Edge.getCPtr(E), E); + } + + public static double tolerance(TopoDS_Vertex V) { + return OccJavaJNI.BRep_Tool_tolerance__SWIG_2(TopoDS_Vertex.getCPtr(V), V); + } + + public static Poly_Triangulation triangulation(TopoDS_Face F, TopLoc_Location L) { + long cPtr = OccJavaJNI.BRep_Tool_triangulation(TopoDS_Face.getCPtr(F), F, TopLoc_Location.getCPtr(L), L); + return (cPtr == 0) ? null : new Poly_Triangulation(cPtr, false); + } + + public static void range(TopoDS_Edge E, double[] range) { + OccJavaJNI.BRep_Tool_range(TopoDS_Edge.getCPtr(E), E, range); + } + + public static Geom_Curve curve(TopoDS_Edge E, double[] First, double[] Last) { + long cPtr = OccJavaJNI.BRep_Tool_curve(TopoDS_Edge.getCPtr(E), E, First, Last); + return (cPtr == 0) ? null : new Geom_Curve(cPtr, false); + } + + public static Geom_Surface surface(TopoDS_Face F) { + long cPtr = OccJavaJNI.BRep_Tool_surface(TopoDS_Face.getCPtr(F), F); + return (cPtr == 0) ? null : new Geom_Surface(cPtr, false); + } + + public static Geom2d_Curve curveOnSurface(TopoDS_Edge E, TopoDS_Face F, double[] First, double[] Last) { + long cPtr = OccJavaJNI.BRep_Tool_curveOnSurface(TopoDS_Edge.getCPtr(E), E, TopoDS_Face.getCPtr(F), F, First, Last); + return (cPtr == 0) ? null : new Geom2d_Curve(cPtr, false); + } + + public BRep_Tool() { + this(OccJavaJNI.new_BRep_Tool(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Bnd_Box.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Bnd_Box.java index b7ae7656..e8235f4e 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Bnd_Box.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Bnd_Box.java @@ -1,60 +1,60 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Bnd_Box { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Bnd_Box(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Bnd_Box obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Bnd_Box(swigCPtr); - } - swigCPtr = 0; - } - } - - /** - * Return the array { Xmin, Ymin, Zmin, Xmax, Ymax, Zmax } - */ - public double[] get() - { - double[] toReturn=new double[6]; - get(toReturn); - return toReturn; - } - - public Bnd_Box() { - this(OccJavaJNI.new_Bnd_Box(), true); - } - - public boolean isVoid() { - return OccJavaJNI.Bnd_Box_isVoid(swigCPtr, this); -} - - public void get(double[] box) { - OccJavaJNI.Bnd_Box_get(swigCPtr, this, box); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Bnd_Box { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Bnd_Box(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Bnd_Box obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Bnd_Box(swigCPtr); + } + swigCPtr = 0; + } + } + + /** + * Return the array { Xmin, Ymin, Zmin, Xmax, Ymax, Zmax } + */ + public double[] get() + { + double[] toReturn=new double[6]; + get(toReturn); + return toReturn; + } + + public Bnd_Box() { + this(OccJavaJNI.new_Bnd_Box(), true); + } + + public boolean isVoid() { + return OccJavaJNI.Bnd_Box_isVoid(swigCPtr, this); +} + + public void get(double[] box) { + OccJavaJNI.Bnd_Box_get(swigCPtr, this, box); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ChFi3d_FilletShape.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ChFi3d_FilletShape.java index c86d891e..2c740be0 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ChFi3d_FilletShape.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ChFi3d_FilletShape.java @@ -1,53 +1,53 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public enum ChFi3d_FilletShape { - Rational, - QuasiAngular, - Polynomial; - - public final int swigValue() { - return swigValue; - } - - public static ChFi3d_FilletShape swigToEnum(int swigValue) { - ChFi3d_FilletShape[] swigValues = ChFi3d_FilletShape.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (ChFi3d_FilletShape swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + ChFi3d_FilletShape.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private ChFi3d_FilletShape() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private ChFi3d_FilletShape(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private ChFi3d_FilletShape(ChFi3d_FilletShape swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public enum ChFi3d_FilletShape { + Rational, + QuasiAngular, + Polynomial; + + public final int swigValue() { + return swigValue; + } + + public static ChFi3d_FilletShape swigToEnum(int swigValue) { + ChFi3d_FilletShape[] swigValues = ChFi3d_FilletShape.class.getEnumConstants(); + if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) + return swigValues[swigValue]; + for (ChFi3d_FilletShape swigEnum : swigValues) + if (swigEnum.swigValue == swigValue) + return swigEnum; + throw new IllegalArgumentException("No enum " + ChFi3d_FilletShape.class + " with value " + swigValue); + } + + @SuppressWarnings("unused") + private ChFi3d_FilletShape() { + this.swigValue = SwigNext.next++; + } + + @SuppressWarnings("unused") + private ChFi3d_FilletShape(int swigValue) { + this.swigValue = swigValue; + SwigNext.next = swigValue+1; + } + + @SuppressWarnings("unused") + private ChFi3d_FilletShape(ChFi3d_FilletShape swigEnum) { + this.swigValue = swigEnum.swigValue; + SwigNext.next = this.swigValue+1; + } + + private final int swigValue; + + private static class SwigNext { + private static int next = 0; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GCPnts_UniformDeflection.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GCPnts_UniformDeflection.java index f8a07d59..d813945d 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GCPnts_UniformDeflection.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GCPnts_UniformDeflection.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GCPnts_UniformDeflection { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GCPnts_UniformDeflection(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GCPnts_UniformDeflection obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GCPnts_UniformDeflection(swigCPtr); - } - swigCPtr = 0; - } - } - - public GCPnts_UniformDeflection() { - this(OccJavaJNI.new_GCPnts_UniformDeflection(), true); - } - - public void initialize(Adaptor3d_Curve C, double Deflection, double U1, double U2, boolean WithControl) { - OccJavaJNI.GCPnts_UniformDeflection_initialize__SWIG_0(swigCPtr, this, Adaptor3d_Curve.getCPtr(C), C, Deflection, U1, U2, WithControl); - } - - public void initialize(Adaptor3d_Curve C, double Deflection, double U1, double U2) { - OccJavaJNI.GCPnts_UniformDeflection_initialize__SWIG_1(swigCPtr, this, Adaptor3d_Curve.getCPtr(C), C, Deflection, U1, U2); - } - - public int nbPoints() { - return OccJavaJNI.GCPnts_UniformDeflection_nbPoints(swigCPtr, this); - } - - public double parameter(int Index) { - return OccJavaJNI.GCPnts_UniformDeflection_parameter(swigCPtr, this, Index); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GCPnts_UniformDeflection { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GCPnts_UniformDeflection(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GCPnts_UniformDeflection obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GCPnts_UniformDeflection(swigCPtr); + } + swigCPtr = 0; + } + } + + public GCPnts_UniformDeflection() { + this(OccJavaJNI.new_GCPnts_UniformDeflection(), true); + } + + public void initialize(Adaptor3d_Curve C, double Deflection, double U1, double U2, boolean WithControl) { + OccJavaJNI.GCPnts_UniformDeflection_initialize__SWIG_0(swigCPtr, this, Adaptor3d_Curve.getCPtr(C), C, Deflection, U1, U2, WithControl); + } + + public void initialize(Adaptor3d_Curve C, double Deflection, double U1, double U2) { + OccJavaJNI.GCPnts_UniformDeflection_initialize__SWIG_1(swigCPtr, this, Adaptor3d_Curve.getCPtr(C), C, Deflection, U1, U2); + } + + public int nbPoints() { + return OccJavaJNI.GCPnts_UniformDeflection_nbPoints(swigCPtr, this); + } + + public double parameter(int Index) { + return OccJavaJNI.GCPnts_UniformDeflection_parameter(swigCPtr, this, Index); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfCircle.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfCircle.java index 5099222f..554731dc 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfCircle.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfCircle.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GC_MakeArcOfCircle extends GC_Root { - private long swigCPtr; - - public GC_MakeArcOfCircle(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GC_MakeArcOfCircle_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GC_MakeArcOfCircle obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GC_MakeArcOfCircle(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GC_MakeArcOfCircle(double[] P1, double[] P2, double[] P3) { - this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_0(P1, P2, P3), true); - } - - public GC_MakeArcOfCircle(GP_Circ Circ, double[] P1, double[] P2, boolean Sense) { - this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_1(GP_Circ.getCPtr(Circ), Circ, P1, P2, Sense), true); - } - - public Geom_TrimmedCurve value() { - return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeArcOfCircle_value(swigCPtr, this), false); - } - - public GC_MakeArcOfCircle(GP_Circ Circ, double Alpha1, double Alpha2, boolean Sense) { - this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_2(GP_Circ.getCPtr(Circ), Circ, Alpha1, Alpha2, Sense), true); - } - - public GC_MakeArcOfCircle(GP_Circ Circ, double[] P, double Alpha, boolean Sense) { - this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_3(GP_Circ.getCPtr(Circ), Circ, P, Alpha, Sense), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GC_MakeArcOfCircle extends GC_Root { + private transient long swigCPtr; + + protected GC_MakeArcOfCircle(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GC_MakeArcOfCircle_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GC_MakeArcOfCircle obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GC_MakeArcOfCircle(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GC_MakeArcOfCircle(double[] P1, double[] P2, double[] P3) { + this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_0(P1, P2, P3), true); + } + + public GC_MakeArcOfCircle(GP_Circ Circ, double[] P1, double[] P2, boolean Sense) { + this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_1(GP_Circ.getCPtr(Circ), Circ, P1, P2, Sense), true); + } + + public Geom_TrimmedCurve value() { + return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeArcOfCircle_value(swigCPtr, this), false); + } + + public GC_MakeArcOfCircle(GP_Circ Circ, double Alpha1, double Alpha2, boolean Sense) { + this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_2(GP_Circ.getCPtr(Circ), Circ, Alpha1, Alpha2, Sense), true); + } + + public GC_MakeArcOfCircle(GP_Circ Circ, double[] P, double Alpha, boolean Sense) { + this(OccJavaJNI.new_GC_MakeArcOfCircle__SWIG_3(GP_Circ.getCPtr(Circ), Circ, P, Alpha, Sense), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfEllipse.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfEllipse.java index 1098578c..952116f8 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfEllipse.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeArcOfEllipse.java @@ -1,54 +1,54 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GC_MakeArcOfEllipse extends GC_Root { - private long swigCPtr; - - public GC_MakeArcOfEllipse(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GC_MakeArcOfEllipse_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GC_MakeArcOfEllipse obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GC_MakeArcOfEllipse(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GC_MakeArcOfEllipse(GP_Elips Elips, double Alpha1, double Alpha2, boolean Sense) { - this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_0(GP_Elips.getCPtr(Elips), Elips, Alpha1, Alpha2, Sense), true); - } - - public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P, double Alpha, boolean Sense) { - this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_1(GP_Elips.getCPtr(Elips), Elips, P, Alpha, Sense), true); - } - - public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P1, double[] P2, boolean Sense) { - this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_2(GP_Elips.getCPtr(Elips), Elips, P1, P2, Sense), true); - } - - public Geom_TrimmedCurve value() { - return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeArcOfEllipse_value(swigCPtr, this), false); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GC_MakeArcOfEllipse extends GC_Root { + private transient long swigCPtr; + + protected GC_MakeArcOfEllipse(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GC_MakeArcOfEllipse_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GC_MakeArcOfEllipse obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GC_MakeArcOfEllipse(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GC_MakeArcOfEllipse(GP_Elips Elips, double Alpha1, double Alpha2, boolean Sense) { + this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_0(GP_Elips.getCPtr(Elips), Elips, Alpha1, Alpha2, Sense), true); + } + + public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P, double Alpha, boolean Sense) { + this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_1(GP_Elips.getCPtr(Elips), Elips, P, Alpha, Sense), true); + } + + public GC_MakeArcOfEllipse(GP_Elips Elips, double[] P1, double[] P2, boolean Sense) { + this(OccJavaJNI.new_GC_MakeArcOfEllipse__SWIG_2(GP_Elips.getCPtr(Elips), Elips, P1, P2, Sense), true); + } + + public Geom_TrimmedCurve value() { + return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeArcOfEllipse_value(swigCPtr, this), false); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeSegment.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeSegment.java index e9138ed2..87a44af3 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeSegment.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_MakeSegment.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GC_MakeSegment extends GC_Root { - private long swigCPtr; - - public GC_MakeSegment(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GC_MakeSegment_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GC_MakeSegment obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GC_MakeSegment(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GC_MakeSegment(double[] P1, double[] P2) { - this(OccJavaJNI.new_GC_MakeSegment__SWIG_0(P1, P2), true); - } - - public GC_MakeSegment(GP_Lin Line, double U1, double U2) { - this(OccJavaJNI.new_GC_MakeSegment__SWIG_1(GP_Lin.getCPtr(Line), Line, U1, U2), true); - } - - public GC_MakeSegment(GP_Lin Line, double[] Point, double Ulast) { - this(OccJavaJNI.new_GC_MakeSegment__SWIG_2(GP_Lin.getCPtr(Line), Line, Point, Ulast), true); - } - - public GC_MakeSegment(GP_Lin Line, double[] P1, double[] P2) { - this(OccJavaJNI.new_GC_MakeSegment__SWIG_3(GP_Lin.getCPtr(Line), Line, P1, P2), true); - } - - public Geom_TrimmedCurve value() { - return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeSegment_value(swigCPtr, this), false); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GC_MakeSegment extends GC_Root { + private transient long swigCPtr; + + protected GC_MakeSegment(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GC_MakeSegment_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GC_MakeSegment obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GC_MakeSegment(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GC_MakeSegment(double[] P1, double[] P2) { + this(OccJavaJNI.new_GC_MakeSegment__SWIG_0(P1, P2), true); + } + + public GC_MakeSegment(GP_Lin Line, double U1, double U2) { + this(OccJavaJNI.new_GC_MakeSegment__SWIG_1(GP_Lin.getCPtr(Line), Line, U1, U2), true); + } + + public GC_MakeSegment(GP_Lin Line, double[] Point, double Ulast) { + this(OccJavaJNI.new_GC_MakeSegment__SWIG_2(GP_Lin.getCPtr(Line), Line, Point, Ulast), true); + } + + public GC_MakeSegment(GP_Lin Line, double[] P1, double[] P2) { + this(OccJavaJNI.new_GC_MakeSegment__SWIG_3(GP_Lin.getCPtr(Line), Line, P1, P2), true); + } + + public Geom_TrimmedCurve value() { + return new Geom_TrimmedCurve(OccJavaJNI.GC_MakeSegment_value(swigCPtr, this), false); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_Root.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_Root.java index 9c877f62..03cd88b1 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_Root.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GC_Root.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GC_Root { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GC_Root(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GC_Root obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GC_Root(swigCPtr); - } - swigCPtr = 0; - } - } - - public boolean isDone() { - return OccJavaJNI.GC_Root_isDone(swigCPtr, this); -} - - public GC_Root() { - this(OccJavaJNI.new_GC_Root(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GC_Root { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GC_Root(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GC_Root obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GC_Root(swigCPtr); + } + swigCPtr = 0; + } + } + + public boolean isDone() { + return OccJavaJNI.GC_Root_isDone(swigCPtr, this); +} + + public GC_Root() { + this(OccJavaJNI.new_GC_Root(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.java index 35532ca8..6524b859 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Circ.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GP_Circ { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GP_Circ(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GP_Circ obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GP_Circ(swigCPtr); - } - swigCPtr = 0; - } - } - - public GP_Circ(double[] axis, double radius) { - this(OccJavaJNI.new_GP_Circ(axis, radius), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GP_Circ { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GP_Circ(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GP_Circ obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GP_Circ(swigCPtr); + } + swigCPtr = 0; + } + } + + public GP_Circ(double[] axis, double radius) { + this(OccJavaJNI.new_GP_Circ(axis, radius), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Elips.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Elips.java index 7f0b748b..4ce8ddcc 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Elips.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Elips.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GP_Elips { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GP_Elips(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GP_Elips obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GP_Elips(swigCPtr); - } - swigCPtr = 0; - } - } - - public GP_Elips(double[] A2, double MajorRadius, double MinorRadius) { - this(OccJavaJNI.new_GP_Elips(A2, MajorRadius, MinorRadius), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GP_Elips { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GP_Elips(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GP_Elips obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GP_Elips(swigCPtr); + } + swigCPtr = 0; + } + } + + public GP_Elips(double[] A2, double MajorRadius, double MinorRadius) { + this(OccJavaJNI.new_GP_Elips(A2, MajorRadius, MinorRadius), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Lin.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Lin.java index 6abfe42d..1bf68918 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Lin.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Lin.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GP_Lin { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GP_Lin(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GP_Lin obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GP_Lin(swigCPtr); - } - swigCPtr = 0; - } - } - - public GP_Lin(double[] A1) { - this(OccJavaJNI.new_GP_Lin(A1), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GP_Lin { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GP_Lin(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GP_Lin obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GP_Lin(swigCPtr); + } + swigCPtr = 0; + } + } + + public GP_Lin(double[] A1) { + this(OccJavaJNI.new_GP_Lin(A1), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Parab.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Parab.java index 84a0ba54..03a1ff40 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Parab.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Parab.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GP_Parab { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GP_Parab(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GP_Parab obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GP_Parab(swigCPtr); - } - swigCPtr = 0; - } - } - - public GP_Parab(double[] A2, double Focal) { - this(OccJavaJNI.new_GP_Parab__SWIG_0(A2, Focal), true); - } - - public GP_Parab(double[] D, double[] F) { - this(OccJavaJNI.new_GP_Parab__SWIG_1(D, F), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GP_Parab { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GP_Parab(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GP_Parab obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GP_Parab(swigCPtr); + } + swigCPtr = 0; + } + } + + public GP_Parab(double[] A2, double Focal) { + this(OccJavaJNI.new_GP_Parab__SWIG_0(A2, Focal), true); + } + + public GP_Parab(double[] D, double[] F) { + this(OccJavaJNI.new_GP_Parab__SWIG_1(D, F), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Trsf.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Trsf.java index 85275223..4c557625 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Trsf.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GP_Trsf.java @@ -1,69 +1,68 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GP_Trsf { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GP_Trsf(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GP_Trsf obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GP_Trsf(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setValues(double[] matrix, double tolAng, double tolDist) - { - if(matrix.length!=12) - throw new IllegalArgumentException("matrix length must be 12"); - setValues( - matrix[0], matrix[1], matrix[2], matrix[3], - matrix[4], matrix[5], matrix[6], matrix[7], - matrix[8], matrix[9], matrix[10], matrix[11], - tolAng, tolDist); - } - - public GP_Trsf() { - this(OccJavaJNI.new_GP_Trsf(), true); - } - - public void setRotation(double[] A1, double Ang) { - OccJavaJNI.GP_Trsf_setRotation(swigCPtr, this, A1, Ang); - } - - public void setTranslation(double[] V) { - OccJavaJNI.GP_Trsf_setTranslation(swigCPtr, this, V); - } - - public void setValues(double a11, double a12, double a13, double a14, double a21, double a22, double a23, double a24, double a31, double a32, double a33, double a34, double Tolang, double TolDist) { - OccJavaJNI.GP_Trsf_setValues(swigCPtr, this, a11, a12, a13, a14, a21, a22, a23, a24, a31, a32, a33, a34, Tolang, TolDist); - } - - public void getValues(double[] matrix) { - OccJavaJNI.GP_Trsf_getValues(swigCPtr, this, matrix); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GP_Trsf { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GP_Trsf(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GP_Trsf obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GP_Trsf(swigCPtr); + } + swigCPtr = 0; + } + } + + public void setValues(double[] matrix) + { + if(matrix.length!=12) + throw new IllegalArgumentException("matrix length must be 12"); + setValues( + matrix[0], matrix[1], matrix[2], matrix[3], + matrix[4], matrix[5], matrix[6], matrix[7], + matrix[8], matrix[9], matrix[10], matrix[11]); + } + + public GP_Trsf() { + this(OccJavaJNI.new_GP_Trsf(), true); + } + + public void setRotation(double[] A1, double Ang) { + OccJavaJNI.GP_Trsf_setRotation(swigCPtr, this, A1, Ang); + } + + public void setTranslation(double[] V) { + OccJavaJNI.GP_Trsf_setTranslation(swigCPtr, this, V); + } + + public void setValues(double a11, double a12, double a13, double a14, double a21, double a22, double a23, double a24, double a31, double a32, double a33, double a34) { + OccJavaJNI.GP_Trsf_setValues(swigCPtr, this, a11, a12, a13, a14, a21, a22, a23, a24, a31, a32, a33, a34); + } + + public void getValues(double[] matrix) { + OccJavaJNI.GP_Trsf_getValues(swigCPtr, this, matrix); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_CelGProps.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_CelGProps.java index 2099c729..edb4cc0a 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_CelGProps.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_CelGProps.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GProp_CelGProps extends GProp_GProps { - private long swigCPtr; - - public GProp_CelGProps(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GProp_CelGProps_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GProp_CelGProps obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GProp_CelGProps(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GProp_CelGProps() { - this(OccJavaJNI.new_GProp_CelGProps(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GProp_CelGProps extends GProp_GProps { + private transient long swigCPtr; + + protected GProp_CelGProps(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GProp_CelGProps_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GProp_CelGProps obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GProp_CelGProps(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GProp_CelGProps() { + this(OccJavaJNI.new_GProp_CelGProps(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_GProps.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_GProps.java index c2880fda..fbf80167 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_GProps.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_GProps.java @@ -1,54 +1,54 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GProp_GProps { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GProp_GProps(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GProp_GProps obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GProp_GProps(swigCPtr); - } - swigCPtr = 0; - } - } - - public GProp_GProps() { - this(OccJavaJNI.new_GProp_GProps(), true); - } - - public double mass() { - return OccJavaJNI.GProp_GProps_mass(swigCPtr, this); - } - - public double[] centreOfMass() { - return OccJavaJNI.GProp_GProps_centreOfMass(swigCPtr, this); -} - - public double[] matrixOfInertia() { - return OccJavaJNI.GProp_GProps_matrixOfInertia(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GProp_GProps { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GProp_GProps(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GProp_GProps obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GProp_GProps(swigCPtr); + } + swigCPtr = 0; + } + } + + public GProp_GProps() { + this(OccJavaJNI.new_GProp_GProps(), true); + } + + public double mass() { + return OccJavaJNI.GProp_GProps_mass(swigCPtr, this); + } + + public double[] centreOfMass() { + return OccJavaJNI.GProp_GProps_centreOfMass(swigCPtr, this); +} + + public double[] matrixOfInertia() { + return OccJavaJNI.GProp_GProps_matrixOfInertia(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_PGProps.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_PGProps.java index e05d00dd..69b40538 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_PGProps.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_PGProps.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GProp_PGProps extends GProp_GProps { - private long swigCPtr; - - public GProp_PGProps(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GProp_PGProps_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GProp_PGProps obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GProp_PGProps(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GProp_PGProps() { - this(OccJavaJNI.new_GProp_PGProps(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GProp_PGProps extends GProp_GProps { + private transient long swigCPtr; + + protected GProp_PGProps(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GProp_PGProps_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GProp_PGProps obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GProp_PGProps(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GProp_PGProps() { + this(OccJavaJNI.new_GProp_PGProps(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_SelGProps.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_SelGProps.java index 3f7eeef8..98714240 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_SelGProps.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_SelGProps.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GProp_SelGProps extends GProp_GProps { - private long swigCPtr; - - public GProp_SelGProps(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GProp_SelGProps_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GProp_SelGProps obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GProp_SelGProps(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GProp_SelGProps() { - this(OccJavaJNI.new_GProp_SelGProps(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GProp_SelGProps extends GProp_GProps { + private transient long swigCPtr; + + protected GProp_SelGProps(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GProp_SelGProps_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GProp_SelGProps obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GProp_SelGProps(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GProp_SelGProps() { + this(OccJavaJNI.new_GProp_SelGProps(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_VelGProps.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_VelGProps.java index 4908fcba..9e9c36ea 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_VelGProps.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GProp_VelGProps.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GProp_VelGProps extends GProp_GProps { - private long swigCPtr; - - public GProp_VelGProps(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GProp_VelGProps_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GProp_VelGProps obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GProp_VelGProps(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GProp_VelGProps() { - this(OccJavaJNI.new_GProp_VelGProps(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GProp_VelGProps extends GProp_GProps { + private transient long swigCPtr; + + protected GProp_VelGProps(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GProp_VelGProps_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GProp_VelGProps obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GProp_VelGProps(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GProp_VelGProps() { + this(OccJavaJNI.new_GProp_VelGProps(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2dAdaptor_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2dAdaptor_Curve.java index 11dfa318..f3cb3cb8 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2dAdaptor_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2dAdaptor_Curve.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom2dAdaptor_Curve extends Adaptor2d_Curve2d { - private long swigCPtr; - - public Geom2dAdaptor_Curve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom2dAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom2dAdaptor_Curve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom2dAdaptor_Curve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public Geom2dAdaptor_Curve() { - this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_0(), true); - } - - public Geom2dAdaptor_Curve(Geom2d_Curve C) { - this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_1(Geom2d_Curve.getCPtr(C), C), true); - } - - public Geom2dAdaptor_Curve(Geom2d_Curve C, double UFirst, double ULast) { - this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_2(Geom2d_Curve.getCPtr(C), C, UFirst, ULast), true); - } - - public void load(Geom2d_Curve C) { - OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom2d_Curve.getCPtr(C), C); - } - - public void load(Geom2d_Curve C, double UFirst, double ULast) { - OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom2d_Curve.getCPtr(C), C, UFirst, ULast); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom2dAdaptor_Curve extends Adaptor2d_Curve2d { + private transient long swigCPtr; + + protected Geom2dAdaptor_Curve(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.Geom2dAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom2dAdaptor_Curve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom2dAdaptor_Curve(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public Geom2dAdaptor_Curve() { + this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_0(), true); + } + + public Geom2dAdaptor_Curve(Geom2d_Curve C) { + this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_1(Geom2d_Curve.getCPtr(C), C), true); + } + + public Geom2dAdaptor_Curve(Geom2d_Curve C, double UFirst, double ULast) { + this(OccJavaJNI.new_Geom2dAdaptor_Curve__SWIG_2(Geom2d_Curve.getCPtr(C), C, UFirst, ULast), true); + } + + public void load(Geom2d_Curve C) { + OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom2d_Curve.getCPtr(C), C); + } + + public void load(Geom2d_Curve C, double UFirst, double ULast) { + OccJavaJNI.Geom2dAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom2d_Curve.getCPtr(C), C, UFirst, ULast); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Curve.java index f4a4f8f7..f668f730 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Curve.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom2d_Curve extends Geom2d_Geometry { - private long swigCPtr; - - public Geom2d_Curve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom2d_Curve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom2d_Curve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom2d_Curve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom2d_Curve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom2d_Curve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom2d_Curve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom2d_Curve(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Geometry.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Geometry.java index 0b4f4463..2aa540f7 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Geometry.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom2d_Geometry.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom2d_Geometry { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Geom2d_Geometry(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Geom2d_Geometry obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom2d_Geometry(swigCPtr); - } - swigCPtr = 0; - } - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom2d_Geometry { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom2d_Geometry(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom2d_Geometry obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom2d_Geometry(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java index 95a5d81c..f90e8486 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_Interpolate.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GeomAPI_Interpolate { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GeomAPI_Interpolate(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GeomAPI_Interpolate obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GeomAPI_Interpolate(swigCPtr); - } - swigCPtr = 0; - } - } - - public GeomAPI_Interpolate(double[] Points, boolean PeriodicFlag, double Tolerance) { - this(OccJavaJNI.new_GeomAPI_Interpolate(Points, PeriodicFlag, Tolerance), true); - } - - public void Load(double[] Tangents, boolean[] TangentFlags, boolean Scale) { - OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_0(swigCPtr, this, Tangents, TangentFlags, Scale); - } - - public void Load(double[] Tangents, boolean[] TangentFlags) { - OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_1(swigCPtr, this, Tangents, TangentFlags); - } - - public void Perform() { - OccJavaJNI.GeomAPI_Interpolate_Perform(swigCPtr, this); - } - - public Geom_BSplineCurve Curve() { - return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_Interpolate_Curve(swigCPtr, this), false); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GeomAPI_Interpolate { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GeomAPI_Interpolate(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GeomAPI_Interpolate obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GeomAPI_Interpolate(swigCPtr); + } + swigCPtr = 0; + } + } + + public GeomAPI_Interpolate(double[] Points, boolean PeriodicFlag, double Tolerance) { + this(OccJavaJNI.new_GeomAPI_Interpolate(Points, PeriodicFlag, Tolerance), true); + } + + public void Load(double[] Tangents, boolean[] TangentFlags, boolean Scale) { + OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_0(swigCPtr, this, Tangents, TangentFlags, Scale); + } + + public void Load(double[] Tangents, boolean[] TangentFlags) { + OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_1(swigCPtr, this, Tangents, TangentFlags); + } + + public void Perform() { + OccJavaJNI.GeomAPI_Interpolate_Perform(swigCPtr, this); + } + + public Geom_BSplineCurve Curve() { + return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_Interpolate_Curve(swigCPtr, this), false); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_PointsToBSpline.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_PointsToBSpline.java index e090e469..0d5c1781 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_PointsToBSpline.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_PointsToBSpline.java @@ -1,86 +1,86 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GeomAPI_PointsToBSpline { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GeomAPI_PointsToBSpline(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GeomAPI_PointsToBSpline obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GeomAPI_PointsToBSpline(swigCPtr); - } - swigCPtr = 0; - } - } - - public GeomAPI_PointsToBSpline() { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_0(), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, int DegMin, int DegMax, GeomAbs_Shape Continuity, double Tol3D) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_1(Points, DegMin, DegMax, Continuity.swigValue(), Tol3D), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, int DegMin, int DegMax, GeomAbs_Shape Continuity) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_2(Points, DegMin, DegMax, Continuity.swigValue()), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, int DegMin, int DegMax) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_3(Points, DegMin, DegMax), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, int DegMin) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_4(Points, DegMin), true); - } - - public GeomAPI_PointsToBSpline(double[] Points) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_5(Points), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin, int DegMax, GeomAbs_Shape Continuity, double Tol3D) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_6(Points, Parameters, DegMin, DegMax, Continuity.swigValue(), Tol3D), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin, int DegMax, GeomAbs_Shape Continuity) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_7(Points, Parameters, DegMin, DegMax, Continuity.swigValue()), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin, int DegMax) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_8(Points, Parameters, DegMin, DegMax), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_9(Points, Parameters, DegMin), true); - } - - public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters) { - this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_10(Points, Parameters), true); - } - - public Geom_BSplineCurve Curve() { - return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_PointsToBSpline_Curve(swigCPtr, this), false); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GeomAPI_PointsToBSpline { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GeomAPI_PointsToBSpline(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GeomAPI_PointsToBSpline obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GeomAPI_PointsToBSpline(swigCPtr); + } + swigCPtr = 0; + } + } + + public GeomAPI_PointsToBSpline() { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_0(), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, int DegMin, int DegMax, GeomAbs_Shape Continuity, double Tol3D) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_1(Points, DegMin, DegMax, Continuity.swigValue(), Tol3D), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, int DegMin, int DegMax, GeomAbs_Shape Continuity) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_2(Points, DegMin, DegMax, Continuity.swigValue()), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, int DegMin, int DegMax) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_3(Points, DegMin, DegMax), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, int DegMin) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_4(Points, DegMin), true); + } + + public GeomAPI_PointsToBSpline(double[] Points) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_5(Points), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin, int DegMax, GeomAbs_Shape Continuity, double Tol3D) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_6(Points, Parameters, DegMin, DegMax, Continuity.swigValue(), Tol3D), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin, int DegMax, GeomAbs_Shape Continuity) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_7(Points, Parameters, DegMin, DegMax, Continuity.swigValue()), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin, int DegMax) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_8(Points, Parameters, DegMin, DegMax), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters, int DegMin) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_9(Points, Parameters, DegMin), true); + } + + public GeomAPI_PointsToBSpline(double[] Points, double[] Parameters) { + this(OccJavaJNI.new_GeomAPI_PointsToBSpline__SWIG_10(Points, Parameters), true); + } + + public Geom_BSplineCurve Curve() { + return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_PointsToBSpline_Curve(swigCPtr, this), false); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_ProjectPointOnSurf.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_ProjectPointOnSurf.java index 070929c4..20800438 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_ProjectPointOnSurf.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAPI_ProjectPointOnSurf.java @@ -1,77 +1,77 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GeomAPI_ProjectPointOnSurf { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GeomAPI_ProjectPointOnSurf(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GeomAPI_ProjectPointOnSurf obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GeomAPI_ProjectPointOnSurf(swigCPtr); - } - swigCPtr = 0; - } - } - - public void lowerDistanceParameters(double[] uv) - { - double[] d2=new double[1]; - lowerDistanceParameters(uv, d2); - uv[1]=d2[0]; - } - - public GeomAPI_ProjectPointOnSurf(double[] P, Geom_Surface Surface) { - this(OccJavaJNI.new_GeomAPI_ProjectPointOnSurf(P, Geom_Surface.getCPtr(Surface), Surface), true); - } - - public void init(double[] P, Geom_Surface surface) { - OccJavaJNI.GeomAPI_ProjectPointOnSurf_init(swigCPtr, this, P, Geom_Surface.getCPtr(surface), surface); - } - - public int nbPoints() { - return OccJavaJNI.GeomAPI_ProjectPointOnSurf_nbPoints(swigCPtr, this); - } - - public double lowerDistance() { - return OccJavaJNI.GeomAPI_ProjectPointOnSurf_lowerDistance(swigCPtr, this); - } - - public double[] point(int Index) { - return OccJavaJNI.GeomAPI_ProjectPointOnSurf_point(swigCPtr, this, Index); -} - - public void lowerDistanceParameters(double[] U, double[] V) { - OccJavaJNI.GeomAPI_ProjectPointOnSurf_lowerDistanceParameters(swigCPtr, this, U, V); - } - - public void parameters(int Index, double[] U, double[] V) { - OccJavaJNI.GeomAPI_ProjectPointOnSurf_parameters(swigCPtr, this, Index, U, V); - } - - public double[] nearestPoint() { - return OccJavaJNI.GeomAPI_ProjectPointOnSurf_nearestPoint(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GeomAPI_ProjectPointOnSurf { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GeomAPI_ProjectPointOnSurf(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GeomAPI_ProjectPointOnSurf obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GeomAPI_ProjectPointOnSurf(swigCPtr); + } + swigCPtr = 0; + } + } + + public void lowerDistanceParameters(double[] uv) + { + double[] d2=new double[1]; + lowerDistanceParameters(uv, d2); + uv[1]=d2[0]; + } + + public GeomAPI_ProjectPointOnSurf(double[] P, Geom_Surface Surface) { + this(OccJavaJNI.new_GeomAPI_ProjectPointOnSurf(P, Geom_Surface.getCPtr(Surface), Surface), true); + } + + public void init(double[] P, Geom_Surface surface) { + OccJavaJNI.GeomAPI_ProjectPointOnSurf_init(swigCPtr, this, P, Geom_Surface.getCPtr(surface), surface); + } + + public int nbPoints() { + return OccJavaJNI.GeomAPI_ProjectPointOnSurf_nbPoints(swigCPtr, this); + } + + public double lowerDistance() { + return OccJavaJNI.GeomAPI_ProjectPointOnSurf_lowerDistance(swigCPtr, this); + } + + public double[] point(int Index) { + return OccJavaJNI.GeomAPI_ProjectPointOnSurf_point(swigCPtr, this, Index); +} + + public void lowerDistanceParameters(double[] U, double[] V) { + OccJavaJNI.GeomAPI_ProjectPointOnSurf_lowerDistanceParameters(swigCPtr, this, U, V); + } + + public void parameters(int Index, double[] U, double[] V) { + OccJavaJNI.GeomAPI_ProjectPointOnSurf_parameters(swigCPtr, this, Index, U, V); + } + + public double[] nearestPoint() { + return OccJavaJNI.GeomAPI_ProjectPointOnSurf_nearestPoint(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAbs_Shape.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAbs_Shape.java index bda92757..3fa59f57 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAbs_Shape.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAbs_Shape.java @@ -1,57 +1,57 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public enum GeomAbs_Shape { - C0, - G1, - C1, - G2, - C2, - C3, - CN; - - public final int swigValue() { - return swigValue; - } - - public static GeomAbs_Shape swigToEnum(int swigValue) { - GeomAbs_Shape[] swigValues = GeomAbs_Shape.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (GeomAbs_Shape swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + GeomAbs_Shape.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private GeomAbs_Shape() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private GeomAbs_Shape(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private GeomAbs_Shape(GeomAbs_Shape swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public enum GeomAbs_Shape { + C0, + G1, + C1, + G2, + C2, + C3, + CN; + + public final int swigValue() { + return swigValue; + } + + public static GeomAbs_Shape swigToEnum(int swigValue) { + GeomAbs_Shape[] swigValues = GeomAbs_Shape.class.getEnumConstants(); + if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) + return swigValues[swigValue]; + for (GeomAbs_Shape swigEnum : swigValues) + if (swigEnum.swigValue == swigValue) + return swigEnum; + throw new IllegalArgumentException("No enum " + GeomAbs_Shape.class + " with value " + swigValue); + } + + @SuppressWarnings("unused") + private GeomAbs_Shape() { + this.swigValue = SwigNext.next++; + } + + @SuppressWarnings("unused") + private GeomAbs_Shape(int swigValue) { + this.swigValue = swigValue; + SwigNext.next = swigValue+1; + } + + @SuppressWarnings("unused") + private GeomAbs_Shape(GeomAbs_Shape swigEnum) { + this.swigValue = swigEnum.swigValue; + SwigNext.next = this.swigValue+1; + } + + private final int swigValue; + + private static class SwigNext { + private static int next = 0; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.java index 5a7b27e1..7aa620fc 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomAdaptor_Curve.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GeomAdaptor_Curve extends Adaptor3d_Curve { - private long swigCPtr; - - public GeomAdaptor_Curve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.GeomAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(GeomAdaptor_Curve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GeomAdaptor_Curve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public GeomAdaptor_Curve() { - this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_0(), true); - } - - public GeomAdaptor_Curve(Geom_Curve C) { - this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_1(Geom_Curve.getCPtr(C), C), true); - } - - public GeomAdaptor_Curve(Geom_Curve C, double UFirst, double ULast) { - this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_2(Geom_Curve.getCPtr(C), C, UFirst, ULast), true); - } - - public void load(Geom_Curve C) { - OccJavaJNI.GeomAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom_Curve.getCPtr(C), C); - } - - public void load(Geom_Curve C, double UFirst, double ULast) { - OccJavaJNI.GeomAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom_Curve.getCPtr(C), C, UFirst, ULast); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GeomAdaptor_Curve extends Adaptor3d_Curve { + private transient long swigCPtr; + + protected GeomAdaptor_Curve(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.GeomAdaptor_Curve_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(GeomAdaptor_Curve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GeomAdaptor_Curve(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public GeomAdaptor_Curve() { + this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_0(), true); + } + + public GeomAdaptor_Curve(Geom_Curve C) { + this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_1(Geom_Curve.getCPtr(C), C), true); + } + + public GeomAdaptor_Curve(Geom_Curve C, double UFirst, double ULast) { + this(OccJavaJNI.new_GeomAdaptor_Curve__SWIG_2(Geom_Curve.getCPtr(C), C, UFirst, ULast), true); + } + + public void load(Geom_Curve C) { + OccJavaJNI.GeomAdaptor_Curve_load__SWIG_0(swigCPtr, this, Geom_Curve.getCPtr(C), C); + } + + public void load(Geom_Curve C, double UFirst, double ULast) { + OccJavaJNI.GeomAdaptor_Curve_load__SWIG_1(swigCPtr, this, Geom_Curve.getCPtr(C), C, UFirst, ULast); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomLProp_SLProps.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomLProp_SLProps.java index 73f63e7f..03a50c4c 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomLProp_SLProps.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/GeomLProp_SLProps.java @@ -1,185 +1,185 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class GeomLProp_SLProps { - private long swigCPtr; - protected boolean swigCMemOwn; - - public GeomLProp_SLProps(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(GeomLProp_SLProps obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_GeomLProp_SLProps(swigCPtr); - } - swigCPtr = 0; - } - } - - /** - * @deprecated Typo mistake in the previous version - */ - public void setParameter(double u, double v) - { - setParameters(u, v); - } - - public double[] normal() - { - double[] toReturn=new double[3]; - normal(toReturn); - return toReturn; - } - - /**Return the normal on the uv nodes.
- *Invalid ones are set to zero. - */ - public double[] normalArray(double[] uvNodes) - { - if(uvNodes==null) - throw new NullPointerException(); - - if(uvNodes.length%2!=0) - throw new IllegalArgumentException("uvNodes array length must be peer"); - - int numNodes=uvNodes.length/2; - double[] toReturn=new double[numNodes*3]; - normalArray(uvNodes,toReturn,numNodes); - - return toReturn; - } - - public double[] curvatureDirections() - { - double[] toReturn=new double[6]; - if(isCurvatureDefined()) - { - double[] max=new double[3]; - double[] min=new double[3]; - curvatureDirection(max, min); - System.arraycopy(max, 0, toReturn, 0, 3); - System.arraycopy(min, 0, toReturn, 3, 3); - } - return toReturn; - } - - - /** - * The current point and the derivatives are computed at the same time, - * which allows an optimization of the computation time. - * @param degree The maximum number of derivations to be done (0, 1, or 2). - * For example, to compute only the tangent, N should be equal to 1. - * @param resolution The linear tolerance (it is used to test if a vector is null). - */ - public GeomLProp_SLProps(int degree, double resolution) { - this(OccJavaJNI.new_GeomLProp_SLProps(degree, resolution), true); - } - - public void setParameters(double u, double v) { - OccJavaJNI.GeomLProp_SLProps_setParameters(swigCPtr, this, u, v); - } - - public double[] value() { - return OccJavaJNI.GeomLProp_SLProps_value(swigCPtr, this); -} - - public double[] d1U() { - return OccJavaJNI.GeomLProp_SLProps_d1U(swigCPtr, this); -} - - public double[] d1V() { - return OccJavaJNI.GeomLProp_SLProps_d1V(swigCPtr, this); -} - - public double[] d2U() { - return OccJavaJNI.GeomLProp_SLProps_d2U(swigCPtr, this); -} - - public double[] d2V() { - return OccJavaJNI.GeomLProp_SLProps_d2V(swigCPtr, this); -} - - public double[] dUV() { - return OccJavaJNI.GeomLProp_SLProps_dUV(swigCPtr, this); -} - - public boolean isTangentUDefined() { - return OccJavaJNI.GeomLProp_SLProps_isTangentUDefined(swigCPtr, this); -} - - public void tangentU(double[] D) { - OccJavaJNI.GeomLProp_SLProps_tangentU(swigCPtr, this, D); - } - - public boolean isTangentVDefined() { - return OccJavaJNI.GeomLProp_SLProps_isTangentVDefined(swigCPtr, this); -} - - public void tangentV(double[] D) { - OccJavaJNI.GeomLProp_SLProps_tangentV(swigCPtr, this, D); - } - - public boolean isNormalDefined() { - return OccJavaJNI.GeomLProp_SLProps_isNormalDefined(swigCPtr, this); -} - - public boolean isCurvatureDefined() { - return OccJavaJNI.GeomLProp_SLProps_isCurvatureDefined(swigCPtr, this); -} - - public boolean isUmbilic() { - return OccJavaJNI.GeomLProp_SLProps_isUmbilic(swigCPtr, this); -} - - public double meanCurvature() { - return OccJavaJNI.GeomLProp_SLProps_meanCurvature(swigCPtr, this); - } - - public double gaussianCurvature() { - return OccJavaJNI.GeomLProp_SLProps_gaussianCurvature(swigCPtr, this); - } - - public void setSurface(Geom_Surface S) { - OccJavaJNI.GeomLProp_SLProps_setSurface(swigCPtr, this, Geom_Surface.getCPtr(S), S); - } - - public void normal(double[] normal) { - OccJavaJNI.GeomLProp_SLProps_normal(swigCPtr, this, normal); - } - - private void normalArray(double[] uvNodes, double[] normalArray, int numNodes) { - OccJavaJNI.GeomLProp_SLProps_normalArray(swigCPtr, this, uvNodes, normalArray, numNodes); - } - - public double minCurvature() { - return OccJavaJNI.GeomLProp_SLProps_minCurvature(swigCPtr, this); - } - - public double maxCurvature() { - return OccJavaJNI.GeomLProp_SLProps_maxCurvature(swigCPtr, this); - } - - public void curvatureDirection(double[] jmax, double[] jmin) { - OccJavaJNI.GeomLProp_SLProps_curvatureDirection(swigCPtr, this, jmax, jmin); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class GeomLProp_SLProps { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected GeomLProp_SLProps(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(GeomLProp_SLProps obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_GeomLProp_SLProps(swigCPtr); + } + swigCPtr = 0; + } + } + + /** + * @deprecated Typo mistake in the previous version + */ + public void setParameter(double u, double v) + { + setParameters(u, v); + } + + public double[] normal() + { + double[] toReturn=new double[3]; + normal(toReturn); + return toReturn; + } + + /**Return the normal on the uv nodes.
+ *Invalid ones are set to zero. + */ + public double[] normalArray(double[] uvNodes) + { + if(uvNodes==null) + throw new NullPointerException(); + + if(uvNodes.length%2!=0) + throw new IllegalArgumentException("uvNodes array length must be peer"); + + int numNodes=uvNodes.length/2; + double[] toReturn=new double[numNodes*3]; + normalArray(uvNodes,toReturn,numNodes); + + return toReturn; + } + + public double[] curvatureDirections() + { + double[] toReturn=new double[6]; + if(isCurvatureDefined()) + { + double[] max=new double[3]; + double[] min=new double[3]; + curvatureDirection(max, min); + System.arraycopy(max, 0, toReturn, 0, 3); + System.arraycopy(min, 0, toReturn, 3, 3); + } + return toReturn; + } + + + /** + * The current point and the derivatives are computed at the same time, + * which allows an optimization of the computation time. + * @param degree The maximum number of derivations to be done (0, 1, or 2). + * For example, to compute only the tangent, N should be equal to 1. + * @param resolution The linear tolerance (it is used to test if a vector is null). + */ + public GeomLProp_SLProps(int degree, double resolution) { + this(OccJavaJNI.new_GeomLProp_SLProps(degree, resolution), true); + } + + public void setParameters(double u, double v) { + OccJavaJNI.GeomLProp_SLProps_setParameters(swigCPtr, this, u, v); + } + + public double[] value() { + return OccJavaJNI.GeomLProp_SLProps_value(swigCPtr, this); +} + + public double[] d1U() { + return OccJavaJNI.GeomLProp_SLProps_d1U(swigCPtr, this); +} + + public double[] d1V() { + return OccJavaJNI.GeomLProp_SLProps_d1V(swigCPtr, this); +} + + public double[] d2U() { + return OccJavaJNI.GeomLProp_SLProps_d2U(swigCPtr, this); +} + + public double[] d2V() { + return OccJavaJNI.GeomLProp_SLProps_d2V(swigCPtr, this); +} + + public double[] dUV() { + return OccJavaJNI.GeomLProp_SLProps_dUV(swigCPtr, this); +} + + public boolean isTangentUDefined() { + return OccJavaJNI.GeomLProp_SLProps_isTangentUDefined(swigCPtr, this); +} + + public void tangentU(double[] D) { + OccJavaJNI.GeomLProp_SLProps_tangentU(swigCPtr, this, D); + } + + public boolean isTangentVDefined() { + return OccJavaJNI.GeomLProp_SLProps_isTangentVDefined(swigCPtr, this); +} + + public void tangentV(double[] D) { + OccJavaJNI.GeomLProp_SLProps_tangentV(swigCPtr, this, D); + } + + public boolean isNormalDefined() { + return OccJavaJNI.GeomLProp_SLProps_isNormalDefined(swigCPtr, this); +} + + public boolean isCurvatureDefined() { + return OccJavaJNI.GeomLProp_SLProps_isCurvatureDefined(swigCPtr, this); +} + + public boolean isUmbilic() { + return OccJavaJNI.GeomLProp_SLProps_isUmbilic(swigCPtr, this); +} + + public double meanCurvature() { + return OccJavaJNI.GeomLProp_SLProps_meanCurvature(swigCPtr, this); + } + + public double gaussianCurvature() { + return OccJavaJNI.GeomLProp_SLProps_gaussianCurvature(swigCPtr, this); + } + + public void setSurface(Geom_Surface S) { + OccJavaJNI.GeomLProp_SLProps_setSurface(swigCPtr, this, Geom_Surface.getCPtr(S), S); + } + + public void normal(double[] normal) { + OccJavaJNI.GeomLProp_SLProps_normal(swigCPtr, this, normal); + } + + private void normalArray(double[] uvNodes, double[] normalArray, int numNodes) { + OccJavaJNI.GeomLProp_SLProps_normalArray(swigCPtr, this, uvNodes, normalArray, numNodes); + } + + public double minCurvature() { + return OccJavaJNI.GeomLProp_SLProps_minCurvature(swigCPtr, this); + } + + public double maxCurvature() { + return OccJavaJNI.GeomLProp_SLProps_maxCurvature(swigCPtr, this); + } + + public void curvatureDirection(double[] jmax, double[] jmin) { + OccJavaJNI.GeomLProp_SLProps_curvatureDirection(swigCPtr, this, jmax, jmin); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BSplineCurve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BSplineCurve.java index 72391142..dc8ec525 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BSplineCurve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BSplineCurve.java @@ -1,138 +1,138 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom_BSplineCurve extends Geom_BoundedCurve { - private long swigCPtr; - - public Geom_BSplineCurve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom_BSplineCurve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_BSplineCurve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom_BSplineCurve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public Geom_BSplineCurve(double[] Poles, double[] Weights, double[] Knots, SWIGTYPE_p_TColStd_Array1OfInteger Multiplicities, int Degree, boolean Periodic, boolean CheckRational) { - this(OccJavaJNI.new_Geom_BSplineCurve__SWIG_0(Poles, Weights, Knots, SWIGTYPE_p_TColStd_Array1OfInteger.getCPtr(Multiplicities), Degree, Periodic, CheckRational), true); - } - - public Geom_BSplineCurve(double[] Poles, double[] Weights, double[] Knots, SWIGTYPE_p_TColStd_Array1OfInteger Multiplicities, int Degree, boolean Periodic) { - this(OccJavaJNI.new_Geom_BSplineCurve__SWIG_1(Poles, Weights, Knots, SWIGTYPE_p_TColStd_Array1OfInteger.getCPtr(Multiplicities), Degree, Periodic), true); - } - - public Geom_BSplineCurve(double[] Poles, double[] Weights, double[] Knots, SWIGTYPE_p_TColStd_Array1OfInteger Multiplicities, int Degree) { - this(OccJavaJNI.new_Geom_BSplineCurve__SWIG_2(Poles, Weights, Knots, SWIGTYPE_p_TColStd_Array1OfInteger.getCPtr(Multiplicities), Degree), true); - } - - public void setKnot(int Index, double K) { - OccJavaJNI.Geom_BSplineCurve_setKnot__SWIG_0(swigCPtr, this, Index, K); - } - - public void setKnot(int Index, double K, int M) { - OccJavaJNI.Geom_BSplineCurve_setKnot__SWIG_1(swigCPtr, this, Index, K, M); - } - - public void setPeriodic() { - OccJavaJNI.Geom_BSplineCurve_setPeriodic(swigCPtr, this); - } - - public void setNotPeriodic() { - OccJavaJNI.Geom_BSplineCurve_setNotPeriodic(swigCPtr, this); - } - - public void setOrigin(int Index) { - OccJavaJNI.Geom_BSplineCurve_setOrigin__SWIG_0(swigCPtr, this, Index); - } - - public void setOrigin(double U, double Tol) { - OccJavaJNI.Geom_BSplineCurve_setOrigin__SWIG_1(swigCPtr, this, U, Tol); - } - - public void setPole(int Index, double[] P) { - OccJavaJNI.Geom_BSplineCurve_setPole__SWIG_0(swigCPtr, this, Index, P); - } - - public void setPole(int Index, double[] P, double Weight) { - OccJavaJNI.Geom_BSplineCurve_setPole__SWIG_1(swigCPtr, this, Index, P, Weight); - } - - public void movePoint(double U, double[] P, int Index1, int Index2, SWIGTYPE_p_int FirstModifiedPole, SWIGTYPE_p_int LastModifiedPole) { - OccJavaJNI.Geom_BSplineCurve_movePoint(swigCPtr, this, U, P, Index1, Index2, SWIGTYPE_p_int.getCPtr(FirstModifiedPole), SWIGTYPE_p_int.getCPtr(LastModifiedPole)); - } - - public void movePointAndTangent(double U, double[] P, double[] Tangent, double Tolerance, int StartingCondition, int EndingCondition) { - OccJavaJNI.Geom_BSplineCurve_movePointAndTangent(swigCPtr, this, U, P, Tangent, Tolerance, StartingCondition, EndingCondition); - } - - public boolean isClosed() { - return OccJavaJNI.Geom_BSplineCurve_isClosed(swigCPtr, this); -} - - public boolean isPeriodic() { - return OccJavaJNI.Geom_BSplineCurve_isPeriodic(swigCPtr, this); -} - - public boolean isRational() { - return OccJavaJNI.Geom_BSplineCurve_isRational(swigCPtr, this); -} - - public GeomAbs_Shape continuity() { - return GeomAbs_Shape.swigToEnum(OccJavaJNI.Geom_BSplineCurve_continuity(swigCPtr, this)); - } - - public int Degree() { - return OccJavaJNI.Geom_BSplineCurve_Degree(swigCPtr, this); - } - - public double[] localValue(double U, int FromK1, int ToK2) { - return OccJavaJNI.Geom_BSplineCurve_localValue(swigCPtr, this, U, FromK1, ToK2); -} - - public double[] endPoint() { - return OccJavaJNI.Geom_BSplineCurve_endPoint(swigCPtr, this); -} - - public double[] startPoint() { - return OccJavaJNI.Geom_BSplineCurve_startPoint(swigCPtr, this); -} - - public int nbKnots() { - return OccJavaJNI.Geom_BSplineCurve_nbKnots(swigCPtr, this); - } - - public int nbPoles() { - return OccJavaJNI.Geom_BSplineCurve_nbPoles(swigCPtr, this); - } - - public double[] pole(int Index) { - return OccJavaJNI.Geom_BSplineCurve_pole(swigCPtr, this, Index); -} - - public double weight(int Index) { - return OccJavaJNI.Geom_BSplineCurve_weight(swigCPtr, this, Index); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom_BSplineCurve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_BSplineCurve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_BSplineCurve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom_BSplineCurve(swigCPtr); + } + swigCPtr = 0; + } + } + + public Geom_BSplineCurve(double[] Poles, double[] Weights, double[] Knots, SWIGTYPE_p_TColStd_Array1OfInteger Multiplicities, int Degree, boolean Periodic, boolean CheckRational) { + this(OccJavaJNI.new_Geom_BSplineCurve__SWIG_0(Poles, Weights, Knots, SWIGTYPE_p_TColStd_Array1OfInteger.getCPtr(Multiplicities), Degree, Periodic, CheckRational), true); + } + + public Geom_BSplineCurve(double[] Poles, double[] Weights, double[] Knots, SWIGTYPE_p_TColStd_Array1OfInteger Multiplicities, int Degree, boolean Periodic) { + this(OccJavaJNI.new_Geom_BSplineCurve__SWIG_1(Poles, Weights, Knots, SWIGTYPE_p_TColStd_Array1OfInteger.getCPtr(Multiplicities), Degree, Periodic), true); + } + + public Geom_BSplineCurve(double[] Poles, double[] Weights, double[] Knots, SWIGTYPE_p_TColStd_Array1OfInteger Multiplicities, int Degree) { + this(OccJavaJNI.new_Geom_BSplineCurve__SWIG_2(Poles, Weights, Knots, SWIGTYPE_p_TColStd_Array1OfInteger.getCPtr(Multiplicities), Degree), true); + } + + public void setKnot(int Index, double K) { + OccJavaJNI.Geom_BSplineCurve_setKnot__SWIG_0(swigCPtr, this, Index, K); + } + + public void setKnot(int Index, double K, int M) { + OccJavaJNI.Geom_BSplineCurve_setKnot__SWIG_1(swigCPtr, this, Index, K, M); + } + + public void setPeriodic() { + OccJavaJNI.Geom_BSplineCurve_setPeriodic(swigCPtr, this); + } + + public void setNotPeriodic() { + OccJavaJNI.Geom_BSplineCurve_setNotPeriodic(swigCPtr, this); + } + + public void setOrigin(int Index) { + OccJavaJNI.Geom_BSplineCurve_setOrigin__SWIG_0(swigCPtr, this, Index); + } + + public void setOrigin(double U, double Tol) { + OccJavaJNI.Geom_BSplineCurve_setOrigin__SWIG_1(swigCPtr, this, U, Tol); + } + + public void setPole(int Index, double[] P) { + OccJavaJNI.Geom_BSplineCurve_setPole__SWIG_0(swigCPtr, this, Index, P); + } + + public void setPole(int Index, double[] P, double Weight) { + OccJavaJNI.Geom_BSplineCurve_setPole__SWIG_1(swigCPtr, this, Index, P, Weight); + } + + public void movePoint(double U, double[] P, int Index1, int Index2, SWIGTYPE_p_int FirstModifiedPole, SWIGTYPE_p_int LastModifiedPole) { + OccJavaJNI.Geom_BSplineCurve_movePoint(swigCPtr, this, U, P, Index1, Index2, SWIGTYPE_p_int.getCPtr(FirstModifiedPole), SWIGTYPE_p_int.getCPtr(LastModifiedPole)); + } + + public void movePointAndTangent(double U, double[] P, double[] Tangent, double Tolerance, int StartingCondition, int EndingCondition) { + OccJavaJNI.Geom_BSplineCurve_movePointAndTangent(swigCPtr, this, U, P, Tangent, Tolerance, StartingCondition, EndingCondition); + } + + public boolean isClosed() { + return OccJavaJNI.Geom_BSplineCurve_isClosed(swigCPtr, this); +} + + public boolean isPeriodic() { + return OccJavaJNI.Geom_BSplineCurve_isPeriodic(swigCPtr, this); +} + + public boolean isRational() { + return OccJavaJNI.Geom_BSplineCurve_isRational(swigCPtr, this); +} + + public GeomAbs_Shape continuity() { + return GeomAbs_Shape.swigToEnum(OccJavaJNI.Geom_BSplineCurve_continuity(swigCPtr, this)); + } + + public int Degree() { + return OccJavaJNI.Geom_BSplineCurve_Degree(swigCPtr, this); + } + + public double[] localValue(double U, int FromK1, int ToK2) { + return OccJavaJNI.Geom_BSplineCurve_localValue(swigCPtr, this, U, FromK1, ToK2); +} + + public double[] endPoint() { + return OccJavaJNI.Geom_BSplineCurve_endPoint(swigCPtr, this); +} + + public double[] startPoint() { + return OccJavaJNI.Geom_BSplineCurve_startPoint(swigCPtr, this); +} + + public int nbKnots() { + return OccJavaJNI.Geom_BSplineCurve_nbKnots(swigCPtr, this); + } + + public int nbPoles() { + return OccJavaJNI.Geom_BSplineCurve_nbPoles(swigCPtr, this); + } + + public double[] pole(int Index) { + return OccJavaJNI.Geom_BSplineCurve_pole(swigCPtr, this, Index); +} + + public double weight(int Index) { + return OccJavaJNI.Geom_BSplineCurve_weight(swigCPtr, this, Index); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.java index bfe2f5b3..d2c47cd9 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_BoundedCurve.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom_BoundedCurve extends Geom_Curve { - private long swigCPtr; - - public Geom_BoundedCurve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom_BoundedCurve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_BoundedCurve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom_BoundedCurve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom_BoundedCurve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_BoundedCurve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_BoundedCurve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom_BoundedCurve(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Curve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Curve.java index 57418956..0686a569 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Curve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Curve.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom_Curve extends Geom_Geometry { - private long swigCPtr; - - public Geom_Curve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom_Curve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_Curve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom_Curve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public double firstParameter() { - return OccJavaJNI.Geom_Curve_firstParameter(swigCPtr, this); - } - - public double lastParameter() { - return OccJavaJNI.Geom_Curve_lastParameter(swigCPtr, this); - } - - public boolean isClosed() { - return OccJavaJNI.Geom_Curve_isClosed(swigCPtr, this); -} - - public boolean isPeriodic() { - return OccJavaJNI.Geom_Curve_isPeriodic(swigCPtr, this); -} - - public double period() { - return OccJavaJNI.Geom_Curve_period(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom_Curve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_Curve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_Curve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom_Curve(swigCPtr); + } + swigCPtr = 0; + } + } + + public double firstParameter() { + return OccJavaJNI.Geom_Curve_firstParameter(swigCPtr, this); + } + + public double lastParameter() { + return OccJavaJNI.Geom_Curve_lastParameter(swigCPtr, this); + } + + public boolean isClosed() { + return OccJavaJNI.Geom_Curve_isClosed(swigCPtr, this); +} + + public boolean isPeriodic() { + return OccJavaJNI.Geom_Curve_isPeriodic(swigCPtr, this); +} + + public double period() { + return OccJavaJNI.Geom_Curve_period(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Geometry.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Geometry.java index e66522a7..a7e4e52e 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Geometry.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Geometry.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom_Geometry { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Geom_Geometry(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_Geometry obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom_Geometry(swigCPtr); - } - swigCPtr = 0; - } - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom_Geometry { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_Geometry(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_Geometry obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom_Geometry(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Surface.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Surface.java index 38bf1e53..2500c733 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Surface.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_Surface.java @@ -1,75 +1,75 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom_Surface extends Geom_Geometry { - private long swigCPtr; - - public Geom_Surface(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom_Surface_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_Surface obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom_Surface(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public double[] value(double U, double V) { - return OccJavaJNI.Geom_Surface_value(swigCPtr, this, U, V); -} - - - /** - * Return the bounds of the parameters of the surface. - * @param bounds an array of size 4 which will receive {Umin, Umax, Vmin, Vmax} - */ - public void bounds(double[] bounds) { - OccJavaJNI.Geom_Surface_bounds__SWIG_0(swigCPtr, this, bounds); - } - - - /** - * @deprecated use bounds(double[]) , it do not need to allocate 4 arrays. - */ - public void bounds(double[] U1, double[] U2, double[] V1, double[] V2) { - OccJavaJNI.Geom_Surface_bounds__SWIG_1(swigCPtr, this, U1, U2, V1, V2); - } - - public boolean isUClosed() { - return OccJavaJNI.Geom_Surface_isUClosed(swigCPtr, this); -} - - public boolean isVClosed() { - return OccJavaJNI.Geom_Surface_isVClosed(swigCPtr, this); -} - - public Geom_Curve uIso(double U) { - return new Geom_Curve(OccJavaJNI.Geom_Surface_uIso(swigCPtr, this, U), true); - } - - public Geom_Curve vIso(double V) { - return new Geom_Curve(OccJavaJNI.Geom_Surface_vIso(swigCPtr, this, V), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom_Surface { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_Surface(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_Surface obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom_Surface(swigCPtr); + } + swigCPtr = 0; + } + } + + public double[] value(double U, double V) { + return OccJavaJNI.Geom_Surface_value(swigCPtr, this, U, V); +} + + + /** + * Return the bounds of the parameters of the surface. + * @param bounds an array of size 4 which will receive {Umin, Umax, Vmin, Vmax} + */ + public void bounds(double[] bounds) { + OccJavaJNI.Geom_Surface_bounds__SWIG_0(swigCPtr, this, bounds); + } + + + /** + * @deprecated use bounds(double[]) , it do not need to allocate 4 arrays. + */ + public void bounds(double[] U1, double[] U2, double[] V1, double[] V2) { + OccJavaJNI.Geom_Surface_bounds__SWIG_1(swigCPtr, this, U1, U2, V1, V2); + } + + public boolean isUClosed() { + return OccJavaJNI.Geom_Surface_isUClosed(swigCPtr, this); +} + + public boolean isVClosed() { + return OccJavaJNI.Geom_Surface_isVClosed(swigCPtr, this); +} + + public Geom_Curve uIso(double U) { + return new Geom_Curve(OccJavaJNI.Geom_Surface_uIso(swigCPtr, this, U), true); + } + + public Geom_Curve vIso(double V) { + return new Geom_Curve(OccJavaJNI.Geom_Surface_vIso(swigCPtr, this, V), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_TrimmedCurve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_TrimmedCurve.java index bbec8152..fc1da0d5 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_TrimmedCurve.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Geom_TrimmedCurve.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Geom_TrimmedCurve extends Geom_BoundedCurve { - private long swigCPtr; - - public Geom_TrimmedCurve(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.Geom_TrimmedCurve_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(Geom_TrimmedCurve obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Geom_TrimmedCurve(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Geom_TrimmedCurve { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Geom_TrimmedCurve(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Geom_TrimmedCurve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Geom_TrimmedCurve(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColStd_HArray1OfBoolean.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColStd_HArray1OfBoolean.java index 2260dc7b..097da801 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColStd_HArray1OfBoolean.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColStd_HArray1OfBoolean.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Handle_TColStd_HArray1OfBoolean { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Handle_TColStd_HArray1OfBoolean(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Handle_TColStd_HArray1OfBoolean obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Handle_TColStd_HArray1OfBoolean(swigCPtr); - } - swigCPtr = 0; - } - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Handle_TColStd_HArray1OfBoolean { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Handle_TColStd_HArray1OfBoolean(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Handle_TColStd_HArray1OfBoolean obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Handle_TColStd_HArray1OfBoolean(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColgp_HArray1OfPnt.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColgp_HArray1OfPnt.java index 59157f9c..f2b5e753 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColgp_HArray1OfPnt.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Handle_TColgp_HArray1OfPnt.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Handle_TColgp_HArray1OfPnt { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Handle_TColgp_HArray1OfPnt(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Handle_TColgp_HArray1OfPnt obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Handle_TColgp_HArray1OfPnt(swigCPtr); - } - swigCPtr = 0; - } - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Handle_TColgp_HArray1OfPnt { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Handle_TColgp_HArray1OfPnt(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Handle_TColgp_HArray1OfPnt obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Handle_TColgp_HArray1OfPnt(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IFSelect_ReturnStatus.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IFSelect_ReturnStatus.java index f8d40b77..fb28b295 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IFSelect_ReturnStatus.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IFSelect_ReturnStatus.java @@ -1,55 +1,55 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public enum IFSelect_ReturnStatus { - VOID, - DONE, - ERROR, - FAIL, - STOP; - - public final int swigValue() { - return swigValue; - } - - public static IFSelect_ReturnStatus swigToEnum(int swigValue) { - IFSelect_ReturnStatus[] swigValues = IFSelect_ReturnStatus.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (IFSelect_ReturnStatus swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + IFSelect_ReturnStatus.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private IFSelect_ReturnStatus() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private IFSelect_ReturnStatus(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private IFSelect_ReturnStatus(IFSelect_ReturnStatus swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public enum IFSelect_ReturnStatus { + VOID, + DONE, + ERROR, + FAIL, + STOP; + + public final int swigValue() { + return swigValue; + } + + public static IFSelect_ReturnStatus swigToEnum(int swigValue) { + IFSelect_ReturnStatus[] swigValues = IFSelect_ReturnStatus.class.getEnumConstants(); + if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) + return swigValues[swigValue]; + for (IFSelect_ReturnStatus swigEnum : swigValues) + if (swigEnum.swigValue == swigValue) + return swigEnum; + throw new IllegalArgumentException("No enum " + IFSelect_ReturnStatus.class + " with value " + swigValue); + } + + @SuppressWarnings("unused") + private IFSelect_ReturnStatus() { + this.swigValue = SwigNext.next++; + } + + @SuppressWarnings("unused") + private IFSelect_ReturnStatus(int swigValue) { + this.swigValue = swigValue; + SwigNext.next = swigValue+1; + } + + @SuppressWarnings("unused") + private IFSelect_ReturnStatus(IFSelect_ReturnStatus swigEnum) { + this.swigValue = swigEnum.swigValue; + SwigNext.next = this.swigValue+1; + } + + private final int swigValue; + + private static class SwigNext { + private static int next = 0; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Controller.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Controller.java index 8bd8370f..56cf2b5a 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Controller.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Controller.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class IGESControl_Controller { - private long swigCPtr; - protected boolean swigCMemOwn; - - public IGESControl_Controller(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(IGESControl_Controller obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_IGESControl_Controller(swigCPtr); - } - swigCPtr = 0; - } - } - - public IGESControl_Controller() { - this(OccJavaJNI.new_IGESControl_Controller(), true); - } - - public void init() { - OccJavaJNI.IGESControl_Controller_init(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class IGESControl_Controller { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected IGESControl_Controller(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(IGESControl_Controller obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_IGESControl_Controller(swigCPtr); + } + swigCPtr = 0; + } + } + + public IGESControl_Controller() { + this(OccJavaJNI.new_IGESControl_Controller(), true); + } + + public void init() { + OccJavaJNI.IGESControl_Controller_init(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java index 5ffe1707..4127265c 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Reader.java @@ -1,55 +1,55 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class IGESControl_Reader extends XSControl_Reader { - private long swigCPtr; - - public IGESControl_Reader(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.IGESControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(IGESControl_Reader obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_IGESControl_Reader(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public IGESControl_Reader() { - this(OccJavaJNI.new_IGESControl_Reader(), true); - } - - public String getLabel(TopoDS_Shape theShape) { - return OccJavaJNI.IGESControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); - } - - public TopoDS_Shape getShape(String shapeName) { - long cPtr = OccJavaJNI.IGESControl_Reader_getShape(swigCPtr, this, shapeName); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public void dumpLabels() { - OccJavaJNI.IGESControl_Reader_dumpLabels(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class IGESControl_Reader extends XSControl_Reader { + private transient long swigCPtr; + + protected IGESControl_Reader(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.IGESControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(IGESControl_Reader obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_IGESControl_Reader(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public IGESControl_Reader() { + this(OccJavaJNI.new_IGESControl_Reader(), true); + } + + public String getLabel(TopoDS_Shape theShape) { + return OccJavaJNI.IGESControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); + } + + public TopoDS_Shape getShape(String shapeName) { + long cPtr = OccJavaJNI.IGESControl_Reader_getShape(swigCPtr, this, shapeName); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public void dumpLabels() { + OccJavaJNI.IGESControl_Reader_dumpLabels(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Writer.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Writer.java index 4c83dbfc..ffc11591 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Writer.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/IGESControl_Writer.java @@ -1,62 +1,62 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class IGESControl_Writer { - private long swigCPtr; - protected boolean swigCMemOwn; - - public IGESControl_Writer(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(IGESControl_Writer obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_IGESControl_Writer(swigCPtr); - } - swigCPtr = 0; - } - } - - public IGESControl_Writer() { - this(OccJavaJNI.new_IGESControl_Writer__SWIG_0(), true); - } - - public IGESControl_Writer(String unit, int modecr) { - this(OccJavaJNI.new_IGESControl_Writer__SWIG_1(unit, modecr), true); - } - - public IGESControl_Writer(String unit) { - this(OccJavaJNI.new_IGESControl_Writer__SWIG_2(unit), true); - } - - public boolean write(String filename) { - return OccJavaJNI.IGESControl_Writer_write(swigCPtr, this, filename); -} - - public boolean addShape(TopoDS_Shape sh) { - return OccJavaJNI.IGESControl_Writer_addShape(swigCPtr, this, TopoDS_Shape.getCPtr(sh), sh); -} - - public void computeModel() { - OccJavaJNI.IGESControl_Writer_computeModel(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class IGESControl_Writer { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected IGESControl_Writer(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(IGESControl_Writer obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_IGESControl_Writer(swigCPtr); + } + swigCPtr = 0; + } + } + + public IGESControl_Writer() { + this(OccJavaJNI.new_IGESControl_Writer__SWIG_0(), true); + } + + public IGESControl_Writer(String unit, int modecr) { + this(OccJavaJNI.new_IGESControl_Writer__SWIG_1(unit, modecr), true); + } + + public IGESControl_Writer(String unit) { + this(OccJavaJNI.new_IGESControl_Writer__SWIG_2(unit), true); + } + + public boolean write(String filename) { + return OccJavaJNI.IGESControl_Writer_write(swigCPtr, this, filename); +} + + public boolean addShape(TopoDS_Shape sh) { + return OccJavaJNI.IGESControl_Writer_addShape(swigCPtr, this, TopoDS_Shape.getCPtr(sh), sh); +} + + public void computeModel() { + OccJavaJNI.IGESControl_Writer_computeModel(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJava.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJava.java index 38ae609b..7e5dbc87 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJava.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJava.java @@ -1,12 +1,12 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class OccJava { -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class OccJava { +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJavaJNI.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJavaJNI.java index b9a18d10..9dbc4272 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJavaJNI.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/OccJavaJNI.java @@ -1,734 +1,721 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class OccJavaJNI { - - static - { - System.loadLibrary("TKERNEL"); - System.loadLibrary("TKMATH"); - System.loadLibrary("TKG2D"); - System.loadLibrary("TKG3D"); - System.loadLibrary("TKGEOMBASE"); - System.loadLibrary("TKBREP"); - System.loadLibrary("TKGEOMALGO"); - System.loadLibrary("TKTOPALGO"); - System.loadLibrary("TKMESH"); - - System.loadLibrary("TKBO"); - System.loadLibrary("TKSHHEALING"); - - System.loadLibrary("TKPRIM"); - System.loadLibrary("TKBOOL"); - System.loadLibrary("TKFILLET"); - System.loadLibrary("TKOFFSET"); - - System.loadLibrary("TKXSBASE"); - System.loadLibrary("TKIGES"); - System.loadLibrary("TKSTEPBASE"); - System.loadLibrary("TKSTEPATTR"); - System.loadLibrary("TKSTEP209"); - System.loadLibrary("TKSTEP"); - - System.loadLibrary("OccJava"); - String mmg_opt= System.getenv("MMGT_OPT"); - if(mmg_opt != null && !"0".equals(mmg_opt)) - throw new RuntimeException("The MMGT_OPT environement variable must be set to 0 before using occjava."); - } - - public final static native long new_GP_Trsf(); - public final static native void GP_Trsf_setRotation(long jarg1, GP_Trsf jarg1_, double[] jarg2, double jarg3); - public final static native void GP_Trsf_setTranslation(long jarg1, GP_Trsf jarg1_, double[] jarg2); - public final static native void GP_Trsf_setValues(long jarg1, GP_Trsf jarg1_, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, double jarg9, double jarg10, double jarg11, double jarg12, double jarg13, double jarg14, double jarg15); - public final static native void GP_Trsf_getValues(long jarg1, GP_Trsf jarg1_, double[] jarg2); - public final static native void delete_GP_Trsf(long jarg1); - public final static native long new_GP_Circ(double[] jarg1, double jarg2); - public final static native void delete_GP_Circ(long jarg1); - public final static native long new_GP_Parab__SWIG_0(double[] jarg1, double jarg2); - public final static native long new_GP_Parab__SWIG_1(double[] jarg1, double[] jarg2); - public final static native void delete_GP_Parab(long jarg1); - public final static native long new_GP_Elips(double[] jarg1, double jarg2, double jarg3); - public final static native void delete_GP_Elips(long jarg1); - public final static native long new_GP_Lin(double[] jarg1); - public final static native void delete_GP_Lin(long jarg1); - public final static native void delete_Handle_TColStd_HArray1OfBoolean(long jarg1); - public final static native void delete_Handle_TColgp_HArray1OfPnt(long jarg1); - public final static native int TopoDS_Shape_shapeType(long jarg1, TopoDS_Shape jarg1_); - public final static native boolean TopoDS_Shape_nativeIsSame(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native int TopoDS_Shape_orientation(long jarg1, TopoDS_Shape jarg1_); - public final static native void TopoDS_Shape_reverse(long jarg1, TopoDS_Shape jarg1_); - public final static native long TopoDS_Shape_reversed(long jarg1, TopoDS_Shape jarg1_); - public final static native int TopoDS_Shape_hashCode(long jarg1, TopoDS_Shape jarg1_, int jarg2); - public final static native boolean TopoDS_Shape_free__SWIG_0(long jarg1, TopoDS_Shape jarg1_); - public final static native void TopoDS_Shape_free__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); - public final static native long TopoDS_Shape_getTShape(long jarg1, TopoDS_Shape jarg1_); - public final static native long new_TopoDS_Shape(); - public final static native void delete_TopoDS_Shape(long jarg1); - public final static native long new_TopoDS_Compound(); - public final static native void delete_TopoDS_Compound(long jarg1); - public final static native long new_TopoDS_CompSolid(); - public final static native void delete_TopoDS_CompSolid(long jarg1); - public final static native long new_TopoDS_Solid(); - public final static native void delete_TopoDS_Solid(long jarg1); - public final static native long new_TopoDS_Shell(); - public final static native void delete_TopoDS_Shell(long jarg1); - public final static native long new_TopoDS_Face(); - public final static native void delete_TopoDS_Face(long jarg1); - public final static native long new_TopoDS_Wire(); - public final static native void delete_TopoDS_Wire(long jarg1); - public final static native long new_TopoDS_Edge(); - public final static native void delete_TopoDS_Edge(long jarg1); - public final static native long new_TopoDS_Vertex(); - public final static native void delete_TopoDS_Vertex(long jarg1); - public final static native long new_TopoDS_Iterator__SWIG_0(); - public final static native long new_TopoDS_Iterator__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2, boolean jarg3); - public final static native long new_TopoDS_Iterator__SWIG_2(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); - public final static native long new_TopoDS_Iterator__SWIG_3(long jarg1, TopoDS_Shape jarg1_); - public final static native void TopoDS_Iterator_initialize__SWIG_0(long jarg1, TopoDS_Iterator jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3, boolean jarg4); - public final static native void TopoDS_Iterator_initialize__SWIG_1(long jarg1, TopoDS_Iterator jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); - public final static native void TopoDS_Iterator_initialize__SWIG_2(long jarg1, TopoDS_Iterator jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native boolean TopoDS_Iterator_more(long jarg1, TopoDS_Iterator jarg1_); - public final static native void TopoDS_Iterator_next(long jarg1, TopoDS_Iterator jarg1_); - public final static native long TopoDS_Iterator_value(long jarg1, TopoDS_Iterator jarg1_); - public final static native void delete_TopoDS_Iterator(long jarg1); - public final static native void TopoDS_Builder_makeWire(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Wire jarg2_); - public final static native void TopoDS_Builder_makeCompound(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Compound jarg2_); - public final static native void TopoDS_Builder_add(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Shape jarg2_, long jarg3, TopoDS_Shape jarg3_); - public final static native void TopoDS_Builder_remove(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Shape jarg2_, long jarg3, TopoDS_Shape jarg3_); - public final static native void delete_TopoDS_Builder(long jarg1); - public final static native double[] BRep_Tool_pnt(long jarg1, TopoDS_Vertex jarg1_); - public final static native double[] BRep_Tool_parameters(long jarg1, TopoDS_Vertex jarg1_, long jarg2, TopoDS_Face jarg2_); - public final static native double BRep_Tool_parameter(long jarg1, TopoDS_Vertex jarg1_, long jarg2, TopoDS_Edge jarg2_); - public final static native boolean BRep_Tool_degenerated(long jarg1, TopoDS_Edge jarg1_); - public final static native boolean BRep_Tool_hasContinuity(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Face jarg2_, long jarg3, TopoDS_Face jarg3_); - public final static native int BRep_Tool_continuity(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Face jarg2_, long jarg3, TopoDS_Face jarg3_); - public final static native double BRep_Tool_tolerance__SWIG_0(long jarg1, TopoDS_Face jarg1_); - public final static native double BRep_Tool_tolerance__SWIG_1(long jarg1, TopoDS_Edge jarg1_); - public final static native double BRep_Tool_tolerance__SWIG_2(long jarg1, TopoDS_Vertex jarg1_); - public final static native long BRep_Tool_triangulation(long jarg1, TopoDS_Face jarg1_, long jarg2, TopLoc_Location jarg2_); - public final static native void BRep_Tool_range(long jarg1, TopoDS_Edge jarg1_, double[] jarg2); - public final static native long BRep_Tool_curve(long jarg1, TopoDS_Edge jarg1_, double[] jarg2, double[] jarg3); - public final static native long BRep_Tool_surface(long jarg1, TopoDS_Face jarg1_); - public final static native long BRep_Tool_curveOnSurface(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Face jarg2_, double[] jarg3, double[] jarg4); - public final static native long new_BRep_Tool(); - public final static native void delete_BRep_Tool(long jarg1); - public final static native long new_BRep_Builder(); - public final static native void BRep_Builder_updateVertex__SWIG_0(long jarg1, BRep_Builder jarg1_, long jarg2, TopoDS_Vertex jarg2_, double jarg3, double jarg4, long jarg5, TopoDS_Face jarg5_, double jarg6); - public final static native void BRep_Builder_updateVertex__SWIG_1(long jarg1, BRep_Builder jarg1_, long jarg2, TopoDS_Vertex jarg2_, double jarg3); - public final static native void delete_BRep_Builder(long jarg1); - public final static native long new_GeomLProp_SLProps(int jarg1, double jarg2); - public final static native void GeomLProp_SLProps_setParameters(long jarg1, GeomLProp_SLProps jarg1_, double jarg2, double jarg3); - public final static native double[] GeomLProp_SLProps_value(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double[] GeomLProp_SLProps_d1U(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double[] GeomLProp_SLProps_d1V(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double[] GeomLProp_SLProps_d2U(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double[] GeomLProp_SLProps_d2V(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double[] GeomLProp_SLProps_dUV(long jarg1, GeomLProp_SLProps jarg1_); - public final static native boolean GeomLProp_SLProps_isTangentUDefined(long jarg1, GeomLProp_SLProps jarg1_); - public final static native void GeomLProp_SLProps_tangentU(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2); - public final static native boolean GeomLProp_SLProps_isTangentVDefined(long jarg1, GeomLProp_SLProps jarg1_); - public final static native void GeomLProp_SLProps_tangentV(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2); - public final static native boolean GeomLProp_SLProps_isNormalDefined(long jarg1, GeomLProp_SLProps jarg1_); - public final static native boolean GeomLProp_SLProps_isCurvatureDefined(long jarg1, GeomLProp_SLProps jarg1_); - public final static native boolean GeomLProp_SLProps_isUmbilic(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double GeomLProp_SLProps_meanCurvature(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double GeomLProp_SLProps_gaussianCurvature(long jarg1, GeomLProp_SLProps jarg1_); - public final static native void GeomLProp_SLProps_setSurface(long jarg1, GeomLProp_SLProps jarg1_, long jarg2, Geom_Surface jarg2_); - public final static native void GeomLProp_SLProps_normal(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2); - public final static native void GeomLProp_SLProps_normalArray(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2, double[] jarg3, int jarg4); - public final static native double GeomLProp_SLProps_minCurvature(long jarg1, GeomLProp_SLProps jarg1_); - public final static native double GeomLProp_SLProps_maxCurvature(long jarg1, GeomLProp_SLProps jarg1_); - public final static native void GeomLProp_SLProps_curvatureDirection(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2, double[] jarg3); - public final static native void delete_GeomLProp_SLProps(long jarg1); - public final static native boolean BRepTools_read__SWIG_0(long jarg1, TopoDS_Shape jarg1_, String jarg2, long jarg3, BRep_Builder jarg3_); - public final static native boolean BRepTools_write__SWIG_0(long jarg1, TopoDS_Shape jarg1_, String jarg2); - public final static native void BRepTools_write__SWIG_1(long jarg1, TopoDS_Shape jarg1_, java.nio.channels.WritableByteChannel jarg2); - public final static native void BRepTools_clean(long jarg1, TopoDS_Shape jarg1_); - public final static native boolean BRepTools_read__SWIG_1(long jarg1, TopoDS_Shape jarg1_, java.nio.channels.ReadableByteChannel jarg2, long jarg3, BRep_Builder jarg3_); - public final static native void delete_BRepTools(long jarg1); - public final static native long new_BRepTools_WireExplorer__SWIG_0(); - public final static native long new_BRepTools_WireExplorer__SWIG_1(long jarg1, TopoDS_Wire jarg1_); - public final static native long new_BRepTools_WireExplorer__SWIG_2(long jarg1, TopoDS_Wire jarg1_, long jarg2, TopoDS_Face jarg2_); - public final static native void BRepTools_WireExplorer_init__SWIG_0(long jarg1, BRepTools_WireExplorer jarg1_, long jarg2, TopoDS_Wire jarg2_); - public final static native void BRepTools_WireExplorer_init__SWIG_1(long jarg1, BRepTools_WireExplorer jarg1_, long jarg2, TopoDS_Wire jarg2_, long jarg3, TopoDS_Face jarg3_); - public final static native boolean BRepTools_WireExplorer_more(long jarg1, BRepTools_WireExplorer jarg1_); - public final static native void BRepTools_WireExplorer_next(long jarg1, BRepTools_WireExplorer jarg1_); - public final static native long BRepTools_WireExplorer_current(long jarg1, BRepTools_WireExplorer jarg1_); - public final static native int BRepTools_WireExplorer_orientation(long jarg1, BRepTools_WireExplorer jarg1_); - public final static native long BRepTools_WireExplorer_currentVertex(long jarg1, BRepTools_WireExplorer jarg1_); - public final static native void BRepTools_WireExplorer_clear(long jarg1, BRepTools_WireExplorer jarg1_); - public final static native void delete_BRepTools_WireExplorer(long jarg1); - public final static native long new_BRepTools_Quilt(); - public final static native void BRepTools_Quilt_bind__SWIG_0(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Edge jarg2_, long jarg3, TopoDS_Edge jarg3_); - public final static native void BRepTools_Quilt_bind__SWIG_1(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native void BRepTools_Quilt_add(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native boolean BRepTools_Quilt_isCopied(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long BRepTools_Quilt_copy(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long BRepTools_Quilt_shells(long jarg1, BRepTools_Quilt jarg1_); - public final static native void delete_BRepTools_Quilt(long jarg1); - public final static native long BRepBuilderAPI_MakeShape_shape(long jarg1, BRepBuilderAPI_MakeShape jarg1_); - public final static native void delete_BRepBuilderAPI_MakeShape(long jarg1); - public final static native long BRepBuilderAPI_ModifyShape_modifiedShape(long jarg1, BRepBuilderAPI_ModifyShape jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepBuilderAPI_ModifyShape(long jarg1); - public final static native long new_BRepBuilderAPI_Transform__SWIG_0(long jarg1, GP_Trsf jarg1_); - public final static native long new_BRepBuilderAPI_Transform__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GP_Trsf jarg2_, boolean jarg3); - public final static native long new_BRepBuilderAPI_Transform__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long jarg2, GP_Trsf jarg2_); - public final static native void BRepBuilderAPI_Transform_perform__SWIG_0(long jarg1, BRepBuilderAPI_Transform jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); - public final static native void BRepBuilderAPI_Transform_perform__SWIG_1(long jarg1, BRepBuilderAPI_Transform jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepBuilderAPI_Transform(long jarg1); - public final static native long new_BRepBuilderAPI_MakeVertex(double[] jarg1); - public final static native void delete_BRepBuilderAPI_MakeVertex(long jarg1); - public final static native long new_BRepBuilderAPI_MakeWire__SWIG_0(); - public final static native long new_BRepBuilderAPI_MakeWire__SWIG_1(long jarg1, TopoDS_Edge jarg1_); - public final static native long new_BRepBuilderAPI_MakeWire__SWIG_2(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Edge jarg2_); - public final static native long new_BRepBuilderAPI_MakeWire__SWIG_3(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Edge jarg2_, long jarg3, TopoDS_Edge jarg3_); - public final static native long new_BRepBuilderAPI_MakeWire__SWIG_4(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Edge jarg2_, long jarg3, TopoDS_Edge jarg3_, long jarg4, TopoDS_Edge jarg4_); - public final static native long new_BRepBuilderAPI_MakeWire__SWIG_5(long jarg1, TopoDS_Wire jarg1_); - public final static native long new_BRepBuilderAPI_MakeWire__SWIG_6(long jarg1, TopoDS_Wire jarg1_, long jarg2, TopoDS_Edge jarg2_); - public final static native void BRepBuilderAPI_MakeWire_add__SWIG_0(long jarg1, BRepBuilderAPI_MakeWire jarg1_, long jarg2, TopoDS_Edge jarg2_); - public final static native void BRepBuilderAPI_MakeWire_add__SWIG_1(long jarg1, BRepBuilderAPI_MakeWire jarg1_, long jarg2, TopoDS_Wire jarg2_); - public final static native void BRepBuilderAPI_MakeWire_add__SWIG_2(long jarg1, BRepBuilderAPI_MakeWire jarg1_, long[] jarg2); - public final static native boolean BRepBuilderAPI_MakeWire_isDone(long jarg1, BRepBuilderAPI_MakeWire jarg1_); - public final static native void delete_BRepBuilderAPI_MakeWire(long jarg1); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_0(); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_1(long jarg1, Geom_Curve jarg1_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_2(long jarg1, TopoDS_Vertex jarg1_, long jarg2, TopoDS_Vertex jarg2_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_3(double[] jarg1, double[] jarg2); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_4(long jarg1, GP_Circ jarg1_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_5(long jarg1, GP_Circ jarg1_, double jarg2, double jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_6(long jarg1, GP_Circ jarg1_, double[] jarg2, double[] jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_7(long jarg1, GP_Circ jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_8(long jarg1, GP_Parab jarg1_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_9(long jarg1, GP_Parab jarg1_, double jarg2, double jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_10(long jarg1, GP_Parab jarg1_, double[] jarg2, double[] jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_11(long jarg1, GP_Parab jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native boolean BRepBuilderAPI_MakeEdge_isDone(long jarg1, BRepBuilderAPI_MakeEdge jarg1_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_12(long jarg1, GP_Lin jarg1_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_13(long jarg1, GP_Lin jarg1_, double jarg2, double jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_14(long jarg1, GP_Lin jarg1_, double[] jarg2, double[] jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_15(long jarg1, GP_Lin jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_16(long jarg1, GP_Elips jarg1_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_17(long jarg1, GP_Elips jarg1_, double jarg2, double jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_18(long jarg1, GP_Elips jarg1_, double[] jarg2, double[] jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_19(long jarg1, GP_Elips jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_20(long jarg1); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_21(long jarg1, double jarg2, double jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_22(long jarg1, double[] jarg2, double[] jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_23(long jarg1, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_24(long jarg1, Geom_Curve jarg1_, double jarg2, double jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_25(long jarg1, Geom_Curve jarg1_, double[] jarg2, double[] jarg3); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_26(long jarg1, Geom_Curve jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_27(long jarg1, Geom_Curve jarg1_, double[] jarg2, double[] jarg3, double jarg4, double jarg5); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_28(long jarg1, Geom_Curve jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_, double jarg4, double jarg5); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_29(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_30(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, double jarg3, double jarg4); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_31(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, double[] jarg3, double[] jarg4); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_32(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, long jarg3, TopoDS_Vertex jarg3_, long jarg4, TopoDS_Vertex jarg4_); - public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_33(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, double[] jarg3, double[] jarg4, double jarg5, double jarg6); - public final static native void delete_BRepBuilderAPI_MakeEdge(long jarg1); - public final static native long new_BRepBuilderAPI_MakeFace__SWIG_0(long jarg1, TopoDS_Wire jarg1_, boolean jarg2); - public final static native long new_BRepBuilderAPI_MakeFace__SWIG_1(long jarg1, TopoDS_Wire jarg1_); - public final static native long new_BRepBuilderAPI_MakeFace__SWIG_2(long jarg1, TopoDS_Face jarg1_, long jarg2, TopoDS_Wire jarg2_); - public final static native boolean BRepBuilderAPI_MakeFace_isDone(long jarg1, BRepBuilderAPI_MakeFace jarg1_); - public final static native long BRepBuilderAPI_MakeFace_error(long jarg1, BRepBuilderAPI_MakeFace jarg1_); - public final static native void delete_BRepBuilderAPI_MakeFace(long jarg1); - public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_0(); - public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_1(long jarg1, TopoDS_CompSolid jarg1_); - public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_2(long jarg1, TopoDS_Shell jarg1_); - public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_3(long jarg1, TopoDS_Shell jarg1_, long jarg2, TopoDS_Shell jarg2_); - public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_4(long jarg1, TopoDS_Shell jarg1_, long jarg2, TopoDS_Shell jarg2_, long jarg3, TopoDS_Shell jarg3_); - public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_5(long jarg1, TopoDS_Solid jarg1_); - public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_6(long jarg1, TopoDS_Solid jarg1_, long jarg2, TopoDS_Shell jarg2_); - public final static native void BRepBuilderAPI_MakeSolid_add(long jarg1, BRepBuilderAPI_MakeSolid jarg1_, long jarg2, TopoDS_Shell jarg2_); - public final static native boolean BRepBuilderAPI_MakeSolid_isDone(long jarg1, BRepBuilderAPI_MakeSolid jarg1_); - public final static native boolean BRepBuilderAPI_MakeSolid_isDeleted(long jarg1, BRepBuilderAPI_MakeSolid jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepBuilderAPI_MakeSolid(long jarg1); - public final static native long new_BRepBuilderAPI_Sewing__SWIG_0(double jarg1, boolean jarg2, boolean jarg3, boolean jarg4); - public final static native long new_BRepBuilderAPI_Sewing__SWIG_1(double jarg1, boolean jarg2, boolean jarg3); - public final static native long new_BRepBuilderAPI_Sewing__SWIG_2(double jarg1, boolean jarg2); - public final static native long new_BRepBuilderAPI_Sewing__SWIG_3(double jarg1); - public final static native long new_BRepBuilderAPI_Sewing__SWIG_4(); - public final static native void BRepBuilderAPI_Sewing_init__SWIG_0(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2, boolean jarg3, boolean jarg4, boolean jarg5); - public final static native void BRepBuilderAPI_Sewing_init__SWIG_1(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2, boolean jarg3, boolean jarg4); - public final static native void BRepBuilderAPI_Sewing_init__SWIG_2(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2, boolean jarg3); - public final static native void BRepBuilderAPI_Sewing_init__SWIG_3(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2); - public final static native void BRepBuilderAPI_Sewing_load(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void BRepBuilderAPI_Sewing_add(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void BRepBuilderAPI_Sewing_perform(long jarg1, BRepBuilderAPI_Sewing jarg1_); - public final static native long BRepBuilderAPI_Sewing_sewedShape(long jarg1, BRepBuilderAPI_Sewing jarg1_); - public final static native int BRepBuilderAPI_Sewing_nbFreeEdges(long jarg1, BRepBuilderAPI_Sewing jarg1_); - public final static native long BRepBuilderAPI_Sewing_freeEdge(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); - public final static native int BRepBuilderAPI_Sewing_nbMultipleEdges(long jarg1, BRepBuilderAPI_Sewing jarg1_); - public final static native long BRepBuilderAPI_Sewing_multipleEdge(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); - public final static native int BRepBuilderAPI_Sewing_nbDegeneratedShapes(long jarg1, BRepBuilderAPI_Sewing jarg1_); - public final static native long BRepBuilderAPI_Sewing_degeneratedShape(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); - public final static native int BRepBuilderAPI_Sewing_nbDeletedFaces(long jarg1, BRepBuilderAPI_Sewing jarg1_); - public final static native long BRepBuilderAPI_Sewing_deletedFace(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); - public final static native boolean BRepBuilderAPI_Sewing_isDegenerated(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native boolean BRepBuilderAPI_Sewing_isModified(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long BRepBuilderAPI_Sewing_modified(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void BRepBuilderAPI_Sewing_dump(long jarg1, BRepBuilderAPI_Sewing jarg1_); - public final static native boolean BRepBuilderAPI_Sewing_isModifiedSubShape(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long BRepBuilderAPI_Sewing_modifiedSubShape(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepBuilderAPI_Sewing(long jarg1); - public final static native long new_BRepBuilderAPI_NurbsConvert__SWIG_0(); - public final static native long new_BRepBuilderAPI_NurbsConvert__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); - public final static native long new_BRepBuilderAPI_NurbsConvert__SWIG_2(long jarg1, TopoDS_Shape jarg1_); - public final static native void BRepBuilderAPI_NurbsConvert_perform__SWIG_0(long jarg1, BRepBuilderAPI_NurbsConvert jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); - public final static native void BRepBuilderAPI_NurbsConvert_perform__SWIG_1(long jarg1, BRepBuilderAPI_NurbsConvert jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepBuilderAPI_NurbsConvert(long jarg1); - public final static native long new_BRepBuilderAPI_MakeShell__SWIG_0(); - public final static native long new_BRepBuilderAPI_MakeShell__SWIG_1(long jarg1, Geom_Surface jarg1_, boolean jarg2); - public final static native long new_BRepBuilderAPI_MakeShell__SWIG_2(long jarg1, Geom_Surface jarg1_); - public final static native long new_BRepBuilderAPI_MakeShell__SWIG_3(long jarg1, Geom_Surface jarg1_, double jarg2, double jarg3, double jarg4, double jarg5, boolean jarg6); - public final static native long new_BRepBuilderAPI_MakeShell__SWIG_4(long jarg1, Geom_Surface jarg1_, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native void BRepBuilderAPI_MakeShell_init__SWIG_0(long jarg1, BRepBuilderAPI_MakeShell jarg1_, long jarg2, Geom_Surface jarg2_, double jarg3, double jarg4, double jarg5, double jarg6, boolean jarg7); - public final static native void BRepBuilderAPI_MakeShell_init__SWIG_1(long jarg1, BRepBuilderAPI_MakeShell jarg1_, long jarg2, Geom_Surface jarg2_, double jarg3, double jarg4, double jarg5, double jarg6); - public final static native boolean BRepBuilderAPI_MakeShell_isDone(long jarg1, BRepBuilderAPI_MakeShell jarg1_); - public final static native long BRepBuilderAPI_MakeShell_error(long jarg1, BRepBuilderAPI_MakeShell jarg1_); - public final static native long BRepBuilderAPI_MakeShell_Shell(long jarg1, BRepBuilderAPI_MakeShell jarg1_); - public final static native void delete_BRepBuilderAPI_MakeShell(long jarg1); - public final static native long new_BRepOffsetAPI_NormalProjection__SWIG_0(); - public final static native long new_BRepOffsetAPI_NormalProjection__SWIG_1(long jarg1, TopoDS_Shape jarg1_); - public final static native void BRepOffsetAPI_NormalProjection_init(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void BRepOffsetAPI_NormalProjection_add(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void BRepOffsetAPI_NormalProjection_setParams(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, double jarg2, double jarg3, int jarg4, int jarg5, int jarg6); - public final static native void BRepOffsetAPI_NormalProjection_setMaxDistance(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, double jarg2); - public final static native void BRepOffsetAPI_NormalProjection_setLimit__SWIG_0(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, boolean jarg2); - public final static native void BRepOffsetAPI_NormalProjection_setLimit__SWIG_1(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); - public final static native void BRepOffsetAPI_NormalProjection_compute3d__SWIG_0(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, boolean jarg2); - public final static native void BRepOffsetAPI_NormalProjection_compute3d__SWIG_1(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); - public final static native void BRepOffsetAPI_NormalProjection_build(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); - public final static native boolean BRepOffsetAPI_NormalProjection_isDone(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); - public final static native long BRepOffsetAPI_NormalProjection_projection(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); - public final static native long BRepOffsetAPI_NormalProjection_couple(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Edge jarg2_); - public final static native long[] BRepOffsetAPI_NormalProjection_generated(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long BRepOffsetAPI_NormalProjection_ancestor(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Edge jarg2_); - public final static native boolean BRepOffsetAPI_NormalProjection_buildWire(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2); - public final static native void delete_BRepOffsetAPI_NormalProjection(long jarg1); - public final static native long new_BRepOffsetAPI_ThruSections__SWIG_0(boolean jarg1, boolean jarg2, double jarg3); - public final static native long new_BRepOffsetAPI_ThruSections__SWIG_1(boolean jarg1, boolean jarg2); - public final static native long new_BRepOffsetAPI_ThruSections__SWIG_2(boolean jarg1); - public final static native long new_BRepOffsetAPI_ThruSections__SWIG_3(); - public final static native void BRepOffsetAPI_ThruSections_init__SWIG_0(long jarg1, BRepOffsetAPI_ThruSections jarg1_, boolean jarg2, boolean jarg3, double jarg4); - public final static native void BRepOffsetAPI_ThruSections_init__SWIG_1(long jarg1, BRepOffsetAPI_ThruSections jarg1_, boolean jarg2, boolean jarg3); - public final static native void BRepOffsetAPI_ThruSections_init__SWIG_2(long jarg1, BRepOffsetAPI_ThruSections jarg1_, boolean jarg2); - public final static native void BRepOffsetAPI_ThruSections_init__SWIG_3(long jarg1, BRepOffsetAPI_ThruSections jarg1_); - public final static native void BRepOffsetAPI_ThruSections_addWire(long jarg1, BRepOffsetAPI_ThruSections jarg1_, long jarg2, TopoDS_Wire jarg2_); - public final static native void BRepOffsetAPI_ThruSections_addVertex(long jarg1, BRepOffsetAPI_ThruSections jarg1_, long jarg2, TopoDS_Vertex jarg2_); - public final static native void BRepOffsetAPI_ThruSections_build(long jarg1, BRepOffsetAPI_ThruSections jarg1_); - public final static native void delete_BRepOffsetAPI_ThruSections(long jarg1); - public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5, boolean jarg6, boolean jarg7, long jarg8); - public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5, boolean jarg6, boolean jarg7); - public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5, boolean jarg6); - public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_3(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5); - public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_4(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4); - public final static native void delete_BRepOffsetAPI_MakeThickSolid(long jarg1); - public final static native long new_BRepPrimAPI_MakeBox(double[] jarg1, double[] jarg2); - public final static native void delete_BRepPrimAPI_MakeBox(long jarg1); - public final static native long new_BRepPrimAPI_MakeCone(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native void delete_BRepPrimAPI_MakeCone(long jarg1); - public final static native long new_BRepPrimAPI_MakeCylinder(double[] jarg1, double jarg2, double jarg3, double jarg4); - public final static native void delete_BRepPrimAPI_MakeCylinder(long jarg1); - public final static native long new_BRepPrimAPI_MakeTorus__SWIG_0(double[] jarg1, double jarg2, double jarg3); - public final static native long new_BRepPrimAPI_MakeTorus__SWIG_1(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - public final static native void delete_BRepPrimAPI_MakeTorus(long jarg1); - public final static native long new_BRepPrimAPI_MakeSphere__SWIG_0(double[] jarg1, double jarg2); - public final static native long new_BRepPrimAPI_MakeSphere__SWIG_1(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native void delete_BRepPrimAPI_MakeSphere(long jarg1); - public final static native void delete_BRepPrimAPI_MakeSweep(long jarg1); - public final static native long new_BRepPrimAPI_MakePrism__SWIG_0(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, boolean jarg3, boolean jarg4); - public final static native long new_BRepPrimAPI_MakePrism__SWIG_1(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, boolean jarg3); - public final static native long new_BRepPrimAPI_MakePrism__SWIG_2(long jarg1, TopoDS_Shape jarg1_, double[] jarg2); - public final static native void delete_BRepPrimAPI_MakePrism(long jarg1); - public final static native long new_BRepPrimAPI_MakeRevol__SWIG_0(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, double jarg3, boolean jarg4); - public final static native long new_BRepPrimAPI_MakeRevol__SWIG_1(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, double jarg3); - public final static native long new_BRepPrimAPI_MakeRevol__SWIG_2(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, boolean jarg3); - public final static native long new_BRepPrimAPI_MakeRevol__SWIG_3(long jarg1, TopoDS_Shape jarg1_, double[] jarg2); - public final static native void delete_BRepPrimAPI_MakeRevol(long jarg1); - public final static native long new_BRepOffsetAPI_MakePipe(long jarg1, TopoDS_Wire jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepOffsetAPI_MakePipe(long jarg1); - public final static native long new_BRepPrimAPI_MakeWedge__SWIG_0(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8); - public final static native long new_BRepPrimAPI_MakeWedge__SWIG_1(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - public final static native void delete_BRepPrimAPI_MakeWedge(long jarg1); - public final static native long[] BRepAlgoAPI_BooleanOperation_modified(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native boolean BRepAlgoAPI_BooleanOperation_isDeleted(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long[] BRepAlgoAPI_BooleanOperation_modified2(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long[] BRepAlgoAPI_BooleanOperation_generated(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native boolean BRepAlgoAPI_BooleanOperation_hasModified(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_); - public final static native boolean BRepAlgoAPI_BooleanOperation_hasGenerated(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_); - public final static native boolean BRepAlgoAPI_BooleanOperation_hasDeleted(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_); - public final static native void delete_BRepAlgoAPI_BooleanOperation(long jarg1); - public final static native long new_BRepAlgoAPI_Fuse(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepAlgoAPI_Fuse(long jarg1); - public final static native long new_BRepAlgoAPI_Common(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepAlgoAPI_Common(long jarg1); - public final static native long new_BRepAlgoAPI_Cut(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepAlgoAPI_Cut(long jarg1); - public final static native long new_BRepAlgoAPI_Section(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_BRepAlgoAPI_Section(long jarg1); - public final static native long new_Poly_Triangulation(int jarg1, int jarg2, boolean jarg3); - public final static native double Poly_Triangulation_deflection__SWIG_0(long jarg1, Poly_Triangulation jarg1_); - public final static native void Poly_Triangulation_deflection__SWIG_1(long jarg1, Poly_Triangulation jarg1_, double jarg2); - public final static native void Poly_Triangulation_removeUVNodes(long jarg1, Poly_Triangulation jarg1_); - public final static native int Poly_Triangulation_nbNodes(long jarg1, Poly_Triangulation jarg1_); - public final static native int Poly_Triangulation_nbTriangles(long jarg1, Poly_Triangulation jarg1_); - public final static native boolean Poly_Triangulation_hasUVNodes(long jarg1, Poly_Triangulation jarg1_); - public final static native int[] Poly_Triangulation_triangles(long jarg1, Poly_Triangulation jarg1_); - public final static native double[] Poly_Triangulation_nodes(long jarg1, Poly_Triangulation jarg1_); - public final static native double[] Poly_Triangulation_uvNodes(long jarg1, Poly_Triangulation jarg1_); - public final static native void delete_Poly_Triangulation(long jarg1); - public final static native void delete_Geom_Geometry(long jarg1); - public final static native double Geom_Curve_firstParameter(long jarg1, Geom_Curve jarg1_); - public final static native double Geom_Curve_lastParameter(long jarg1, Geom_Curve jarg1_); - public final static native boolean Geom_Curve_isClosed(long jarg1, Geom_Curve jarg1_); - public final static native boolean Geom_Curve_isPeriodic(long jarg1, Geom_Curve jarg1_); - public final static native double Geom_Curve_period(long jarg1, Geom_Curve jarg1_); - public final static native void delete_Geom_Curve(long jarg1); - public final static native double[] Geom_Surface_value(long jarg1, Geom_Surface jarg1_, double jarg2, double jarg3); - public final static native void Geom_Surface_bounds__SWIG_0(long jarg1, Geom_Surface jarg1_, double[] jarg2); - public final static native void Geom_Surface_bounds__SWIG_1(long jarg1, Geom_Surface jarg1_, double[] jarg2, double[] jarg3, double[] jarg4, double[] jarg5); - public final static native boolean Geom_Surface_isUClosed(long jarg1, Geom_Surface jarg1_); - public final static native boolean Geom_Surface_isVClosed(long jarg1, Geom_Surface jarg1_); - public final static native long Geom_Surface_uIso(long jarg1, Geom_Surface jarg1_, double jarg2); - public final static native long Geom_Surface_vIso(long jarg1, Geom_Surface jarg1_, double jarg2); - public final static native void delete_Geom_Surface(long jarg1); - public final static native void delete_Geom2d_Geometry(long jarg1); - public final static native void delete_Geom2d_Curve(long jarg1); - public final static native void delete_Geom_BoundedCurve(long jarg1); - public final static native long new_Geom_BSplineCurve__SWIG_0(double[] jarg1, double[] jarg2, double[] jarg3, long jarg4, int jarg5, boolean jarg6, boolean jarg7); - public final static native long new_Geom_BSplineCurve__SWIG_1(double[] jarg1, double[] jarg2, double[] jarg3, long jarg4, int jarg5, boolean jarg6); - public final static native long new_Geom_BSplineCurve__SWIG_2(double[] jarg1, double[] jarg2, double[] jarg3, long jarg4, int jarg5); - public final static native void Geom_BSplineCurve_setKnot__SWIG_0(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double jarg3); - public final static native void Geom_BSplineCurve_setKnot__SWIG_1(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double jarg3, int jarg4); - public final static native void Geom_BSplineCurve_setPeriodic(long jarg1, Geom_BSplineCurve jarg1_); - public final static native void Geom_BSplineCurve_setNotPeriodic(long jarg1, Geom_BSplineCurve jarg1_); - public final static native void Geom_BSplineCurve_setOrigin__SWIG_0(long jarg1, Geom_BSplineCurve jarg1_, int jarg2); - public final static native void Geom_BSplineCurve_setOrigin__SWIG_1(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, double jarg3); - public final static native void Geom_BSplineCurve_setPole__SWIG_0(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double[] jarg3); - public final static native void Geom_BSplineCurve_setPole__SWIG_1(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double[] jarg3, double jarg4); - public final static native void Geom_BSplineCurve_movePoint(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, double[] jarg3, int jarg4, int jarg5, long jarg6, long jarg7); - public final static native void Geom_BSplineCurve_movePointAndTangent(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, double[] jarg3, double[] jarg4, double jarg5, int jarg6, int jarg7); - public final static native boolean Geom_BSplineCurve_isClosed(long jarg1, Geom_BSplineCurve jarg1_); - public final static native boolean Geom_BSplineCurve_isPeriodic(long jarg1, Geom_BSplineCurve jarg1_); - public final static native boolean Geom_BSplineCurve_isRational(long jarg1, Geom_BSplineCurve jarg1_); - public final static native int Geom_BSplineCurve_continuity(long jarg1, Geom_BSplineCurve jarg1_); - public final static native int Geom_BSplineCurve_Degree(long jarg1, Geom_BSplineCurve jarg1_); - public final static native double[] Geom_BSplineCurve_localValue(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, int jarg3, int jarg4); - public final static native double[] Geom_BSplineCurve_endPoint(long jarg1, Geom_BSplineCurve jarg1_); - public final static native double[] Geom_BSplineCurve_startPoint(long jarg1, Geom_BSplineCurve jarg1_); - public final static native int Geom_BSplineCurve_nbKnots(long jarg1, Geom_BSplineCurve jarg1_); - public final static native int Geom_BSplineCurve_nbPoles(long jarg1, Geom_BSplineCurve jarg1_); - public final static native double[] Geom_BSplineCurve_pole(long jarg1, Geom_BSplineCurve jarg1_, int jarg2); - public final static native double Geom_BSplineCurve_weight(long jarg1, Geom_BSplineCurve jarg1_, int jarg2); - public final static native void delete_Geom_BSplineCurve(long jarg1); - public final static native void delete_Geom_TrimmedCurve(long jarg1); - public final static native void BRepLib_encodeRegularity__SWIG_0(long jarg1, TopoDS_Shape jarg1_, double jarg2); - public final static native void BRepLib_encodeRegularity__SWIG_1(long jarg1, TopoDS_Shape jarg1_); - public final static native long new_BRepLib(); - public final static native void delete_BRepLib(long jarg1); - public final static native void delete_BRepFilletAPI_LocalOperation(long jarg1); - public final static native long new_BRepFilletAPI_MakeFillet__SWIG_0(long jarg1, TopoDS_Shape jarg1_, int jarg2); - public final static native long new_BRepFilletAPI_MakeFillet__SWIG_1(long jarg1, TopoDS_Shape jarg1_); - public final static native void BRepFilletAPI_MakeFillet_add(long jarg1, BRepFilletAPI_MakeFillet jarg1_, double jarg2, long jarg3, TopoDS_Edge jarg3_); - public final static native void delete_BRepFilletAPI_MakeFillet(long jarg1); - public final static native long new_BRepFilletAPI_MakeChamfer(long jarg1, TopoDS_Shape jarg1_); - public final static native void BRepFilletAPI_MakeChamfer_add(long jarg1, BRepFilletAPI_MakeChamfer jarg1_, double jarg2, long jarg3, TopoDS_Edge jarg3_, long jarg4, TopoDS_Face jarg4_); - public final static native void delete_BRepFilletAPI_MakeChamfer(long jarg1); - public final static native long new_BRepCheck_Analyzer__SWIG_0(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); - public final static native long new_BRepCheck_Analyzer__SWIG_1(long jarg1, TopoDS_Shape jarg1_); - public final static native void BRepCheck_Analyzer_init__SWIG_0(long jarg1, BRepCheck_Analyzer jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); - public final static native void BRepCheck_Analyzer_init__SWIG_1(long jarg1, BRepCheck_Analyzer jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native boolean BRepCheck_Analyzer_isValid(long jarg1, BRepCheck_Analyzer jarg1_); - public final static native void delete_BRepCheck_Analyzer(long jarg1); - public final static native long new_ShapeBuild_ReShape(); - public final static native void ShapeBuild_ReShape_replace__SWIG_0(long jarg1, ShapeBuild_ReShape jarg1_, long jarg2, TopoDS_Shape jarg2_, long jarg3, TopoDS_Shape jarg3_, boolean jarg4); - public final static native void ShapeBuild_ReShape_replace__SWIG_1(long jarg1, ShapeBuild_ReShape jarg1_, long jarg2, TopoDS_Shape jarg2_, long jarg3, TopoDS_Shape jarg3_); - public final static native long ShapeBuild_ReShape_apply__SWIG_0(long jarg1, ShapeBuild_ReShape jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3); - public final static native long ShapeBuild_ReShape_apply__SWIG_1(long jarg1, ShapeBuild_ReShape jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_ShapeBuild_ReShape(long jarg1); - public final static native int XSControl_Reader_readFile__SWIG_0(long jarg1, XSControl_Reader jarg1_, String jarg2); - public final static native int XSControl_Reader_transferRoots(long jarg1, XSControl_Reader jarg1_); - public final static native void XSControl_Reader_clearShapes(long jarg1, XSControl_Reader jarg1_); - public final static native int XSControl_Reader_nbRootsForTransfer(long jarg1, XSControl_Reader jarg1_); - public final static native long XSControl_Reader_oneShape(long jarg1, XSControl_Reader jarg1_); - public final static native int XSControl_Reader_readFile__SWIG_1(long jarg1, XSControl_Reader jarg1_, byte[] jarg2); - public final static native boolean XSControl_Reader_setReadUnitM(long jarg1, XSControl_Reader jarg1_); - public final static native boolean XSControl_Reader_setReadUnitMM(long jarg1, XSControl_Reader jarg1_); - public final static native void delete_XSControl_Reader(long jarg1); - public final static native long new_STEPControl_Reader(); - public final static native String STEPControl_Reader_getLabel(long jarg1, STEPControl_Reader jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void delete_STEPControl_Reader(long jarg1); - public final static native long new_IGESControl_Reader(); - public final static native String IGESControl_Reader_getLabel(long jarg1, IGESControl_Reader jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native long IGESControl_Reader_getShape(long jarg1, IGESControl_Reader jarg1_, String jarg2); - public final static native void IGESControl_Reader_dumpLabels(long jarg1, IGESControl_Reader jarg1_); - public final static native void delete_IGESControl_Reader(long jarg1); - public final static native long new_STEPControl_Writer(); - public final static native int STEPControl_Writer_write(long jarg1, STEPControl_Writer jarg1_, String jarg2); - public final static native int STEPControl_Writer_transfer(long jarg1, STEPControl_Writer jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3); - public final static native long STEPControl_Writer_model(long jarg1, STEPControl_Writer jarg1_, boolean jarg2); - public final static native void delete_STEPControl_Writer(long jarg1); - public final static native long new_IGESControl_Writer__SWIG_0(); - public final static native long new_IGESControl_Writer__SWIG_1(String jarg1, int jarg2); - public final static native long new_IGESControl_Writer__SWIG_2(String jarg1); - public final static native boolean IGESControl_Writer_write(long jarg1, IGESControl_Writer jarg1_, String jarg2); - public final static native boolean IGESControl_Writer_addShape(long jarg1, IGESControl_Writer jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native void IGESControl_Writer_computeModel(long jarg1, IGESControl_Writer jarg1_); - public final static native void delete_IGESControl_Writer(long jarg1); - public final static native long new_IGESControl_Controller(); - public final static native void IGESControl_Controller_init(long jarg1, IGESControl_Controller jarg1_); - public final static native void delete_IGESControl_Controller(long jarg1); - public final static native void ShapeFix_Root_setPrecision(long jarg1, ShapeFix_Root jarg1_, double jarg2); - public final static native double ShapeFix_Root_getPrecision(long jarg1, ShapeFix_Root jarg1_); - public final static native void ShapeFix_Root_setContext(long jarg1, ShapeFix_Root jarg1_, long jarg2, ShapeBuild_ReShape jarg2_); - public final static native long ShapeFix_Root_getContext(long jarg1, ShapeFix_Root jarg1_); - public final static native void delete_ShapeFix_Root(long jarg1); - public final static native long new_ShapeFix_Wireframe(long jarg1, TopoDS_Shape jarg1_); - public final static native boolean ShapeFix_Wireframe_fixWireGaps(long jarg1, ShapeFix_Wireframe jarg1_); - public final static native boolean ShapeFix_Wireframe_fixSmallEdges(long jarg1, ShapeFix_Wireframe jarg1_); - public final static native void ShapeFix_Wireframe_setLimitAngle(long jarg1, ShapeFix_Wireframe jarg1_, double jarg2); - public final static native double ShapeFix_Wireframe_getLimitAngle(long jarg1, ShapeFix_Wireframe jarg1_); - public final static native long ShapeFix_Wireframe_shape(long jarg1, ShapeFix_Wireframe jarg1_); - public final static native void ShapeFix_Wireframe_setDropSmallEdges(long jarg1, ShapeFix_Wireframe jarg1_, boolean jarg2); - public final static native boolean ShapeFix_Wireframe_getDropSmallEdges(long jarg1, ShapeFix_Wireframe jarg1_); - public final static native void delete_ShapeFix_Wireframe(long jarg1); - public final static native long new_APIHeaderSection_MakeHeader(long jarg1); - public final static native void APIHeaderSection_MakeHeader_setName(long jarg1, APIHeaderSection_MakeHeader jarg1_, long jarg2); - public final static native void APIHeaderSection_MakeHeader_setAuthorValue(long jarg1, APIHeaderSection_MakeHeader jarg1_, int jarg2, long jarg3); - public final static native void APIHeaderSection_MakeHeader_setOrganizationValue(long jarg1, APIHeaderSection_MakeHeader jarg1_, int jarg2, long jarg3); - public final static native void APIHeaderSection_MakeHeader_setOriginatingSystem(long jarg1, APIHeaderSection_MakeHeader jarg1_, long jarg2); - public final static native void APIHeaderSection_MakeHeader_setDescriptionValue(long jarg1, APIHeaderSection_MakeHeader jarg1_, int jarg2, long jarg3); - public final static native void delete_APIHeaderSection_MakeHeader(long jarg1); - public final static native void delete_ShapeUpgrade_Tool(long jarg1); - public final static native long new_ShapeUpgrade_RemoveInternalWires(long jarg1, TopoDS_Shape jarg1_); - public final static native boolean ShapeUpgrade_RemoveInternalWires_perform(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); - public final static native long ShapeUpgrade_RemoveInternalWires_getResult(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); - public final static native void ShapeUpgrade_RemoveInternalWires_setMinArea(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_, double jarg2); - public final static native double ShapeUpgrade_RemoveInternalWires_getMinArea(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); - public final static native void ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_, boolean jarg2); - public final static native boolean ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); - public final static native void delete_ShapeUpgrade_RemoveInternalWires(long jarg1); - public final static native long ShapeUpgrade_ShapeDivide_getResult(long jarg1, ShapeUpgrade_ShapeDivide jarg1_); - public final static native boolean ShapeUpgrade_ShapeDivide_perform__SWIG_0(long jarg1, ShapeUpgrade_ShapeDivide jarg1_, boolean jarg2); - public final static native boolean ShapeUpgrade_ShapeDivide_perform__SWIG_1(long jarg1, ShapeUpgrade_ShapeDivide jarg1_); - public final static native long new_ShapeUpgrade_ShapeDivide(); - public final static native void delete_ShapeUpgrade_ShapeDivide(long jarg1); - public final static native long new_ShapeUpgrade_ShapeDivideArea(long jarg1, TopoDS_Shape jarg1_); - public final static native void ShapeUpgrade_ShapeDivideArea_setMaxArea(long jarg1, ShapeUpgrade_ShapeDivideArea jarg1_, double jarg2); - public final static native double ShapeUpgrade_ShapeDivideArea_getMaxArea(long jarg1, ShapeUpgrade_ShapeDivideArea jarg1_); - public final static native void delete_ShapeUpgrade_ShapeDivideArea(long jarg1); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_0(); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_1(double[] jarg1, int jarg2, int jarg3, int jarg4, double jarg5); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_2(double[] jarg1, int jarg2, int jarg3, int jarg4); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_3(double[] jarg1, int jarg2, int jarg3); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_4(double[] jarg1, int jarg2); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_5(double[] jarg1); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_6(double[] jarg1, double[] jarg2, int jarg3, int jarg4, int jarg5, double jarg6); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_7(double[] jarg1, double[] jarg2, int jarg3, int jarg4, int jarg5); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_8(double[] jarg1, double[] jarg2, int jarg3, int jarg4); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_9(double[] jarg1, double[] jarg2, int jarg3); - public final static native long new_GeomAPI_PointsToBSpline__SWIG_10(double[] jarg1, double[] jarg2); - public final static native long GeomAPI_PointsToBSpline_Curve(long jarg1, GeomAPI_PointsToBSpline jarg1_); - public final static native void delete_GeomAPI_PointsToBSpline(long jarg1); - public final static native long new_GeomAPI_Interpolate(double[] jarg1, boolean jarg2, double jarg3); - public final static native void GeomAPI_Interpolate_Load__SWIG_0(long jarg1, GeomAPI_Interpolate jarg1_, double[] jarg2, boolean[] jarg3, boolean jarg4); - public final static native void GeomAPI_Interpolate_Load__SWIG_1(long jarg1, GeomAPI_Interpolate jarg1_, double[] jarg2, boolean[] jarg3); - public final static native void GeomAPI_Interpolate_Perform(long jarg1, GeomAPI_Interpolate jarg1_); - public final static native long GeomAPI_Interpolate_Curve(long jarg1, GeomAPI_Interpolate jarg1_); - public final static native void delete_GeomAPI_Interpolate(long jarg1); - public final static native boolean GC_Root_isDone(long jarg1, GC_Root jarg1_); - public final static native long new_GC_Root(); - public final static native void delete_GC_Root(long jarg1); - public final static native long new_GC_MakeArcOfCircle__SWIG_0(double[] jarg1, double[] jarg2, double[] jarg3); - public final static native long new_GC_MakeArcOfCircle__SWIG_1(long jarg1, GP_Circ jarg1_, double[] jarg2, double[] jarg3, boolean jarg4); - public final static native long GC_MakeArcOfCircle_value(long jarg1, GC_MakeArcOfCircle jarg1_); - public final static native long new_GC_MakeArcOfCircle__SWIG_2(long jarg1, GP_Circ jarg1_, double jarg2, double jarg3, boolean jarg4); - public final static native long new_GC_MakeArcOfCircle__SWIG_3(long jarg1, GP_Circ jarg1_, double[] jarg2, double jarg3, boolean jarg4); - public final static native void delete_GC_MakeArcOfCircle(long jarg1); - public final static native long new_GC_MakeSegment__SWIG_0(double[] jarg1, double[] jarg2); - public final static native long new_GC_MakeSegment__SWIG_1(long jarg1, GP_Lin jarg1_, double jarg2, double jarg3); - public final static native long new_GC_MakeSegment__SWIG_2(long jarg1, GP_Lin jarg1_, double[] jarg2, double jarg3); - public final static native long new_GC_MakeSegment__SWIG_3(long jarg1, GP_Lin jarg1_, double[] jarg2, double[] jarg3); - public final static native long GC_MakeSegment_value(long jarg1, GC_MakeSegment jarg1_); - public final static native void delete_GC_MakeSegment(long jarg1); - public final static native long new_GC_MakeArcOfEllipse__SWIG_0(long jarg1, GP_Elips jarg1_, double jarg2, double jarg3, boolean jarg4); - public final static native long new_GC_MakeArcOfEllipse__SWIG_1(long jarg1, GP_Elips jarg1_, double[] jarg2, double jarg3, boolean jarg4); - public final static native long new_GC_MakeArcOfEllipse__SWIG_2(long jarg1, GP_Elips jarg1_, double[] jarg2, double[] jarg3, boolean jarg4); - public final static native long GC_MakeArcOfEllipse_value(long jarg1, GC_MakeArcOfEllipse jarg1_); - public final static native void delete_GC_MakeArcOfEllipse(long jarg1); - public final static native boolean TopLoc_Location_isIdentity(long jarg1, TopLoc_Location jarg1_); - public final static native long TopLoc_Location_transformation(long jarg1, TopLoc_Location jarg1_); - public final static native long new_TopLoc_Location(); - public final static native void delete_TopLoc_Location(long jarg1); - public final static native void TopExp_vertices__SWIG_0(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_, boolean jarg4); - public final static native void TopExp_vertices__SWIG_1(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); - public final static native long new_TopExp(); - public final static native void delete_TopExp(long jarg1); - public final static native long new_TopExp_Explorer__SWIG_0(); - public final static native long new_TopExp_Explorer__SWIG_1(long jarg1, TopoDS_Shape jarg1_, int jarg2, int jarg3); - public final static native long new_TopExp_Explorer__SWIG_2(long jarg1, TopoDS_Shape jarg1_, int jarg2); - public final static native void TopExp_Explorer_init__SWIG_0(long jarg1, TopExp_Explorer jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3, int jarg4); - public final static native void TopExp_Explorer_init__SWIG_1(long jarg1, TopExp_Explorer jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3); - public final static native boolean TopExp_Explorer_more(long jarg1, TopExp_Explorer jarg1_); - public final static native void TopExp_Explorer_next(long jarg1, TopExp_Explorer jarg1_); - public final static native long TopExp_Explorer_current(long jarg1, TopExp_Explorer jarg1_); - public final static native void delete_TopExp_Explorer(long jarg1); - public final static native long new_Bnd_Box(); - public final static native boolean Bnd_Box_isVoid(long jarg1, Bnd_Box jarg1_); - public final static native void Bnd_Box_get(long jarg1, Bnd_Box jarg1_, double[] jarg2); - public final static native void delete_Bnd_Box(long jarg1); - public final static native void BRepBndLib_add(long jarg1, TopoDS_Shape jarg1_, long jarg2, Bnd_Box jarg2_); - public final static native long new_BRepBndLib(); - public final static native void delete_BRepBndLib(long jarg1); - public final static native double[] Adaptor2d_Curve2d_value(long jarg1, Adaptor2d_Curve2d jarg1_, double jarg2); - public final static native void delete_Adaptor2d_Curve2d(long jarg1); - public final static native long new_Geom2dAdaptor_Curve__SWIG_0(); - public final static native long new_Geom2dAdaptor_Curve__SWIG_1(long jarg1, Geom2d_Curve jarg1_); - public final static native long new_Geom2dAdaptor_Curve__SWIG_2(long jarg1, Geom2d_Curve jarg1_, double jarg2, double jarg3); - public final static native void Geom2dAdaptor_Curve_load__SWIG_0(long jarg1, Geom2dAdaptor_Curve jarg1_, long jarg2, Geom2d_Curve jarg2_); - public final static native void Geom2dAdaptor_Curve_load__SWIG_1(long jarg1, Geom2dAdaptor_Curve jarg1_, long jarg2, Geom2d_Curve jarg2_, double jarg3, double jarg4); - public final static native void delete_Geom2dAdaptor_Curve(long jarg1); - public final static native double[] Adaptor3d_Curve_value(long jarg1, Adaptor3d_Curve jarg1_, double jarg2); - public final static native void Adaptor3d_Curve_arrayValues(long jarg1, Adaptor3d_Curve jarg1_, int jarg2, double[] jarg3); - public final static native void delete_Adaptor3d_Curve(long jarg1); - public final static native long new_GeomAdaptor_Curve__SWIG_0(); - public final static native long new_GeomAdaptor_Curve__SWIG_1(long jarg1, Geom_Curve jarg1_); - public final static native long new_GeomAdaptor_Curve__SWIG_2(long jarg1, Geom_Curve jarg1_, double jarg2, double jarg3); - public final static native void GeomAdaptor_Curve_load__SWIG_0(long jarg1, GeomAdaptor_Curve jarg1_, long jarg2, Geom_Curve jarg2_); - public final static native void GeomAdaptor_Curve_load__SWIG_1(long jarg1, GeomAdaptor_Curve jarg1_, long jarg2, Geom_Curve jarg2_, double jarg3, double jarg4); - public final static native void delete_GeomAdaptor_Curve(long jarg1); - public final static native long new_GProp_GProps(); - public final static native double GProp_GProps_mass(long jarg1, GProp_GProps jarg1_); - public final static native double[] GProp_GProps_centreOfMass(long jarg1, GProp_GProps jarg1_); - public final static native double[] GProp_GProps_matrixOfInertia(long jarg1, GProp_GProps jarg1_); - public final static native void delete_GProp_GProps(long jarg1); - public final static native long new_GProp_PGProps(); - public final static native void delete_GProp_PGProps(long jarg1); - public final static native long new_GProp_CelGProps(); - public final static native void delete_GProp_CelGProps(long jarg1); - public final static native long new_GProp_SelGProps(); - public final static native void delete_GProp_SelGProps(long jarg1); - public final static native long new_GProp_VelGProps(); - public final static native void delete_GProp_VelGProps(long jarg1); - public final static native void BRepGProp_linearProperties(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_); - public final static native void BRepGProp_volumeProperties__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, boolean jarg3); - public final static native void BRepGProp_volumeProperties__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_); - public final static native double BRepGProp_volumeProperties__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4); - public final static native double BRepGProp_volumeProperties__SWIG_3(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3); - public final static native void BRepGProp_surfaceProperties__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_); - public final static native double BRepGProp_surfaceProperties__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3); - public final static native double BRepGProp_volumePropertiesGK__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4, boolean jarg5, boolean jarg6, boolean jarg7); - public final static native double BRepGProp_volumePropertiesGK__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4, boolean jarg5, boolean jarg6); - public final static native double BRepGProp_volumePropertiesGK__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4, boolean jarg5); - public final static native double BRepGProp_volumePropertiesGK__SWIG_3(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4); - public final static native double BRepGProp_volumePropertiesGK__SWIG_4(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3); - public final static native long new_BRepGProp(); - public final static native void delete_BRepGProp(long jarg1); - public final static native long new_ShapeAnalysis_FreeBounds__SWIG_0(long jarg1, TopoDS_Shape jarg1_, boolean jarg2, boolean jarg3); - public final static native long new_ShapeAnalysis_FreeBounds__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); - public final static native long new_ShapeAnalysis_FreeBounds__SWIG_2(long jarg1, TopoDS_Shape jarg1_); - public final static native long ShapeAnalysis_FreeBounds_getClosedWires(long jarg1, ShapeAnalysis_FreeBounds jarg1_); - public final static native long ShapeAnalysis_FreeBounds_getOpenWires(long jarg1, ShapeAnalysis_FreeBounds jarg1_); - public final static native void delete_ShapeAnalysis_FreeBounds(long jarg1); - public final static native long new_GCPnts_UniformDeflection(); - public final static native void GCPnts_UniformDeflection_initialize__SWIG_0(long jarg1, GCPnts_UniformDeflection jarg1_, long jarg2, Adaptor3d_Curve jarg2_, double jarg3, double jarg4, double jarg5, boolean jarg6); - public final static native void GCPnts_UniformDeflection_initialize__SWIG_1(long jarg1, GCPnts_UniformDeflection jarg1_, long jarg2, Adaptor3d_Curve jarg2_, double jarg3, double jarg4, double jarg5); - public final static native int GCPnts_UniformDeflection_nbPoints(long jarg1, GCPnts_UniformDeflection jarg1_); - public final static native double GCPnts_UniformDeflection_parameter(long jarg1, GCPnts_UniformDeflection jarg1_, int jarg2); - public final static native void delete_GCPnts_UniformDeflection(long jarg1); - public final static native void BRepMesh_DiscretRoot_setDeflection(long jarg1, BRepMesh_DiscretRoot jarg1_, double jarg2); - public final static native void BRepMesh_DiscretRoot_setAngle(long jarg1, BRepMesh_DiscretRoot jarg1_, double jarg2); - public final static native double BRepMesh_DiscretRoot_deflection(long jarg1, BRepMesh_DiscretRoot jarg1_); - public final static native double BRepMesh_DiscretRoot_angle(long jarg1, BRepMesh_DiscretRoot jarg1_); - public final static native void BRepMesh_DiscretRoot_perform(long jarg1, BRepMesh_DiscretRoot jarg1_); - public final static native void delete_BRepMesh_DiscretRoot(long jarg1); - public final static native long new_BRepMesh_IncrementalMesh__SWIG_0(); - public final static native long new_BRepMesh_IncrementalMesh__SWIG_1(long jarg1, TopoDS_Shape jarg1_, double jarg2, boolean jarg3, double jarg4); - public final static native long new_BRepMesh_IncrementalMesh__SWIG_2(long jarg1, TopoDS_Shape jarg1_, double jarg2, boolean jarg3); - public final static native long new_BRepMesh_IncrementalMesh__SWIG_3(long jarg1, TopoDS_Shape jarg1_, double jarg2); - public final static native void BRepMesh_IncrementalMesh_perform(long jarg1, BRepMesh_IncrementalMesh jarg1_); - public final static native void BRepMesh_IncrementalMesh_update(long jarg1, BRepMesh_IncrementalMesh jarg1_, long jarg2, TopoDS_Shape jarg2_); - public final static native boolean BRepMesh_IncrementalMesh_isModified(long jarg1, BRepMesh_IncrementalMesh jarg1_); - public final static native void delete_BRepMesh_IncrementalMesh(long jarg1); - public final static native long new_GeomAPI_ProjectPointOnSurf(double[] jarg1, long jarg2, Geom_Surface jarg2_); - public final static native void GeomAPI_ProjectPointOnSurf_init(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, double[] jarg2, long jarg3, Geom_Surface jarg3_); - public final static native int GeomAPI_ProjectPointOnSurf_nbPoints(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_); - public final static native double GeomAPI_ProjectPointOnSurf_lowerDistance(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_); - public final static native double[] GeomAPI_ProjectPointOnSurf_point(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, int jarg2); - public final static native void GeomAPI_ProjectPointOnSurf_lowerDistanceParameters(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, double[] jarg2, double[] jarg3); - public final static native void GeomAPI_ProjectPointOnSurf_parameters(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, int jarg2, double[] jarg3, double[] jarg4); - public final static native double[] GeomAPI_ProjectPointOnSurf_nearestPoint(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_); - public final static native void delete_GeomAPI_ProjectPointOnSurf(long jarg1); - public final static native boolean BRepAlgo_isValid(long jarg1, TopoDS_Shape jarg1_); - public final static native boolean BRepAlgo_isTopologicallyValid(long jarg1, TopoDS_Shape jarg1_); - public final static native long new_BRepAlgo(); - public final static native void delete_BRepAlgo(long jarg1); - public final static native long TopoDS_Compound_SWIGUpcast(long jarg1); - public final static native long TopoDS_CompSolid_SWIGUpcast(long jarg1); - public final static native long TopoDS_Solid_SWIGUpcast(long jarg1); - public final static native long TopoDS_Shell_SWIGUpcast(long jarg1); - public final static native long TopoDS_Face_SWIGUpcast(long jarg1); - public final static native long TopoDS_Wire_SWIGUpcast(long jarg1); - public final static native long TopoDS_Edge_SWIGUpcast(long jarg1); - public final static native long TopoDS_Vertex_SWIGUpcast(long jarg1); - public final static native long BRep_Builder_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_ModifyShape_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_Transform_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_MakeVertex_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_MakeWire_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_MakeEdge_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_MakeFace_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_MakeSolid_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_NurbsConvert_SWIGUpcast(long jarg1); - public final static native long BRepBuilderAPI_MakeShell_SWIGUpcast(long jarg1); - public final static native long BRepOffsetAPI_NormalProjection_SWIGUpcast(long jarg1); - public final static native long BRepOffsetAPI_ThruSections_SWIGUpcast(long jarg1); - public final static native long BRepOffsetAPI_MakeThickSolid_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeBox_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeCone_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeCylinder_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeTorus_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeSphere_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeSweep_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakePrism_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeRevol_SWIGUpcast(long jarg1); - public final static native long BRepOffsetAPI_MakePipe_SWIGUpcast(long jarg1); - public final static native long BRepPrimAPI_MakeWedge_SWIGUpcast(long jarg1); - public final static native long BRepAlgoAPI_BooleanOperation_SWIGUpcast(long jarg1); - public final static native long BRepAlgoAPI_Fuse_SWIGUpcast(long jarg1); - public final static native long BRepAlgoAPI_Common_SWIGUpcast(long jarg1); - public final static native long BRepAlgoAPI_Cut_SWIGUpcast(long jarg1); - public final static native long BRepAlgoAPI_Section_SWIGUpcast(long jarg1); - public final static native long Geom_Curve_SWIGUpcast(long jarg1); - public final static native long Geom_Surface_SWIGUpcast(long jarg1); - public final static native long Geom2d_Curve_SWIGUpcast(long jarg1); - public final static native long Geom_BoundedCurve_SWIGUpcast(long jarg1); - public final static native long Geom_BSplineCurve_SWIGUpcast(long jarg1); - public final static native long Geom_TrimmedCurve_SWIGUpcast(long jarg1); - public final static native long BRepFilletAPI_LocalOperation_SWIGUpcast(long jarg1); - public final static native long BRepFilletAPI_MakeFillet_SWIGUpcast(long jarg1); - public final static native long BRepFilletAPI_MakeChamfer_SWIGUpcast(long jarg1); - public final static native long STEPControl_Reader_SWIGUpcast(long jarg1); - public final static native long IGESControl_Reader_SWIGUpcast(long jarg1); - public final static native long ShapeFix_Wireframe_SWIGUpcast(long jarg1); - public final static native long ShapeUpgrade_RemoveInternalWires_SWIGUpcast(long jarg1); - public final static native long ShapeUpgrade_ShapeDivideArea_SWIGUpcast(long jarg1); - public final static native long GC_MakeArcOfCircle_SWIGUpcast(long jarg1); - public final static native long GC_MakeSegment_SWIGUpcast(long jarg1); - public final static native long GC_MakeArcOfEllipse_SWIGUpcast(long jarg1); - public final static native long Geom2dAdaptor_Curve_SWIGUpcast(long jarg1); - public final static native long GeomAdaptor_Curve_SWIGUpcast(long jarg1); - public final static native long GProp_PGProps_SWIGUpcast(long jarg1); - public final static native long GProp_CelGProps_SWIGUpcast(long jarg1); - public final static native long GProp_SelGProps_SWIGUpcast(long jarg1); - public final static native long GProp_VelGProps_SWIGUpcast(long jarg1); - public final static native long BRepMesh_IncrementalMesh_SWIGUpcast(long jarg1); -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class OccJavaJNI { + + static + { + System.loadLibrary("TKERNEL"); + System.loadLibrary("TKMATH"); + System.loadLibrary("TKG2D"); + System.loadLibrary("TKG3D"); + System.loadLibrary("TKGEOMBASE"); + System.loadLibrary("TKBREP"); + System.loadLibrary("TKGEOMALGO"); + System.loadLibrary("TKTOPALGO"); + System.loadLibrary("TKMESH"); + + System.loadLibrary("TKPRIM"); + System.loadLibrary("TKSHHEALING"); + System.loadLibrary("TKBO"); + + System.loadLibrary("TKBOOL"); + System.loadLibrary("TKFILLET"); + System.loadLibrary("TKOFFSET"); + + System.loadLibrary("TKXSBASE"); + System.loadLibrary("TKIGES"); + System.loadLibrary("TKSTEPBASE"); + System.loadLibrary("TKSTEPATTR"); + System.loadLibrary("TKSTEP209"); + System.loadLibrary("TKSTEP"); + + System.loadLibrary("OccJava"); + String mmg_opt= System.getenv("MMGT_OPT"); + if(mmg_opt != null && !"0".equals(mmg_opt)) + throw new RuntimeException("The MMGT_OPT environement variable must be set to 0 before using occjava."); + } + + public final static native long new_GP_Trsf(); + public final static native void GP_Trsf_setRotation(long jarg1, GP_Trsf jarg1_, double[] jarg2, double jarg3); + public final static native void GP_Trsf_setTranslation(long jarg1, GP_Trsf jarg1_, double[] jarg2); + public final static native void GP_Trsf_setValues(long jarg1, GP_Trsf jarg1_, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, double jarg9, double jarg10, double jarg11, double jarg12, double jarg13); + public final static native void GP_Trsf_getValues(long jarg1, GP_Trsf jarg1_, double[] jarg2); + public final static native void delete_GP_Trsf(long jarg1); + public final static native long new_GP_Circ(double[] jarg1, double jarg2); + public final static native void delete_GP_Circ(long jarg1); + public final static native long new_GP_Parab__SWIG_0(double[] jarg1, double jarg2); + public final static native long new_GP_Parab__SWIG_1(double[] jarg1, double[] jarg2); + public final static native void delete_GP_Parab(long jarg1); + public final static native long new_GP_Elips(double[] jarg1, double jarg2, double jarg3); + public final static native void delete_GP_Elips(long jarg1); + public final static native long new_GP_Lin(double[] jarg1); + public final static native void delete_GP_Lin(long jarg1); + public final static native void delete_Handle_TColStd_HArray1OfBoolean(long jarg1); + public final static native void delete_Handle_TColgp_HArray1OfPnt(long jarg1); + public final static native int TopoDS_Shape_shapeType(long jarg1, TopoDS_Shape jarg1_); + public final static native boolean TopoDS_Shape_nativeIsSame(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native int TopoDS_Shape_orientation(long jarg1, TopoDS_Shape jarg1_); + public final static native void TopoDS_Shape_reverse(long jarg1, TopoDS_Shape jarg1_); + public final static native long TopoDS_Shape_reversed(long jarg1, TopoDS_Shape jarg1_); + public final static native int TopoDS_Shape_hashCode(long jarg1, TopoDS_Shape jarg1_, int jarg2); + public final static native boolean TopoDS_Shape_free__SWIG_0(long jarg1, TopoDS_Shape jarg1_); + public final static native void TopoDS_Shape_free__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); + public final static native long TopoDS_Shape_getTShape(long jarg1, TopoDS_Shape jarg1_); + public final static native long new_TopoDS_Shape(); + public final static native void delete_TopoDS_Shape(long jarg1); + public final static native long new_TopoDS_Compound(); + public final static native void delete_TopoDS_Compound(long jarg1); + public final static native long new_TopoDS_CompSolid(); + public final static native void delete_TopoDS_CompSolid(long jarg1); + public final static native long new_TopoDS_Solid(); + public final static native void delete_TopoDS_Solid(long jarg1); + public final static native long new_TopoDS_Shell(); + public final static native void delete_TopoDS_Shell(long jarg1); + public final static native long new_TopoDS_Face(); + public final static native void delete_TopoDS_Face(long jarg1); + public final static native long new_TopoDS_Wire(); + public final static native void delete_TopoDS_Wire(long jarg1); + public final static native long new_TopoDS_Edge(); + public final static native void delete_TopoDS_Edge(long jarg1); + public final static native long new_TopoDS_Vertex(); + public final static native void delete_TopoDS_Vertex(long jarg1); + public final static native long new_TopoDS_Iterator__SWIG_0(); + public final static native long new_TopoDS_Iterator__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2, boolean jarg3); + public final static native long new_TopoDS_Iterator__SWIG_2(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); + public final static native long new_TopoDS_Iterator__SWIG_3(long jarg1, TopoDS_Shape jarg1_); + public final static native void TopoDS_Iterator_initialize__SWIG_0(long jarg1, TopoDS_Iterator jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3, boolean jarg4); + public final static native void TopoDS_Iterator_initialize__SWIG_1(long jarg1, TopoDS_Iterator jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); + public final static native void TopoDS_Iterator_initialize__SWIG_2(long jarg1, TopoDS_Iterator jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native boolean TopoDS_Iterator_more(long jarg1, TopoDS_Iterator jarg1_); + public final static native void TopoDS_Iterator_next(long jarg1, TopoDS_Iterator jarg1_); + public final static native long TopoDS_Iterator_value(long jarg1, TopoDS_Iterator jarg1_); + public final static native void delete_TopoDS_Iterator(long jarg1); + public final static native void TopoDS_Builder_makeWire(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Wire jarg2_); + public final static native void TopoDS_Builder_makeCompound(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Compound jarg2_); + public final static native void TopoDS_Builder_add(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Shape jarg2_, long jarg3, TopoDS_Shape jarg3_); + public final static native void TopoDS_Builder_remove(long jarg1, TopoDS_Builder jarg1_, long jarg2, TopoDS_Shape jarg2_, long jarg3, TopoDS_Shape jarg3_); + public final static native void delete_TopoDS_Builder(long jarg1); + public final static native double[] BRep_Tool_pnt(long jarg1, TopoDS_Vertex jarg1_); + public final static native double[] BRep_Tool_parameters(long jarg1, TopoDS_Vertex jarg1_, long jarg2, TopoDS_Face jarg2_); + public final static native double BRep_Tool_parameter(long jarg1, TopoDS_Vertex jarg1_, long jarg2, TopoDS_Edge jarg2_); + public final static native boolean BRep_Tool_degenerated(long jarg1, TopoDS_Edge jarg1_); + public final static native boolean BRep_Tool_hasContinuity(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Face jarg2_, long jarg3, TopoDS_Face jarg3_); + public final static native int BRep_Tool_continuity(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Face jarg2_, long jarg3, TopoDS_Face jarg3_); + public final static native double BRep_Tool_tolerance__SWIG_0(long jarg1, TopoDS_Face jarg1_); + public final static native double BRep_Tool_tolerance__SWIG_1(long jarg1, TopoDS_Edge jarg1_); + public final static native double BRep_Tool_tolerance__SWIG_2(long jarg1, TopoDS_Vertex jarg1_); + public final static native long BRep_Tool_triangulation(long jarg1, TopoDS_Face jarg1_, long jarg2, TopLoc_Location jarg2_); + public final static native void BRep_Tool_range(long jarg1, TopoDS_Edge jarg1_, double[] jarg2); + public final static native long BRep_Tool_curve(long jarg1, TopoDS_Edge jarg1_, double[] jarg2, double[] jarg3); + public final static native long BRep_Tool_surface(long jarg1, TopoDS_Face jarg1_); + public final static native long BRep_Tool_curveOnSurface(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Face jarg2_, double[] jarg3, double[] jarg4); + public final static native long new_BRep_Tool(); + public final static native void delete_BRep_Tool(long jarg1); + public final static native long new_BRep_Builder(); + public final static native void BRep_Builder_updateVertex__SWIG_0(long jarg1, BRep_Builder jarg1_, long jarg2, TopoDS_Vertex jarg2_, double jarg3, double jarg4, long jarg5, TopoDS_Face jarg5_, double jarg6); + public final static native void BRep_Builder_updateVertex__SWIG_1(long jarg1, BRep_Builder jarg1_, long jarg2, TopoDS_Vertex jarg2_, double jarg3); + public final static native void delete_BRep_Builder(long jarg1); + public final static native long new_GeomLProp_SLProps(int jarg1, double jarg2); + public final static native void GeomLProp_SLProps_setParameters(long jarg1, GeomLProp_SLProps jarg1_, double jarg2, double jarg3); + public final static native double[] GeomLProp_SLProps_value(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double[] GeomLProp_SLProps_d1U(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double[] GeomLProp_SLProps_d1V(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double[] GeomLProp_SLProps_d2U(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double[] GeomLProp_SLProps_d2V(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double[] GeomLProp_SLProps_dUV(long jarg1, GeomLProp_SLProps jarg1_); + public final static native boolean GeomLProp_SLProps_isTangentUDefined(long jarg1, GeomLProp_SLProps jarg1_); + public final static native void GeomLProp_SLProps_tangentU(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2); + public final static native boolean GeomLProp_SLProps_isTangentVDefined(long jarg1, GeomLProp_SLProps jarg1_); + public final static native void GeomLProp_SLProps_tangentV(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2); + public final static native boolean GeomLProp_SLProps_isNormalDefined(long jarg1, GeomLProp_SLProps jarg1_); + public final static native boolean GeomLProp_SLProps_isCurvatureDefined(long jarg1, GeomLProp_SLProps jarg1_); + public final static native boolean GeomLProp_SLProps_isUmbilic(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double GeomLProp_SLProps_meanCurvature(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double GeomLProp_SLProps_gaussianCurvature(long jarg1, GeomLProp_SLProps jarg1_); + public final static native void GeomLProp_SLProps_setSurface(long jarg1, GeomLProp_SLProps jarg1_, long jarg2, Geom_Surface jarg2_); + public final static native void GeomLProp_SLProps_normal(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2); + public final static native void GeomLProp_SLProps_normalArray(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2, double[] jarg3, int jarg4); + public final static native double GeomLProp_SLProps_minCurvature(long jarg1, GeomLProp_SLProps jarg1_); + public final static native double GeomLProp_SLProps_maxCurvature(long jarg1, GeomLProp_SLProps jarg1_); + public final static native void GeomLProp_SLProps_curvatureDirection(long jarg1, GeomLProp_SLProps jarg1_, double[] jarg2, double[] jarg3); + public final static native void delete_GeomLProp_SLProps(long jarg1); + public final static native boolean BRepTools_read__SWIG_0(long jarg1, TopoDS_Shape jarg1_, String jarg2, long jarg3, BRep_Builder jarg3_); + public final static native boolean BRepTools_write__SWIG_0(long jarg1, TopoDS_Shape jarg1_, String jarg2); + public final static native void BRepTools_write__SWIG_1(long jarg1, TopoDS_Shape jarg1_, java.nio.channels.WritableByteChannel jarg2); + public final static native void BRepTools_clean(long jarg1, TopoDS_Shape jarg1_); + public final static native boolean BRepTools_read__SWIG_1(long jarg1, TopoDS_Shape jarg1_, java.nio.channels.ReadableByteChannel jarg2, long jarg3, BRep_Builder jarg3_); + public final static native void delete_BRepTools(long jarg1); + public final static native long new_BRepTools_WireExplorer__SWIG_0(); + public final static native long new_BRepTools_WireExplorer__SWIG_1(long jarg1, TopoDS_Wire jarg1_); + public final static native long new_BRepTools_WireExplorer__SWIG_2(long jarg1, TopoDS_Wire jarg1_, long jarg2, TopoDS_Face jarg2_); + public final static native void BRepTools_WireExplorer_init__SWIG_0(long jarg1, BRepTools_WireExplorer jarg1_, long jarg2, TopoDS_Wire jarg2_); + public final static native void BRepTools_WireExplorer_init__SWIG_1(long jarg1, BRepTools_WireExplorer jarg1_, long jarg2, TopoDS_Wire jarg2_, long jarg3, TopoDS_Face jarg3_); + public final static native boolean BRepTools_WireExplorer_more(long jarg1, BRepTools_WireExplorer jarg1_); + public final static native void BRepTools_WireExplorer_next(long jarg1, BRepTools_WireExplorer jarg1_); + public final static native long BRepTools_WireExplorer_current(long jarg1, BRepTools_WireExplorer jarg1_); + public final static native int BRepTools_WireExplorer_orientation(long jarg1, BRepTools_WireExplorer jarg1_); + public final static native long BRepTools_WireExplorer_currentVertex(long jarg1, BRepTools_WireExplorer jarg1_); + public final static native void BRepTools_WireExplorer_clear(long jarg1, BRepTools_WireExplorer jarg1_); + public final static native void delete_BRepTools_WireExplorer(long jarg1); + public final static native long new_BRepTools_Quilt(); + public final static native void BRepTools_Quilt_bind__SWIG_0(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Edge jarg2_, long jarg3, TopoDS_Edge jarg3_); + public final static native void BRepTools_Quilt_bind__SWIG_1(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native void BRepTools_Quilt_add(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native boolean BRepTools_Quilt_isCopied(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native long BRepTools_Quilt_copy(long jarg1, BRepTools_Quilt jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native long BRepTools_Quilt_shells(long jarg1, BRepTools_Quilt jarg1_); + public final static native void delete_BRepTools_Quilt(long jarg1); + public final static native boolean BRepBuilderAPI_Command_isDone(long jarg1, BRepBuilderAPI_Command jarg1_); + public final static native void delete_BRepBuilderAPI_Command(long jarg1); + public final static native void BRepBuilderAPI_MakeShape_build(long jarg1, BRepBuilderAPI_MakeShape jarg1_); + public final static native long BRepBuilderAPI_MakeShape_shape(long jarg1, BRepBuilderAPI_MakeShape jarg1_); + public final static native void delete_BRepBuilderAPI_MakeShape(long jarg1); + public final static native long BRepBuilderAPI_ModifyShape_modifiedShape(long jarg1, BRepBuilderAPI_ModifyShape jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepBuilderAPI_ModifyShape(long jarg1); + public final static native long new_BRepBuilderAPI_Transform__SWIG_0(long jarg1, GP_Trsf jarg1_); + public final static native long new_BRepBuilderAPI_Transform__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GP_Trsf jarg2_, boolean jarg3); + public final static native long new_BRepBuilderAPI_Transform__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long jarg2, GP_Trsf jarg2_); + public final static native void BRepBuilderAPI_Transform_perform__SWIG_0(long jarg1, BRepBuilderAPI_Transform jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); + public final static native void BRepBuilderAPI_Transform_perform__SWIG_1(long jarg1, BRepBuilderAPI_Transform jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepBuilderAPI_Transform(long jarg1); + public final static native long new_BRepBuilderAPI_MakeVertex(double[] jarg1); + public final static native void delete_BRepBuilderAPI_MakeVertex(long jarg1); + public final static native long new_BRepBuilderAPI_MakeWire__SWIG_0(); + public final static native long new_BRepBuilderAPI_MakeWire__SWIG_1(long jarg1, TopoDS_Edge jarg1_); + public final static native long new_BRepBuilderAPI_MakeWire__SWIG_2(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Edge jarg2_); + public final static native long new_BRepBuilderAPI_MakeWire__SWIG_3(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Edge jarg2_, long jarg3, TopoDS_Edge jarg3_); + public final static native long new_BRepBuilderAPI_MakeWire__SWIG_4(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Edge jarg2_, long jarg3, TopoDS_Edge jarg3_, long jarg4, TopoDS_Edge jarg4_); + public final static native long new_BRepBuilderAPI_MakeWire__SWIG_5(long jarg1, TopoDS_Wire jarg1_); + public final static native long new_BRepBuilderAPI_MakeWire__SWIG_6(long jarg1, TopoDS_Wire jarg1_, long jarg2, TopoDS_Edge jarg2_); + public final static native void BRepBuilderAPI_MakeWire_add__SWIG_0(long jarg1, BRepBuilderAPI_MakeWire jarg1_, long jarg2, TopoDS_Edge jarg2_); + public final static native void BRepBuilderAPI_MakeWire_add__SWIG_1(long jarg1, BRepBuilderAPI_MakeWire jarg1_, long jarg2, TopoDS_Wire jarg2_); + public final static native void BRepBuilderAPI_MakeWire_add__SWIG_2(long jarg1, BRepBuilderAPI_MakeWire jarg1_, long[] jarg2); + public final static native boolean BRepBuilderAPI_MakeWire_isDone(long jarg1, BRepBuilderAPI_MakeWire jarg1_); + public final static native long BRepBuilderAPI_MakeWire_wire(long jarg1, BRepBuilderAPI_MakeWire jarg1_); + public final static native void delete_BRepBuilderAPI_MakeWire(long jarg1); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_0(); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_1(long jarg1, Geom_Curve jarg1_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_2(long jarg1, TopoDS_Vertex jarg1_, long jarg2, TopoDS_Vertex jarg2_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_3(double[] jarg1, double[] jarg2); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_4(long jarg1, GP_Circ jarg1_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_5(long jarg1, GP_Circ jarg1_, double jarg2, double jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_6(long jarg1, GP_Circ jarg1_, double[] jarg2, double[] jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_7(long jarg1, GP_Circ jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_8(long jarg1, GP_Parab jarg1_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_9(long jarg1, GP_Parab jarg1_, double jarg2, double jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_10(long jarg1, GP_Parab jarg1_, double[] jarg2, double[] jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_11(long jarg1, GP_Parab jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_12(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_13(long jarg1, Geom_TrimmedCurve jarg1_); + public final static native boolean BRepBuilderAPI_MakeEdge_isDone(long jarg1, BRepBuilderAPI_MakeEdge jarg1_); + public final static native long BRepBuilderAPI_MakeEdge_edge(long jarg1, BRepBuilderAPI_MakeEdge jarg1_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_14(long jarg1, GP_Lin jarg1_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_15(long jarg1, GP_Lin jarg1_, double jarg2, double jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_16(long jarg1, GP_Lin jarg1_, double[] jarg2, double[] jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_17(long jarg1, GP_Lin jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_18(long jarg1, GP_Elips jarg1_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_19(long jarg1, GP_Elips jarg1_, double jarg2, double jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_20(long jarg1, GP_Elips jarg1_, double[] jarg2, double[] jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_21(long jarg1, GP_Elips jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_22(long jarg1); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_23(long jarg1, double jarg2, double jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_24(long jarg1, double[] jarg2, double[] jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_25(long jarg1, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_26(long jarg1, Geom_Curve jarg1_, double jarg2, double jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_27(long jarg1, Geom_Curve jarg1_, double[] jarg2, double[] jarg3); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_28(long jarg1, Geom_Curve jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_29(long jarg1, Geom_Curve jarg1_, double[] jarg2, double[] jarg3, double jarg4, double jarg5); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_30(long jarg1, Geom_Curve jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_, double jarg4, double jarg5); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_31(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, double jarg3, double jarg4); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_32(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, double[] jarg3, double[] jarg4); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_33(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, long jarg3, TopoDS_Vertex jarg3_, long jarg4, TopoDS_Vertex jarg4_); + public final static native long new_BRepBuilderAPI_MakeEdge__SWIG_34(long jarg1, Geom2d_Curve jarg1_, long jarg2, Geom_Surface jarg2_, double[] jarg3, double[] jarg4, double jarg5, double jarg6); + public final static native void delete_BRepBuilderAPI_MakeEdge(long jarg1); + public final static native long new_BRepBuilderAPI_MakeFace__SWIG_0(long jarg1, TopoDS_Wire jarg1_, boolean jarg2); + public final static native long new_BRepBuilderAPI_MakeFace__SWIG_1(long jarg1, TopoDS_Wire jarg1_); + public final static native long new_BRepBuilderAPI_MakeFace__SWIG_2(long jarg1, TopoDS_Face jarg1_, long jarg2, TopoDS_Wire jarg2_); + public final static native void delete_BRepBuilderAPI_MakeFace(long jarg1); + public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_0(); + public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_1(long jarg1, TopoDS_CompSolid jarg1_); + public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_2(long jarg1, TopoDS_Shell jarg1_); + public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_3(long jarg1, TopoDS_Shell jarg1_, long jarg2, TopoDS_Shell jarg2_); + public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_4(long jarg1, TopoDS_Shell jarg1_, long jarg2, TopoDS_Shell jarg2_, long jarg3, TopoDS_Shell jarg3_); + public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_5(long jarg1, TopoDS_Solid jarg1_); + public final static native long new_BRepBuilderAPI_MakeSolid__SWIG_6(long jarg1, TopoDS_Solid jarg1_, long jarg2, TopoDS_Shell jarg2_); + public final static native void BRepBuilderAPI_MakeSolid_add(long jarg1, BRepBuilderAPI_MakeSolid jarg1_, long jarg2, TopoDS_Shell jarg2_); + public final static native boolean BRepBuilderAPI_MakeSolid_isDone(long jarg1, BRepBuilderAPI_MakeSolid jarg1_); + public final static native boolean BRepBuilderAPI_MakeSolid_isDeleted(long jarg1, BRepBuilderAPI_MakeSolid jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepBuilderAPI_MakeSolid(long jarg1); + public final static native long new_BRepBuilderAPI_Sewing__SWIG_0(double jarg1, boolean jarg2, boolean jarg3, boolean jarg4); + public final static native long new_BRepBuilderAPI_Sewing__SWIG_1(double jarg1, boolean jarg2, boolean jarg3); + public final static native long new_BRepBuilderAPI_Sewing__SWIG_2(double jarg1, boolean jarg2); + public final static native long new_BRepBuilderAPI_Sewing__SWIG_3(double jarg1); + public final static native long new_BRepBuilderAPI_Sewing__SWIG_4(); + public final static native void BRepBuilderAPI_Sewing_init__SWIG_0(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2, boolean jarg3, boolean jarg4, boolean jarg5); + public final static native void BRepBuilderAPI_Sewing_init__SWIG_1(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2, boolean jarg3, boolean jarg4); + public final static native void BRepBuilderAPI_Sewing_init__SWIG_2(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2, boolean jarg3); + public final static native void BRepBuilderAPI_Sewing_init__SWIG_3(long jarg1, BRepBuilderAPI_Sewing jarg1_, double jarg2); + public final static native void BRepBuilderAPI_Sewing_load(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void BRepBuilderAPI_Sewing_add(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void BRepBuilderAPI_Sewing_perform(long jarg1, BRepBuilderAPI_Sewing jarg1_); + public final static native long BRepBuilderAPI_Sewing_sewedShape(long jarg1, BRepBuilderAPI_Sewing jarg1_); + public final static native int BRepBuilderAPI_Sewing_nbFreeEdges(long jarg1, BRepBuilderAPI_Sewing jarg1_); + public final static native long BRepBuilderAPI_Sewing_freeEdge(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); + public final static native int BRepBuilderAPI_Sewing_nbMultipleEdges(long jarg1, BRepBuilderAPI_Sewing jarg1_); + public final static native long BRepBuilderAPI_Sewing_multipleEdge(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); + public final static native int BRepBuilderAPI_Sewing_nbDegeneratedShapes(long jarg1, BRepBuilderAPI_Sewing jarg1_); + public final static native long BRepBuilderAPI_Sewing_degeneratedShape(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); + public final static native int BRepBuilderAPI_Sewing_nbDeletedFaces(long jarg1, BRepBuilderAPI_Sewing jarg1_); + public final static native long BRepBuilderAPI_Sewing_deletedFace(long jarg1, BRepBuilderAPI_Sewing jarg1_, int jarg2); + public final static native boolean BRepBuilderAPI_Sewing_isDegenerated(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native boolean BRepBuilderAPI_Sewing_isModified(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native long BRepBuilderAPI_Sewing_modified(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void BRepBuilderAPI_Sewing_dump(long jarg1, BRepBuilderAPI_Sewing jarg1_); + public final static native boolean BRepBuilderAPI_Sewing_isModifiedSubShape(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native long BRepBuilderAPI_Sewing_modifiedSubShape(long jarg1, BRepBuilderAPI_Sewing jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepBuilderAPI_Sewing(long jarg1); + public final static native long new_BRepBuilderAPI_NurbsConvert__SWIG_0(); + public final static native long new_BRepBuilderAPI_NurbsConvert__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); + public final static native long new_BRepBuilderAPI_NurbsConvert__SWIG_2(long jarg1, TopoDS_Shape jarg1_); + public final static native void BRepBuilderAPI_NurbsConvert_perform__SWIG_0(long jarg1, BRepBuilderAPI_NurbsConvert jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); + public final static native void BRepBuilderAPI_NurbsConvert_perform__SWIG_1(long jarg1, BRepBuilderAPI_NurbsConvert jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepBuilderAPI_NurbsConvert(long jarg1); + public final static native long new_BRepOffsetAPI_ThruSections__SWIG_0(boolean jarg1, boolean jarg2, double jarg3); + public final static native long new_BRepOffsetAPI_ThruSections__SWIG_1(boolean jarg1, boolean jarg2); + public final static native long new_BRepOffsetAPI_ThruSections__SWIG_2(boolean jarg1); + public final static native long new_BRepOffsetAPI_ThruSections__SWIG_3(); + public final static native void BRepOffsetAPI_ThruSections_addWire(long jarg1, BRepOffsetAPI_ThruSections jarg1_, long jarg2, TopoDS_Wire jarg2_); + public final static native void BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_0(long jarg1, BRepOffsetAPI_ThruSections jarg1_, boolean jarg2); + public final static native void BRepOffsetAPI_ThruSections_checkCompatibility__SWIG_1(long jarg1, BRepOffsetAPI_ThruSections jarg1_); + public final static native long BRepOffsetAPI_ThruSections_shape(long jarg1, BRepOffsetAPI_ThruSections jarg1_); + public final static native void BRepOffsetAPI_ThruSections_init__SWIG_0(long jarg1, BRepOffsetAPI_ThruSections jarg1_, boolean jarg2, boolean jarg3, double jarg4); + public final static native void BRepOffsetAPI_ThruSections_init__SWIG_1(long jarg1, BRepOffsetAPI_ThruSections jarg1_, boolean jarg2, boolean jarg3); + public final static native void BRepOffsetAPI_ThruSections_init__SWIG_2(long jarg1, BRepOffsetAPI_ThruSections jarg1_, boolean jarg2); + public final static native void BRepOffsetAPI_ThruSections_init__SWIG_3(long jarg1, BRepOffsetAPI_ThruSections jarg1_); + public final static native void BRepOffsetAPI_ThruSections_addVertex(long jarg1, BRepOffsetAPI_ThruSections jarg1_, long jarg2, TopoDS_Vertex jarg2_); + public final static native void BRepOffsetAPI_ThruSections_build(long jarg1, BRepOffsetAPI_ThruSections jarg1_); + public final static native void delete_BRepOffsetAPI_ThruSections(long jarg1); + public final static native long new_BRepBuilderAPI_MakeShell__SWIG_0(); + public final static native long new_BRepBuilderAPI_MakeShell__SWIG_1(long jarg1, Geom_Surface jarg1_, boolean jarg2); + public final static native long new_BRepBuilderAPI_MakeShell__SWIG_2(long jarg1, Geom_Surface jarg1_); + public final static native long new_BRepBuilderAPI_MakeShell__SWIG_3(long jarg1, Geom_Surface jarg1_, double jarg2, double jarg3, double jarg4, double jarg5, boolean jarg6); + public final static native long new_BRepBuilderAPI_MakeShell__SWIG_4(long jarg1, Geom_Surface jarg1_, double jarg2, double jarg3, double jarg4, double jarg5); + public final static native void BRepBuilderAPI_MakeShell_init__SWIG_0(long jarg1, BRepBuilderAPI_MakeShell jarg1_, long jarg2, Geom_Surface jarg2_, double jarg3, double jarg4, double jarg5, double jarg6, boolean jarg7); + public final static native void BRepBuilderAPI_MakeShell_init__SWIG_1(long jarg1, BRepBuilderAPI_MakeShell jarg1_, long jarg2, Geom_Surface jarg2_, double jarg3, double jarg4, double jarg5, double jarg6); + public final static native boolean BRepBuilderAPI_MakeShell_isDone(long jarg1, BRepBuilderAPI_MakeShell jarg1_); + public final static native long BRepBuilderAPI_MakeShell_error(long jarg1, BRepBuilderAPI_MakeShell jarg1_); + public final static native long BRepBuilderAPI_MakeShell_Shell(long jarg1, BRepBuilderAPI_MakeShell jarg1_); + public final static native void delete_BRepBuilderAPI_MakeShell(long jarg1); + public final static native long new_BRepOffsetAPI_NormalProjection__SWIG_0(); + public final static native long new_BRepOffsetAPI_NormalProjection__SWIG_1(long jarg1, TopoDS_Shape jarg1_); + public final static native void BRepOffsetAPI_NormalProjection_init(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void BRepOffsetAPI_NormalProjection_add(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void BRepOffsetAPI_NormalProjection_setParams(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, double jarg2, double jarg3, int jarg4, int jarg5, int jarg6); + public final static native void BRepOffsetAPI_NormalProjection_setMaxDistance(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, double jarg2); + public final static native void BRepOffsetAPI_NormalProjection_setLimit__SWIG_0(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, boolean jarg2); + public final static native void BRepOffsetAPI_NormalProjection_setLimit__SWIG_1(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); + public final static native void BRepOffsetAPI_NormalProjection_compute3d__SWIG_0(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, boolean jarg2); + public final static native void BRepOffsetAPI_NormalProjection_compute3d__SWIG_1(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); + public final static native void BRepOffsetAPI_NormalProjection_build(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); + public final static native boolean BRepOffsetAPI_NormalProjection_isDone(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); + public final static native long BRepOffsetAPI_NormalProjection_projection(long jarg1, BRepOffsetAPI_NormalProjection jarg1_); + public final static native long BRepOffsetAPI_NormalProjection_couple(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Edge jarg2_); + public final static native long[] BRepOffsetAPI_NormalProjection_generated(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native long BRepOffsetAPI_NormalProjection_ancestor(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2, TopoDS_Edge jarg2_); + public final static native boolean BRepOffsetAPI_NormalProjection_buildWire(long jarg1, BRepOffsetAPI_NormalProjection jarg1_, long jarg2); + public final static native void delete_BRepOffsetAPI_NormalProjection(long jarg1); + public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5, boolean jarg6, boolean jarg7, long jarg8); + public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5, boolean jarg6, boolean jarg7); + public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5, boolean jarg6); + public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_3(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4, int jarg5); + public final static native long new_BRepOffsetAPI_MakeThickSolid__SWIG_4(long jarg1, TopoDS_Shape jarg1_, long[] jarg2, double jarg3, double jarg4); + public final static native void delete_BRepOffsetAPI_MakeThickSolid(long jarg1); + public final static native long new_BRepPrimAPI_MakeBox(double[] jarg1, double[] jarg2); + public final static native void delete_BRepPrimAPI_MakeBox(long jarg1); + public final static native long new_BRepPrimAPI_MakeCone(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5); + public final static native void delete_BRepPrimAPI_MakeCone(long jarg1); + public final static native long new_BRepPrimAPI_MakeCylinder(double[] jarg1, double jarg2, double jarg3, double jarg4); + public final static native void delete_BRepPrimAPI_MakeCylinder(long jarg1); + public final static native long new_BRepPrimAPI_MakeTorus__SWIG_0(double[] jarg1, double jarg2, double jarg3); + public final static native long new_BRepPrimAPI_MakeTorus__SWIG_1(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); + public final static native void delete_BRepPrimAPI_MakeTorus(long jarg1); + public final static native long new_BRepPrimAPI_MakeSphere__SWIG_0(double[] jarg1, double jarg2); + public final static native long new_BRepPrimAPI_MakeSphere__SWIG_1(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5); + public final static native void delete_BRepPrimAPI_MakeSphere(long jarg1); + public final static native void delete_BRepPrimAPI_MakeSweep(long jarg1); + public final static native long new_BRepPrimAPI_MakePrism__SWIG_0(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, boolean jarg3, boolean jarg4); + public final static native long new_BRepPrimAPI_MakePrism__SWIG_1(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, boolean jarg3); + public final static native long new_BRepPrimAPI_MakePrism__SWIG_2(long jarg1, TopoDS_Shape jarg1_, double[] jarg2); + public final static native void delete_BRepPrimAPI_MakePrism(long jarg1); + public final static native long new_BRepPrimAPI_MakeRevol__SWIG_0(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, double jarg3, boolean jarg4); + public final static native long new_BRepPrimAPI_MakeRevol__SWIG_1(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, double jarg3); + public final static native long new_BRepPrimAPI_MakeRevol__SWIG_2(long jarg1, TopoDS_Shape jarg1_, double[] jarg2, boolean jarg3); + public final static native long new_BRepPrimAPI_MakeRevol__SWIG_3(long jarg1, TopoDS_Shape jarg1_, double[] jarg2); + public final static native void delete_BRepPrimAPI_MakeRevol(long jarg1); + public final static native long new_BRepOffsetAPI_MakePipe(long jarg1, TopoDS_Wire jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepOffsetAPI_MakePipe(long jarg1); + public final static native long new_BRepPrimAPI_MakeWedge__SWIG_0(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8); + public final static native long new_BRepPrimAPI_MakeWedge__SWIG_1(double[] jarg1, double jarg2, double jarg3, double jarg4, double jarg5); + public final static native void delete_BRepPrimAPI_MakeWedge(long jarg1); + public final static native long[] BRepAlgoAPI_BooleanOperation_modified(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native boolean BRepAlgoAPI_BooleanOperation_isDeleted(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native long[] BRepAlgoAPI_BooleanOperation_generated(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native boolean BRepAlgoAPI_BooleanOperation_hasModified(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_); + public final static native boolean BRepAlgoAPI_BooleanOperation_hasGenerated(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_); + public final static native boolean BRepAlgoAPI_BooleanOperation_hasDeleted(long jarg1, BRepAlgoAPI_BooleanOperation jarg1_); + public final static native void delete_BRepAlgoAPI_BooleanOperation(long jarg1); + public final static native long new_BRepAlgoAPI_Fuse(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepAlgoAPI_Fuse(long jarg1); + public final static native long new_BRepAlgoAPI_Common(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepAlgoAPI_Common(long jarg1); + public final static native long new_BRepAlgoAPI_Cut(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepAlgoAPI_Cut(long jarg1); + public final static native long new_BRepAlgoAPI_Section(long jarg1, TopoDS_Shape jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_BRepAlgoAPI_Section(long jarg1); + public final static native long new_Poly_Triangulation(int jarg1, int jarg2, boolean jarg3); + public final static native double Poly_Triangulation_deflection__SWIG_0(long jarg1, Poly_Triangulation jarg1_); + public final static native void Poly_Triangulation_deflection__SWIG_1(long jarg1, Poly_Triangulation jarg1_, double jarg2); + public final static native void Poly_Triangulation_removeUVNodes(long jarg1, Poly_Triangulation jarg1_); + public final static native int Poly_Triangulation_nbNodes(long jarg1, Poly_Triangulation jarg1_); + public final static native int Poly_Triangulation_nbTriangles(long jarg1, Poly_Triangulation jarg1_); + public final static native boolean Poly_Triangulation_hasUVNodes(long jarg1, Poly_Triangulation jarg1_); + public final static native int[] Poly_Triangulation_triangles(long jarg1, Poly_Triangulation jarg1_); + public final static native double[] Poly_Triangulation_nodes(long jarg1, Poly_Triangulation jarg1_); + public final static native double[] Poly_Triangulation_uvNodes(long jarg1, Poly_Triangulation jarg1_); + public final static native void delete_Poly_Triangulation(long jarg1); + public final static native void delete_Geom_Geometry(long jarg1); + public final static native double Geom_Curve_firstParameter(long jarg1, Geom_Curve jarg1_); + public final static native double Geom_Curve_lastParameter(long jarg1, Geom_Curve jarg1_); + public final static native boolean Geom_Curve_isClosed(long jarg1, Geom_Curve jarg1_); + public final static native boolean Geom_Curve_isPeriodic(long jarg1, Geom_Curve jarg1_); + public final static native double Geom_Curve_period(long jarg1, Geom_Curve jarg1_); + public final static native void delete_Geom_Curve(long jarg1); + public final static native double[] Geom_Surface_value(long jarg1, Geom_Surface jarg1_, double jarg2, double jarg3); + public final static native void Geom_Surface_bounds__SWIG_0(long jarg1, Geom_Surface jarg1_, double[] jarg2); + public final static native void Geom_Surface_bounds__SWIG_1(long jarg1, Geom_Surface jarg1_, double[] jarg2, double[] jarg3, double[] jarg4, double[] jarg5); + public final static native boolean Geom_Surface_isUClosed(long jarg1, Geom_Surface jarg1_); + public final static native boolean Geom_Surface_isVClosed(long jarg1, Geom_Surface jarg1_); + public final static native long Geom_Surface_uIso(long jarg1, Geom_Surface jarg1_, double jarg2); + public final static native long Geom_Surface_vIso(long jarg1, Geom_Surface jarg1_, double jarg2); + public final static native void delete_Geom_Surface(long jarg1); + public final static native void delete_Geom2d_Geometry(long jarg1); + public final static native void delete_Geom2d_Curve(long jarg1); + public final static native void delete_Geom_BoundedCurve(long jarg1); + public final static native long new_Geom_BSplineCurve__SWIG_0(double[] jarg1, double[] jarg2, double[] jarg3, long jarg4, int jarg5, boolean jarg6, boolean jarg7); + public final static native long new_Geom_BSplineCurve__SWIG_1(double[] jarg1, double[] jarg2, double[] jarg3, long jarg4, int jarg5, boolean jarg6); + public final static native long new_Geom_BSplineCurve__SWIG_2(double[] jarg1, double[] jarg2, double[] jarg3, long jarg4, int jarg5); + public final static native void Geom_BSplineCurve_setKnot__SWIG_0(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double jarg3); + public final static native void Geom_BSplineCurve_setKnot__SWIG_1(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double jarg3, int jarg4); + public final static native void Geom_BSplineCurve_setPeriodic(long jarg1, Geom_BSplineCurve jarg1_); + public final static native void Geom_BSplineCurve_setNotPeriodic(long jarg1, Geom_BSplineCurve jarg1_); + public final static native void Geom_BSplineCurve_setOrigin__SWIG_0(long jarg1, Geom_BSplineCurve jarg1_, int jarg2); + public final static native void Geom_BSplineCurve_setOrigin__SWIG_1(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, double jarg3); + public final static native void Geom_BSplineCurve_setPole__SWIG_0(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double[] jarg3); + public final static native void Geom_BSplineCurve_setPole__SWIG_1(long jarg1, Geom_BSplineCurve jarg1_, int jarg2, double[] jarg3, double jarg4); + public final static native void Geom_BSplineCurve_movePoint(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, double[] jarg3, int jarg4, int jarg5, long jarg6, long jarg7); + public final static native void Geom_BSplineCurve_movePointAndTangent(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, double[] jarg3, double[] jarg4, double jarg5, int jarg6, int jarg7); + public final static native boolean Geom_BSplineCurve_isClosed(long jarg1, Geom_BSplineCurve jarg1_); + public final static native boolean Geom_BSplineCurve_isPeriodic(long jarg1, Geom_BSplineCurve jarg1_); + public final static native boolean Geom_BSplineCurve_isRational(long jarg1, Geom_BSplineCurve jarg1_); + public final static native int Geom_BSplineCurve_continuity(long jarg1, Geom_BSplineCurve jarg1_); + public final static native int Geom_BSplineCurve_Degree(long jarg1, Geom_BSplineCurve jarg1_); + public final static native double[] Geom_BSplineCurve_localValue(long jarg1, Geom_BSplineCurve jarg1_, double jarg2, int jarg3, int jarg4); + public final static native double[] Geom_BSplineCurve_endPoint(long jarg1, Geom_BSplineCurve jarg1_); + public final static native double[] Geom_BSplineCurve_startPoint(long jarg1, Geom_BSplineCurve jarg1_); + public final static native int Geom_BSplineCurve_nbKnots(long jarg1, Geom_BSplineCurve jarg1_); + public final static native int Geom_BSplineCurve_nbPoles(long jarg1, Geom_BSplineCurve jarg1_); + public final static native double[] Geom_BSplineCurve_pole(long jarg1, Geom_BSplineCurve jarg1_, int jarg2); + public final static native double Geom_BSplineCurve_weight(long jarg1, Geom_BSplineCurve jarg1_, int jarg2); + public final static native void delete_Geom_BSplineCurve(long jarg1); + public final static native void delete_Geom_TrimmedCurve(long jarg1); + public final static native void BRepLib_encodeRegularity__SWIG_0(long jarg1, TopoDS_Shape jarg1_, double jarg2); + public final static native void BRepLib_encodeRegularity__SWIG_1(long jarg1, TopoDS_Shape jarg1_); + public final static native long new_BRepLib(); + public final static native void delete_BRepLib(long jarg1); + public final static native void delete_BRepFilletAPI_LocalOperation(long jarg1); + public final static native long new_BRepFilletAPI_MakeFillet__SWIG_0(long jarg1, TopoDS_Shape jarg1_, int jarg2); + public final static native long new_BRepFilletAPI_MakeFillet__SWIG_1(long jarg1, TopoDS_Shape jarg1_); + public final static native void BRepFilletAPI_MakeFillet_add(long jarg1, BRepFilletAPI_MakeFillet jarg1_, double jarg2, long jarg3, TopoDS_Edge jarg3_); + public final static native void delete_BRepFilletAPI_MakeFillet(long jarg1); + public final static native long new_BRepFilletAPI_MakeChamfer(long jarg1, TopoDS_Shape jarg1_); + public final static native void BRepFilletAPI_MakeChamfer_add(long jarg1, BRepFilletAPI_MakeChamfer jarg1_, double jarg2, long jarg3, TopoDS_Edge jarg3_, long jarg4, TopoDS_Face jarg4_); + public final static native void delete_BRepFilletAPI_MakeChamfer(long jarg1); + public final static native long new_BRepCheck_Analyzer__SWIG_0(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); + public final static native long new_BRepCheck_Analyzer__SWIG_1(long jarg1, TopoDS_Shape jarg1_); + public final static native void BRepCheck_Analyzer_init__SWIG_0(long jarg1, BRepCheck_Analyzer jarg1_, long jarg2, TopoDS_Shape jarg2_, boolean jarg3); + public final static native void BRepCheck_Analyzer_init__SWIG_1(long jarg1, BRepCheck_Analyzer jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native boolean BRepCheck_Analyzer_isValid(long jarg1, BRepCheck_Analyzer jarg1_); + public final static native void delete_BRepCheck_Analyzer(long jarg1); + public final static native long new_ShapeBuild_ReShape(); + public final static native void ShapeBuild_ReShape_replace(long jarg1, ShapeBuild_ReShape jarg1_, long jarg2, TopoDS_Shape jarg2_, long jarg3, TopoDS_Shape jarg3_); + public final static native long ShapeBuild_ReShape_apply__SWIG_0(long jarg1, ShapeBuild_ReShape jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3); + public final static native long ShapeBuild_ReShape_apply__SWIG_1(long jarg1, ShapeBuild_ReShape jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_ShapeBuild_ReShape(long jarg1); + public final static native int XSControl_Reader_readFile__SWIG_0(long jarg1, XSControl_Reader jarg1_, String jarg2); + public final static native int XSControl_Reader_transferRoots(long jarg1, XSControl_Reader jarg1_); + public final static native void XSControl_Reader_clearShapes(long jarg1, XSControl_Reader jarg1_); + public final static native int XSControl_Reader_nbRootsForTransfer(long jarg1, XSControl_Reader jarg1_); + public final static native long XSControl_Reader_oneShape(long jarg1, XSControl_Reader jarg1_); + public final static native int XSControl_Reader_readFile__SWIG_1(long jarg1, XSControl_Reader jarg1_, byte[] jarg2); + public final static native boolean XSControl_Reader_setReadUnitM(long jarg1, XSControl_Reader jarg1_); + public final static native boolean XSControl_Reader_setReadUnitMM(long jarg1, XSControl_Reader jarg1_); + public final static native void delete_XSControl_Reader(long jarg1); + public final static native long new_STEPControl_Reader(); + public final static native String STEPControl_Reader_getLabel(long jarg1, STEPControl_Reader jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void delete_STEPControl_Reader(long jarg1); + public final static native long new_IGESControl_Reader(); + public final static native String IGESControl_Reader_getLabel(long jarg1, IGESControl_Reader jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native long IGESControl_Reader_getShape(long jarg1, IGESControl_Reader jarg1_, String jarg2); + public final static native void IGESControl_Reader_dumpLabels(long jarg1, IGESControl_Reader jarg1_); + public final static native void delete_IGESControl_Reader(long jarg1); + public final static native long new_STEPControl_Writer(); + public final static native int STEPControl_Writer_write(long jarg1, STEPControl_Writer jarg1_, String jarg2); + public final static native int STEPControl_Writer_transfer(long jarg1, STEPControl_Writer jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3); + public final static native void delete_STEPControl_Writer(long jarg1); + public final static native long new_IGESControl_Writer__SWIG_0(); + public final static native long new_IGESControl_Writer__SWIG_1(String jarg1, int jarg2); + public final static native long new_IGESControl_Writer__SWIG_2(String jarg1); + public final static native boolean IGESControl_Writer_write(long jarg1, IGESControl_Writer jarg1_, String jarg2); + public final static native boolean IGESControl_Writer_addShape(long jarg1, IGESControl_Writer jarg1_, long jarg2, TopoDS_Shape jarg2_); + public final static native void IGESControl_Writer_computeModel(long jarg1, IGESControl_Writer jarg1_); + public final static native void delete_IGESControl_Writer(long jarg1); + public final static native long new_IGESControl_Controller(); + public final static native void IGESControl_Controller_init(long jarg1, IGESControl_Controller jarg1_); + public final static native void delete_IGESControl_Controller(long jarg1); + public final static native void ShapeFix_Root_setPrecision(long jarg1, ShapeFix_Root jarg1_, double jarg2); + public final static native double ShapeFix_Root_getPrecision(long jarg1, ShapeFix_Root jarg1_); + public final static native void ShapeFix_Root_setContext(long jarg1, ShapeFix_Root jarg1_, long jarg2, ShapeBuild_ReShape jarg2_); + public final static native long ShapeFix_Root_getContext(long jarg1, ShapeFix_Root jarg1_); + public final static native void delete_ShapeFix_Root(long jarg1); + public final static native long new_ShapeFix_Wireframe(long jarg1, TopoDS_Shape jarg1_); + public final static native boolean ShapeFix_Wireframe_fixWireGaps(long jarg1, ShapeFix_Wireframe jarg1_); + public final static native boolean ShapeFix_Wireframe_fixSmallEdges(long jarg1, ShapeFix_Wireframe jarg1_); + public final static native void ShapeFix_Wireframe_setLimitAngle(long jarg1, ShapeFix_Wireframe jarg1_, double jarg2); + public final static native double ShapeFix_Wireframe_getLimitAngle(long jarg1, ShapeFix_Wireframe jarg1_); + public final static native long ShapeFix_Wireframe_shape(long jarg1, ShapeFix_Wireframe jarg1_); + public final static native void ShapeFix_Wireframe_setDropSmallEdges(long jarg1, ShapeFix_Wireframe jarg1_, boolean jarg2); + public final static native boolean ShapeFix_Wireframe_getDropSmallEdges(long jarg1, ShapeFix_Wireframe jarg1_); + public final static native void delete_ShapeFix_Wireframe(long jarg1); + public final static native void delete_ShapeUpgrade_Tool(long jarg1); + public final static native long new_ShapeUpgrade_RemoveInternalWires(long jarg1, TopoDS_Shape jarg1_); + public final static native boolean ShapeUpgrade_RemoveInternalWires_perform(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); + public final static native long ShapeUpgrade_RemoveInternalWires_getResult(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); + public final static native void ShapeUpgrade_RemoveInternalWires_setMinArea(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_, double jarg2); + public final static native double ShapeUpgrade_RemoveInternalWires_getMinArea(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); + public final static native void ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_, boolean jarg2); + public final static native boolean ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(long jarg1, ShapeUpgrade_RemoveInternalWires jarg1_); + public final static native void delete_ShapeUpgrade_RemoveInternalWires(long jarg1); + public final static native long ShapeUpgrade_ShapeDivide_getResult(long jarg1, ShapeUpgrade_ShapeDivide jarg1_); + public final static native boolean ShapeUpgrade_ShapeDivide_perform__SWIG_0(long jarg1, ShapeUpgrade_ShapeDivide jarg1_, boolean jarg2); + public final static native boolean ShapeUpgrade_ShapeDivide_perform__SWIG_1(long jarg1, ShapeUpgrade_ShapeDivide jarg1_); + public final static native long new_ShapeUpgrade_ShapeDivide(); + public final static native void delete_ShapeUpgrade_ShapeDivide(long jarg1); + public final static native long new_ShapeUpgrade_ShapeDivideArea(long jarg1, TopoDS_Shape jarg1_); + public final static native void ShapeUpgrade_ShapeDivideArea_setMaxArea(long jarg1, ShapeUpgrade_ShapeDivideArea jarg1_, double jarg2); + public final static native double ShapeUpgrade_ShapeDivideArea_getMaxArea(long jarg1, ShapeUpgrade_ShapeDivideArea jarg1_); + public final static native void delete_ShapeUpgrade_ShapeDivideArea(long jarg1); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_0(); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_1(double[] jarg1, int jarg2, int jarg3, int jarg4, double jarg5); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_2(double[] jarg1, int jarg2, int jarg3, int jarg4); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_3(double[] jarg1, int jarg2, int jarg3); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_4(double[] jarg1, int jarg2); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_5(double[] jarg1); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_6(double[] jarg1, double[] jarg2, int jarg3, int jarg4, int jarg5, double jarg6); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_7(double[] jarg1, double[] jarg2, int jarg3, int jarg4, int jarg5); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_8(double[] jarg1, double[] jarg2, int jarg3, int jarg4); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_9(double[] jarg1, double[] jarg2, int jarg3); + public final static native long new_GeomAPI_PointsToBSpline__SWIG_10(double[] jarg1, double[] jarg2); + public final static native long GeomAPI_PointsToBSpline_Curve(long jarg1, GeomAPI_PointsToBSpline jarg1_); + public final static native void delete_GeomAPI_PointsToBSpline(long jarg1); + public final static native long new_GeomAPI_Interpolate(double[] jarg1, boolean jarg2, double jarg3); + public final static native void GeomAPI_Interpolate_Load__SWIG_0(long jarg1, GeomAPI_Interpolate jarg1_, double[] jarg2, boolean[] jarg3, boolean jarg4); + public final static native void GeomAPI_Interpolate_Load__SWIG_1(long jarg1, GeomAPI_Interpolate jarg1_, double[] jarg2, boolean[] jarg3); + public final static native void GeomAPI_Interpolate_Perform(long jarg1, GeomAPI_Interpolate jarg1_); + public final static native long GeomAPI_Interpolate_Curve(long jarg1, GeomAPI_Interpolate jarg1_); + public final static native void delete_GeomAPI_Interpolate(long jarg1); + public final static native boolean GC_Root_isDone(long jarg1, GC_Root jarg1_); + public final static native long new_GC_Root(); + public final static native void delete_GC_Root(long jarg1); + public final static native long new_GC_MakeArcOfCircle__SWIG_0(double[] jarg1, double[] jarg2, double[] jarg3); + public final static native long new_GC_MakeArcOfCircle__SWIG_1(long jarg1, GP_Circ jarg1_, double[] jarg2, double[] jarg3, boolean jarg4); + public final static native long GC_MakeArcOfCircle_value(long jarg1, GC_MakeArcOfCircle jarg1_); + public final static native long new_GC_MakeArcOfCircle__SWIG_2(long jarg1, GP_Circ jarg1_, double jarg2, double jarg3, boolean jarg4); + public final static native long new_GC_MakeArcOfCircle__SWIG_3(long jarg1, GP_Circ jarg1_, double[] jarg2, double jarg3, boolean jarg4); + public final static native void delete_GC_MakeArcOfCircle(long jarg1); + public final static native long new_GC_MakeSegment__SWIG_0(double[] jarg1, double[] jarg2); + public final static native long new_GC_MakeSegment__SWIG_1(long jarg1, GP_Lin jarg1_, double jarg2, double jarg3); + public final static native long new_GC_MakeSegment__SWIG_2(long jarg1, GP_Lin jarg1_, double[] jarg2, double jarg3); + public final static native long new_GC_MakeSegment__SWIG_3(long jarg1, GP_Lin jarg1_, double[] jarg2, double[] jarg3); + public final static native long GC_MakeSegment_value(long jarg1, GC_MakeSegment jarg1_); + public final static native void delete_GC_MakeSegment(long jarg1); + public final static native long new_GC_MakeArcOfEllipse__SWIG_0(long jarg1, GP_Elips jarg1_, double jarg2, double jarg3, boolean jarg4); + public final static native long new_GC_MakeArcOfEllipse__SWIG_1(long jarg1, GP_Elips jarg1_, double[] jarg2, double jarg3, boolean jarg4); + public final static native long new_GC_MakeArcOfEllipse__SWIG_2(long jarg1, GP_Elips jarg1_, double[] jarg2, double[] jarg3, boolean jarg4); + public final static native long GC_MakeArcOfEllipse_value(long jarg1, GC_MakeArcOfEllipse jarg1_); + public final static native void delete_GC_MakeArcOfEllipse(long jarg1); + public final static native boolean TopLoc_Location_isIdentity(long jarg1, TopLoc_Location jarg1_); + public final static native long TopLoc_Location_transformation(long jarg1, TopLoc_Location jarg1_); + public final static native long new_TopLoc_Location(); + public final static native void delete_TopLoc_Location(long jarg1); + public final static native void TopExp_vertices__SWIG_0(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_, boolean jarg4); + public final static native void TopExp_vertices__SWIG_1(long jarg1, TopoDS_Edge jarg1_, long jarg2, TopoDS_Vertex jarg2_, long jarg3, TopoDS_Vertex jarg3_); + public final static native long new_TopExp(); + public final static native void delete_TopExp(long jarg1); + public final static native long new_TopExp_Explorer__SWIG_0(); + public final static native long new_TopExp_Explorer__SWIG_1(long jarg1, TopoDS_Shape jarg1_, int jarg2, int jarg3); + public final static native long new_TopExp_Explorer__SWIG_2(long jarg1, TopoDS_Shape jarg1_, int jarg2); + public final static native void TopExp_Explorer_init__SWIG_0(long jarg1, TopExp_Explorer jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3, int jarg4); + public final static native void TopExp_Explorer_init__SWIG_1(long jarg1, TopExp_Explorer jarg1_, long jarg2, TopoDS_Shape jarg2_, int jarg3); + public final static native boolean TopExp_Explorer_more(long jarg1, TopExp_Explorer jarg1_); + public final static native void TopExp_Explorer_next(long jarg1, TopExp_Explorer jarg1_); + public final static native long TopExp_Explorer_current(long jarg1, TopExp_Explorer jarg1_); + public final static native void delete_TopExp_Explorer(long jarg1); + public final static native long new_Bnd_Box(); + public final static native boolean Bnd_Box_isVoid(long jarg1, Bnd_Box jarg1_); + public final static native void Bnd_Box_get(long jarg1, Bnd_Box jarg1_, double[] jarg2); + public final static native void delete_Bnd_Box(long jarg1); + public final static native void BRepBndLib_add(long jarg1, TopoDS_Shape jarg1_, long jarg2, Bnd_Box jarg2_); + public final static native long new_BRepBndLib(); + public final static native void delete_BRepBndLib(long jarg1); + public final static native double[] Adaptor2d_Curve2d_value(long jarg1, Adaptor2d_Curve2d jarg1_, double jarg2); + public final static native void delete_Adaptor2d_Curve2d(long jarg1); + public final static native long new_Geom2dAdaptor_Curve__SWIG_0(); + public final static native long new_Geom2dAdaptor_Curve__SWIG_1(long jarg1, Geom2d_Curve jarg1_); + public final static native long new_Geom2dAdaptor_Curve__SWIG_2(long jarg1, Geom2d_Curve jarg1_, double jarg2, double jarg3); + public final static native void Geom2dAdaptor_Curve_load__SWIG_0(long jarg1, Geom2dAdaptor_Curve jarg1_, long jarg2, Geom2d_Curve jarg2_); + public final static native void Geom2dAdaptor_Curve_load__SWIG_1(long jarg1, Geom2dAdaptor_Curve jarg1_, long jarg2, Geom2d_Curve jarg2_, double jarg3, double jarg4); + public final static native void delete_Geom2dAdaptor_Curve(long jarg1); + public final static native double[] Adaptor3d_Curve_value(long jarg1, Adaptor3d_Curve jarg1_, double jarg2); + public final static native void Adaptor3d_Curve_arrayValues(long jarg1, Adaptor3d_Curve jarg1_, int jarg2, double[] jarg3); + public final static native void delete_Adaptor3d_Curve(long jarg1); + public final static native long new_GeomAdaptor_Curve__SWIG_0(); + public final static native long new_GeomAdaptor_Curve__SWIG_1(long jarg1, Geom_Curve jarg1_); + public final static native long new_GeomAdaptor_Curve__SWIG_2(long jarg1, Geom_Curve jarg1_, double jarg2, double jarg3); + public final static native void GeomAdaptor_Curve_load__SWIG_0(long jarg1, GeomAdaptor_Curve jarg1_, long jarg2, Geom_Curve jarg2_); + public final static native void GeomAdaptor_Curve_load__SWIG_1(long jarg1, GeomAdaptor_Curve jarg1_, long jarg2, Geom_Curve jarg2_, double jarg3, double jarg4); + public final static native void delete_GeomAdaptor_Curve(long jarg1); + public final static native long new_GProp_GProps(); + public final static native double GProp_GProps_mass(long jarg1, GProp_GProps jarg1_); + public final static native double[] GProp_GProps_centreOfMass(long jarg1, GProp_GProps jarg1_); + public final static native double[] GProp_GProps_matrixOfInertia(long jarg1, GProp_GProps jarg1_); + public final static native void delete_GProp_GProps(long jarg1); + public final static native long new_GProp_PGProps(); + public final static native void delete_GProp_PGProps(long jarg1); + public final static native long new_GProp_CelGProps(); + public final static native void delete_GProp_CelGProps(long jarg1); + public final static native long new_GProp_SelGProps(); + public final static native void delete_GProp_SelGProps(long jarg1); + public final static native long new_GProp_VelGProps(); + public final static native void delete_GProp_VelGProps(long jarg1); + public final static native void BRepGProp_linearProperties(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_); + public final static native void BRepGProp_volumeProperties__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, boolean jarg3); + public final static native void BRepGProp_volumeProperties__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_); + public final static native double BRepGProp_volumeProperties__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4); + public final static native double BRepGProp_volumeProperties__SWIG_3(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3); + public final static native void BRepGProp_surfaceProperties__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_); + public final static native double BRepGProp_surfaceProperties__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3); + public final static native double BRepGProp_volumePropertiesGK__SWIG_0(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4, boolean jarg5, boolean jarg6, boolean jarg7); + public final static native double BRepGProp_volumePropertiesGK__SWIG_1(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4, boolean jarg5, boolean jarg6); + public final static native double BRepGProp_volumePropertiesGK__SWIG_2(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4, boolean jarg5); + public final static native double BRepGProp_volumePropertiesGK__SWIG_3(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3, boolean jarg4); + public final static native double BRepGProp_volumePropertiesGK__SWIG_4(long jarg1, TopoDS_Shape jarg1_, long jarg2, GProp_GProps jarg2_, double jarg3); + public final static native long new_BRepGProp(); + public final static native void delete_BRepGProp(long jarg1); + public final static native long new_ShapeAnalysis_FreeBounds__SWIG_0(long jarg1, TopoDS_Shape jarg1_, boolean jarg2, boolean jarg3); + public final static native long new_ShapeAnalysis_FreeBounds__SWIG_1(long jarg1, TopoDS_Shape jarg1_, boolean jarg2); + public final static native long new_ShapeAnalysis_FreeBounds__SWIG_2(long jarg1, TopoDS_Shape jarg1_); + public final static native long ShapeAnalysis_FreeBounds_getClosedWires(long jarg1, ShapeAnalysis_FreeBounds jarg1_); + public final static native long ShapeAnalysis_FreeBounds_getOpenWires(long jarg1, ShapeAnalysis_FreeBounds jarg1_); + public final static native void delete_ShapeAnalysis_FreeBounds(long jarg1); + public final static native long new_GCPnts_UniformDeflection(); + public final static native void GCPnts_UniformDeflection_initialize__SWIG_0(long jarg1, GCPnts_UniformDeflection jarg1_, long jarg2, Adaptor3d_Curve jarg2_, double jarg3, double jarg4, double jarg5, boolean jarg6); + public final static native void GCPnts_UniformDeflection_initialize__SWIG_1(long jarg1, GCPnts_UniformDeflection jarg1_, long jarg2, Adaptor3d_Curve jarg2_, double jarg3, double jarg4, double jarg5); + public final static native int GCPnts_UniformDeflection_nbPoints(long jarg1, GCPnts_UniformDeflection jarg1_); + public final static native double GCPnts_UniformDeflection_parameter(long jarg1, GCPnts_UniformDeflection jarg1_, int jarg2); + public final static native void delete_GCPnts_UniformDeflection(long jarg1); + public final static native void BRepMesh_DiscretRoot_perform(long jarg1, BRepMesh_DiscretRoot jarg1_); + public final static native void delete_BRepMesh_DiscretRoot(long jarg1); + public final static native long new_BRepMesh_IncrementalMesh__SWIG_0(); + public final static native long new_BRepMesh_IncrementalMesh__SWIG_1(long jarg1, TopoDS_Shape jarg1_, double jarg2, boolean jarg3, double jarg4); + public final static native long new_BRepMesh_IncrementalMesh__SWIG_2(long jarg1, TopoDS_Shape jarg1_, double jarg2, boolean jarg3); + public final static native long new_BRepMesh_IncrementalMesh__SWIG_3(long jarg1, TopoDS_Shape jarg1_, double jarg2); + public final static native void BRepMesh_IncrementalMesh_perform(long jarg1, BRepMesh_IncrementalMesh jarg1_); + public final static native boolean BRepMesh_IncrementalMesh_isModified(long jarg1, BRepMesh_IncrementalMesh jarg1_); + public final static native void delete_BRepMesh_IncrementalMesh(long jarg1); + public final static native long new_GeomAPI_ProjectPointOnSurf(double[] jarg1, long jarg2, Geom_Surface jarg2_); + public final static native void GeomAPI_ProjectPointOnSurf_init(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, double[] jarg2, long jarg3, Geom_Surface jarg3_); + public final static native int GeomAPI_ProjectPointOnSurf_nbPoints(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_); + public final static native double GeomAPI_ProjectPointOnSurf_lowerDistance(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_); + public final static native double[] GeomAPI_ProjectPointOnSurf_point(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, int jarg2); + public final static native void GeomAPI_ProjectPointOnSurf_lowerDistanceParameters(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, double[] jarg2, double[] jarg3); + public final static native void GeomAPI_ProjectPointOnSurf_parameters(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_, int jarg2, double[] jarg3, double[] jarg4); + public final static native double[] GeomAPI_ProjectPointOnSurf_nearestPoint(long jarg1, GeomAPI_ProjectPointOnSurf jarg1_); + public final static native void delete_GeomAPI_ProjectPointOnSurf(long jarg1); + public final static native boolean BRepAlgo_isValid(long jarg1, TopoDS_Shape jarg1_); + public final static native boolean BRepAlgo_isTopologicallyValid(long jarg1, TopoDS_Shape jarg1_); + public final static native long new_BRepAlgo(); + public final static native void delete_BRepAlgo(long jarg1); + public final static native long TopoDS_Compound_SWIGUpcast(long jarg1); + public final static native long TopoDS_CompSolid_SWIGUpcast(long jarg1); + public final static native long TopoDS_Solid_SWIGUpcast(long jarg1); + public final static native long TopoDS_Shell_SWIGUpcast(long jarg1); + public final static native long TopoDS_Face_SWIGUpcast(long jarg1); + public final static native long TopoDS_Wire_SWIGUpcast(long jarg1); + public final static native long TopoDS_Edge_SWIGUpcast(long jarg1); + public final static native long TopoDS_Vertex_SWIGUpcast(long jarg1); + public final static native long BRep_Builder_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_MakeShape_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_ModifyShape_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_Transform_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_MakeVertex_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_MakeWire_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_MakeEdge_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_MakeFace_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_MakeSolid_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_NurbsConvert_SWIGUpcast(long jarg1); + public final static native long BRepOffsetAPI_ThruSections_SWIGUpcast(long jarg1); + public final static native long BRepBuilderAPI_MakeShell_SWIGUpcast(long jarg1); + public final static native long BRepOffsetAPI_NormalProjection_SWIGUpcast(long jarg1); + public final static native long BRepOffsetAPI_MakeThickSolid_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeBox_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeCone_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeCylinder_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeTorus_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeSphere_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeSweep_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakePrism_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeRevol_SWIGUpcast(long jarg1); + public final static native long BRepOffsetAPI_MakePipe_SWIGUpcast(long jarg1); + public final static native long BRepPrimAPI_MakeWedge_SWIGUpcast(long jarg1); + public final static native long BRepAlgoAPI_BooleanOperation_SWIGUpcast(long jarg1); + public final static native long BRepAlgoAPI_Fuse_SWIGUpcast(long jarg1); + public final static native long BRepAlgoAPI_Common_SWIGUpcast(long jarg1); + public final static native long BRepAlgoAPI_Cut_SWIGUpcast(long jarg1); + public final static native long BRepAlgoAPI_Section_SWIGUpcast(long jarg1); + public final static native long BRepFilletAPI_LocalOperation_SWIGUpcast(long jarg1); + public final static native long BRepFilletAPI_MakeFillet_SWIGUpcast(long jarg1); + public final static native long BRepFilletAPI_MakeChamfer_SWIGUpcast(long jarg1); + public final static native long STEPControl_Reader_SWIGUpcast(long jarg1); + public final static native long IGESControl_Reader_SWIGUpcast(long jarg1); + public final static native long ShapeFix_Wireframe_SWIGUpcast(long jarg1); + public final static native long ShapeUpgrade_RemoveInternalWires_SWIGUpcast(long jarg1); + public final static native long ShapeUpgrade_ShapeDivideArea_SWIGUpcast(long jarg1); + public final static native long GC_MakeArcOfCircle_SWIGUpcast(long jarg1); + public final static native long GC_MakeSegment_SWIGUpcast(long jarg1); + public final static native long GC_MakeArcOfEllipse_SWIGUpcast(long jarg1); + public final static native long Geom2dAdaptor_Curve_SWIGUpcast(long jarg1); + public final static native long GeomAdaptor_Curve_SWIGUpcast(long jarg1); + public final static native long GProp_PGProps_SWIGUpcast(long jarg1); + public final static native long GProp_CelGProps_SWIGUpcast(long jarg1); + public final static native long GProp_SelGProps_SWIGUpcast(long jarg1); + public final static native long GProp_VelGProps_SWIGUpcast(long jarg1); + public final static native long BRepMesh_IncrementalMesh_SWIGUpcast(long jarg1); +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Poly_Triangulation.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Poly_Triangulation.java index d3da4e79..33ecfdbe 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Poly_Triangulation.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/Poly_Triangulation.java @@ -1,78 +1,78 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class Poly_Triangulation { - private long swigCPtr; - protected boolean swigCMemOwn; - - public Poly_Triangulation(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(Poly_Triangulation obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_Poly_Triangulation(swigCPtr); - } - swigCPtr = 0; - } - } - - public Poly_Triangulation(int nbNodes, int nbTriangles, boolean UVNodes) { - this(OccJavaJNI.new_Poly_Triangulation(nbNodes, nbTriangles, UVNodes), true); - } - - public double deflection() { - return OccJavaJNI.Poly_Triangulation_deflection__SWIG_0(swigCPtr, this); - } - - public void deflection(double D) { - OccJavaJNI.Poly_Triangulation_deflection__SWIG_1(swigCPtr, this, D); - } - - public void removeUVNodes() { - OccJavaJNI.Poly_Triangulation_removeUVNodes(swigCPtr, this); - } - - public int nbNodes() { - return OccJavaJNI.Poly_Triangulation_nbNodes(swigCPtr, this); - } - - public int nbTriangles() { - return OccJavaJNI.Poly_Triangulation_nbTriangles(swigCPtr, this); - } - - public boolean hasUVNodes() { - return OccJavaJNI.Poly_Triangulation_hasUVNodes(swigCPtr, this); -} - - public int[] triangles() { - return OccJavaJNI.Poly_Triangulation_triangles(swigCPtr, this); -} - - public double[] nodes() { - return OccJavaJNI.Poly_Triangulation_nodes(swigCPtr, this); -} - - public double[] uvNodes() { - return OccJavaJNI.Poly_Triangulation_uvNodes(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class Poly_Triangulation { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected Poly_Triangulation(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(Poly_Triangulation obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_Poly_Triangulation(swigCPtr); + } + swigCPtr = 0; + } + } + + public Poly_Triangulation(int nbNodes, int nbTriangles, boolean UVNodes) { + this(OccJavaJNI.new_Poly_Triangulation(nbNodes, nbTriangles, UVNodes), true); + } + + public double deflection() { + return OccJavaJNI.Poly_Triangulation_deflection__SWIG_0(swigCPtr, this); + } + + public void deflection(double D) { + OccJavaJNI.Poly_Triangulation_deflection__SWIG_1(swigCPtr, this, D); + } + + public void removeUVNodes() { + OccJavaJNI.Poly_Triangulation_removeUVNodes(swigCPtr, this); + } + + public int nbNodes() { + return OccJavaJNI.Poly_Triangulation_nbNodes(swigCPtr, this); + } + + public int nbTriangles() { + return OccJavaJNI.Poly_Triangulation_nbTriangles(swigCPtr, this); + } + + public boolean hasUVNodes() { + return OccJavaJNI.Poly_Triangulation_hasUVNodes(swigCPtr, this); +} + + public int[] triangles() { + return OccJavaJNI.Poly_Triangulation_triangles(swigCPtr, this); +} + + public double[] nodes() { + return OccJavaJNI.Poly_Triangulation_nodes(swigCPtr, this); +} + + public double[] uvNodes() { + return OccJavaJNI.Poly_Triangulation_uvNodes(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java index 37027acf..91cc5e4c 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Reader.java @@ -1,46 +1,46 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class STEPControl_Reader extends XSControl_Reader { - private long swigCPtr; - - public STEPControl_Reader(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.STEPControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(STEPControl_Reader obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_STEPControl_Reader(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public STEPControl_Reader() { - this(OccJavaJNI.new_STEPControl_Reader(), true); - } - - public String getLabel(TopoDS_Shape theShape) { - return OccJavaJNI.STEPControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class STEPControl_Reader extends XSControl_Reader { + private transient long swigCPtr; + + protected STEPControl_Reader(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.STEPControl_Reader_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(STEPControl_Reader obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_STEPControl_Reader(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public STEPControl_Reader() { + this(OccJavaJNI.new_STEPControl_Reader(), true); + } + + public String getLabel(TopoDS_Shape theShape) { + return OccJavaJNI.STEPControl_Reader_getLabel(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_StepModelType.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_StepModelType.java index c67aee6d..530bca52 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_StepModelType.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_StepModelType.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public enum STEPControl_StepModelType { - AsIs, - ManifoldSolidBrep, - BrepWithVoids, - FacetedBrep, - FacetedBrepAndBrepWithVoids, - ShellBasedSurfaceModel, - GeometricCurveSet, - Hybrid; - - public final int swigValue() { - return swigValue; - } - - public static STEPControl_StepModelType swigToEnum(int swigValue) { - STEPControl_StepModelType[] swigValues = STEPControl_StepModelType.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (STEPControl_StepModelType swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + STEPControl_StepModelType.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private STEPControl_StepModelType() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private STEPControl_StepModelType(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private STEPControl_StepModelType(STEPControl_StepModelType swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public enum STEPControl_StepModelType { + AsIs, + ManifoldSolidBrep, + BrepWithVoids, + FacetedBrep, + FacetedBrepAndBrepWithVoids, + ShellBasedSurfaceModel, + GeometricCurveSet, + Hybrid; + + public final int swigValue() { + return swigValue; + } + + public static STEPControl_StepModelType swigToEnum(int swigValue) { + STEPControl_StepModelType[] swigValues = STEPControl_StepModelType.class.getEnumConstants(); + if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) + return swigValues[swigValue]; + for (STEPControl_StepModelType swigEnum : swigValues) + if (swigEnum.swigValue == swigValue) + return swigEnum; + throw new IllegalArgumentException("No enum " + STEPControl_StepModelType.class + " with value " + swigValue); + } + + @SuppressWarnings("unused") + private STEPControl_StepModelType() { + this.swigValue = SwigNext.next++; + } + + @SuppressWarnings("unused") + private STEPControl_StepModelType(int swigValue) { + this.swigValue = swigValue; + SwigNext.next = swigValue+1; + } + + @SuppressWarnings("unused") + private STEPControl_StepModelType(STEPControl_StepModelType swigEnum) { + this.swigValue = swigEnum.swigValue; + SwigNext.next = this.swigValue+1; + } + + private final int swigValue; + + private static class SwigNext { + private static int next = 0; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Writer.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Writer.java index e279bc78..33bb795f 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Writer.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/STEPControl_Writer.java @@ -1,54 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class STEPControl_Writer { - private long swigCPtr; - protected boolean swigCMemOwn; - - public STEPControl_Writer(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(STEPControl_Writer obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_STEPControl_Writer(swigCPtr); - } - swigCPtr = 0; - } - } - - public STEPControl_Writer() { - this(OccJavaJNI.new_STEPControl_Writer(), true); - } - - public IFSelect_ReturnStatus write(String filename) { - return IFSelect_ReturnStatus.swigToEnum(OccJavaJNI.STEPControl_Writer_write(swigCPtr, this, filename)); - } - - public IFSelect_ReturnStatus transfer(TopoDS_Shape theShape, STEPControl_StepModelType mode) { - return IFSelect_ReturnStatus.swigToEnum(OccJavaJNI.STEPControl_Writer_transfer(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape, mode.swigValue())); - } - - public SWIGTYPE_p_Handle_StepData_StepModel model(boolean newone) { - return new SWIGTYPE_p_Handle_StepData_StepModel(OccJavaJNI.STEPControl_Writer_model(swigCPtr, this, newone), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class STEPControl_Writer { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected STEPControl_Writer(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(STEPControl_Writer obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_STEPControl_Writer(swigCPtr); + } + swigCPtr = 0; + } + } + + public STEPControl_Writer() { + this(OccJavaJNI.new_STEPControl_Writer(), true); + } + + public IFSelect_ReturnStatus write(String filename) { + return IFSelect_ReturnStatus.swigToEnum(OccJavaJNI.STEPControl_Writer_write(swigCPtr, this, filename)); + } + + public IFSelect_ReturnStatus transfer(TopoDS_Shape theShape, STEPControl_StepModelType mode) { + return IFSelect_ReturnStatus.swigToEnum(OccJavaJNI.STEPControl_Writer_transfer(swigCPtr, this, TopoDS_Shape.getCPtr(theShape), theShape, mode.swigValue())); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_FaceError.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_FaceError.java index 4614b07d..8973bf94 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_FaceError.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_FaceError.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_BRepBuilderAPI_FaceError { - private long swigCPtr; - - protected SWIGTYPE_p_BRepBuilderAPI_FaceError(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_BRepBuilderAPI_FaceError() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_BRepBuilderAPI_FaceError obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 4.0.0 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_BRepBuilderAPI_FaceError { + private transient long swigCPtr; + + protected SWIGTYPE_p_BRepBuilderAPI_FaceError(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_BRepBuilderAPI_FaceError() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_BRepBuilderAPI_FaceError obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_ShellError.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_ShellError.java index c5944d26..da64d2fe 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_ShellError.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_BRepBuilderAPI_ShellError.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_BRepBuilderAPI_ShellError { - private long swigCPtr; - - protected SWIGTYPE_p_BRepBuilderAPI_ShellError(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_BRepBuilderAPI_ShellError() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_BRepBuilderAPI_ShellError obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_BRepBuilderAPI_ShellError { + private transient long swigCPtr; + + protected SWIGTYPE_p_BRepBuilderAPI_ShellError(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_BRepBuilderAPI_ShellError() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_BRepBuilderAPI_ShellError obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_GeomAbs_JoinType.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_GeomAbs_JoinType.java index 9faaaf96..10439b00 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_GeomAbs_JoinType.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_GeomAbs_JoinType.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_GeomAbs_JoinType { - private long swigCPtr; - - protected SWIGTYPE_p_GeomAbs_JoinType(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_GeomAbs_JoinType() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_GeomAbs_JoinType obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_GeomAbs_JoinType { + private transient long swigCPtr; + + protected SWIGTYPE_p_GeomAbs_JoinType(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_GeomAbs_JoinType() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_GeomAbs_JoinType obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_Geom_BoundedCurve.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_Geom_BoundedCurve.java new file mode 100644 index 00000000..2fb4923b --- /dev/null +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_Geom_BoundedCurve.java @@ -0,0 +1,26 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_Handle_Geom_BoundedCurve { + private transient long swigCPtr; + + protected SWIGTYPE_p_Handle_Geom_BoundedCurve(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_Handle_Geom_BoundedCurve() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_Handle_Geom_BoundedCurve obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_StepData_StepModel.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_StepData_StepModel.java index d0606aa6..7ffa8dcc 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_StepData_StepModel.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_StepData_StepModel.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_Handle_StepData_StepModel { - private long swigCPtr; - - protected SWIGTYPE_p_Handle_StepData_StepModel(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_Handle_StepData_StepModel() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_Handle_StepData_StepModel obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_Handle_StepData_StepModel { + private transient long swigCPtr; + + protected SWIGTYPE_p_Handle_StepData_StepModel(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_Handle_StepData_StepModel() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_Handle_StepData_StepModel obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_TCollection_HAsciiString.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_TCollection_HAsciiString.java index 816d0ec9..36b0f8fe 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_TCollection_HAsciiString.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Handle_TCollection_HAsciiString.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_Handle_TCollection_HAsciiString { - private long swigCPtr; - - protected SWIGTYPE_p_Handle_TCollection_HAsciiString(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_Handle_TCollection_HAsciiString() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_Handle_TCollection_HAsciiString obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_Handle_TCollection_HAsciiString { + private transient long swigCPtr; + + protected SWIGTYPE_p_Handle_TCollection_HAsciiString(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_Handle_TCollection_HAsciiString() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_Handle_TCollection_HAsciiString obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Standard_Realr.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Standard_Realr.java new file mode 100644 index 00000000..46f865e1 --- /dev/null +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_Standard_Realr.java @@ -0,0 +1,26 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_Standard_Realr { + private transient long swigCPtr; + + protected SWIGTYPE_p_Standard_Realr(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_Standard_Realr() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_Standard_Realr obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TColStd_Array1OfInteger.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TColStd_Array1OfInteger.java index f3892c34..ebb9e0f2 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TColStd_Array1OfInteger.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TColStd_Array1OfInteger.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_TColStd_Array1OfInteger { - private long swigCPtr; - - protected SWIGTYPE_p_TColStd_Array1OfInteger(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_TColStd_Array1OfInteger() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_TColStd_Array1OfInteger obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_TColStd_Array1OfInteger { + private transient long swigCPtr; + + protected SWIGTYPE_p_TColStd_Array1OfInteger(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_TColStd_Array1OfInteger() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_TColStd_Array1OfInteger obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TopTools_ListOfShape.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TopTools_ListOfShape.java index b634188c..bc6e47a9 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TopTools_ListOfShape.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_TopTools_ListOfShape.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_TopTools_ListOfShape { - private long swigCPtr; - - protected SWIGTYPE_p_TopTools_ListOfShape(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_TopTools_ListOfShape() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_TopTools_ListOfShape obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_TopTools_ListOfShape { + private transient long swigCPtr; + + protected SWIGTYPE_p_TopTools_ListOfShape(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_TopTools_ListOfShape() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_TopTools_ListOfShape obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_gp_Hypr.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_gp_Hypr.java index 484b3950..4941cb3f 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_gp_Hypr.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_gp_Hypr.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_gp_Hypr { - private long swigCPtr; - - protected SWIGTYPE_p_gp_Hypr(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_gp_Hypr() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_gp_Hypr obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_gp_Hypr { + private transient long swigCPtr; + + protected SWIGTYPE_p_gp_Hypr(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_gp_Hypr() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_gp_Hypr obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_int.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_int.java index 3925ce3b..a037946e 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_int.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/SWIGTYPE_p_int.java @@ -1,26 +1,26 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class SWIGTYPE_p_int { - private long swigCPtr; - - protected SWIGTYPE_p_int(long cPtr, boolean futureUse) { - swigCPtr = cPtr; - } - - protected SWIGTYPE_p_int() { - swigCPtr = 0; - } - - protected static long getCPtr(SWIGTYPE_p_int obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class SWIGTYPE_p_int { + private transient long swigCPtr; + + protected SWIGTYPE_p_int(long cPtr, @SuppressWarnings("unused") boolean futureUse) { + swigCPtr = cPtr; + } + + protected SWIGTYPE_p_int() { + swigCPtr = 0; + } + + protected static long getCPtr(SWIGTYPE_p_int obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeAnalysis_FreeBounds.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeAnalysis_FreeBounds.java index 980491c2..8e90adee 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeAnalysis_FreeBounds.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeAnalysis_FreeBounds.java @@ -1,60 +1,60 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeAnalysis_FreeBounds { - private long swigCPtr; - protected boolean swigCMemOwn; - - public ShapeAnalysis_FreeBounds(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeAnalysis_FreeBounds obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeAnalysis_FreeBounds(swigCPtr); - } - swigCPtr = 0; - } - } - - public ShapeAnalysis_FreeBounds(TopoDS_Shape shape, boolean splitclosed, boolean splitopen) { - this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, splitclosed, splitopen), true); - } - - public ShapeAnalysis_FreeBounds(TopoDS_Shape shape, boolean splitclosed) { - this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, splitclosed), true); - } - - public ShapeAnalysis_FreeBounds(TopoDS_Shape shape) { - this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_2(TopoDS_Shape.getCPtr(shape), shape), true); - } - - public TopoDS_Compound getClosedWires() { - long cPtr = OccJavaJNI.ShapeAnalysis_FreeBounds_getClosedWires(swigCPtr, this); - return (TopoDS_Compound)TopoDS_Shape.create(cPtr); -} - - public TopoDS_Compound getOpenWires() { - long cPtr = OccJavaJNI.ShapeAnalysis_FreeBounds_getOpenWires(swigCPtr, this); - return (TopoDS_Compound)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeAnalysis_FreeBounds { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected ShapeAnalysis_FreeBounds(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeAnalysis_FreeBounds obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeAnalysis_FreeBounds(swigCPtr); + } + swigCPtr = 0; + } + } + + public ShapeAnalysis_FreeBounds(TopoDS_Shape shape, boolean splitclosed, boolean splitopen) { + this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, splitclosed, splitopen), true); + } + + public ShapeAnalysis_FreeBounds(TopoDS_Shape shape, boolean splitclosed) { + this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, splitclosed), true); + } + + public ShapeAnalysis_FreeBounds(TopoDS_Shape shape) { + this(OccJavaJNI.new_ShapeAnalysis_FreeBounds__SWIG_2(TopoDS_Shape.getCPtr(shape), shape), true); + } + + public TopoDS_Compound getClosedWires() { + long cPtr = OccJavaJNI.ShapeAnalysis_FreeBounds_getClosedWires(swigCPtr, this); + return (TopoDS_Compound)TopoDS_Shape.create(cPtr); +} + + public TopoDS_Compound getOpenWires() { + long cPtr = OccJavaJNI.ShapeAnalysis_FreeBounds_getOpenWires(swigCPtr, this); + return (TopoDS_Compound)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeBuild_ReShape.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeBuild_ReShape.java index a3754c68..6eb9c674 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeBuild_ReShape.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeBuild_ReShape.java @@ -1,60 +1,56 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeBuild_ReShape { - private long swigCPtr; - protected boolean swigCMemOwn; - - public ShapeBuild_ReShape(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeBuild_ReShape obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeBuild_ReShape(swigCPtr); - } - swigCPtr = 0; - } - } - - public ShapeBuild_ReShape() { - this(OccJavaJNI.new_ShapeBuild_ReShape(), true); - } - - public void replace(TopoDS_Shape shape, TopoDS_Shape newshape, boolean oriented) { - OccJavaJNI.ShapeBuild_ReShape_replace__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, TopoDS_Shape.getCPtr(newshape), newshape, oriented); - } - - public void replace(TopoDS_Shape shape, TopoDS_Shape newshape) { - OccJavaJNI.ShapeBuild_ReShape_replace__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, TopoDS_Shape.getCPtr(newshape), newshape); - } - - public TopoDS_Shape apply(TopoDS_Shape shape, TopAbs_ShapeEnum until) { - long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, until.swigValue()); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public TopoDS_Shape apply(TopoDS_Shape shape) { - long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeBuild_ReShape { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected ShapeBuild_ReShape(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeBuild_ReShape obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeBuild_ReShape(swigCPtr); + } + swigCPtr = 0; + } + } + + public ShapeBuild_ReShape() { + this(OccJavaJNI.new_ShapeBuild_ReShape(), true); + } + + public void replace(TopoDS_Shape shape, TopoDS_Shape newshape) { + OccJavaJNI.ShapeBuild_ReShape_replace(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, TopoDS_Shape.getCPtr(newshape), newshape); + } + + public TopoDS_Shape apply(TopoDS_Shape shape, TopAbs_ShapeEnum until) { + long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape, until.swigValue()); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public TopoDS_Shape apply(TopoDS_Shape shape) { + long cPtr = OccJavaJNI.ShapeBuild_ReShape_apply__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(shape), shape); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Root.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Root.java index 8f997756..1ac99692 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Root.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Root.java @@ -1,55 +1,55 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeFix_Root { - private long swigCPtr; - protected boolean swigCMemOwn; - - public ShapeFix_Root(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeFix_Root obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeFix_Root(swigCPtr); - } - swigCPtr = 0; - } - } - - public void setPrecision(double preci) { - OccJavaJNI.ShapeFix_Root_setPrecision(swigCPtr, this, preci); - } - - public double getPrecision() { - return OccJavaJNI.ShapeFix_Root_getPrecision(swigCPtr, this); - } - - public void setContext(ShapeBuild_ReShape context) { - OccJavaJNI.ShapeFix_Root_setContext(swigCPtr, this, ShapeBuild_ReShape.getCPtr(context), context); - } - - public ShapeBuild_ReShape getContext() { - long cPtr = OccJavaJNI.ShapeFix_Root_getContext(swigCPtr, this); - return (cPtr == 0) ? null : new ShapeBuild_ReShape(cPtr, false); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeFix_Root { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected ShapeFix_Root(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeFix_Root obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeFix_Root(swigCPtr); + } + swigCPtr = 0; + } + } + + public void setPrecision(double preci) { + OccJavaJNI.ShapeFix_Root_setPrecision(swigCPtr, this, preci); + } + + public double getPrecision() { + return OccJavaJNI.ShapeFix_Root_getPrecision(swigCPtr, this); + } + + public void setContext(ShapeBuild_ReShape context) { + OccJavaJNI.ShapeFix_Root_setContext(swigCPtr, this, ShapeBuild_ReShape.getCPtr(context), context); + } + + public ShapeBuild_ReShape getContext() { + long cPtr = OccJavaJNI.ShapeFix_Root_getContext(swigCPtr, this); + return (cPtr == 0) ? null : new ShapeBuild_ReShape(cPtr, false); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Wireframe.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Wireframe.java index 4bfca95a..b7bb42d1 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Wireframe.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeFix_Wireframe.java @@ -1,86 +1,86 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeFix_Wireframe extends ShapeFix_Root { - private long swigCPtr; - - public ShapeFix_Wireframe(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.ShapeFix_Wireframe_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeFix_Wireframe obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeFix_Wireframe(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ShapeFix_Wireframe(TopoDS_Shape shape) { - this(OccJavaJNI.new_ShapeFix_Wireframe(TopoDS_Shape.getCPtr(shape), shape), true); - } - - - /** - * Fixes gaps between ends of curves of adjacent edges (both 3d and pcurves) - * in wires. If precision is 0.0, uses Precision::Confusion(). - */ - public boolean fixWireGaps() { - return OccJavaJNI.ShapeFix_Wireframe_fixWireGaps(swigCPtr, this); -} - - - /** - * Fixes small edges in shape by merging adjacent edges. - * If precision is 0.0, uses Precision::Confusion(). - */ - public boolean fixSmallEdges() { - return OccJavaJNI.ShapeFix_Wireframe_fixSmallEdges(swigCPtr, this); -} - - - /** - * If two edges makes an angle greater this angle, these two edges - * will be not merged. - */ - public void setLimitAngle(double theLimitAngle) { - OccJavaJNI.ShapeFix_Wireframe_setLimitAngle(swigCPtr, this, theLimitAngle); - } - - public double getLimitAngle() { - return OccJavaJNI.ShapeFix_Wireframe_getLimitAngle(swigCPtr, this); - } - - public TopoDS_Shape shape() { - long cPtr = OccJavaJNI.ShapeFix_Wireframe_shape(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public void setDropSmallEdges(boolean b) { - OccJavaJNI.ShapeFix_Wireframe_setDropSmallEdges(swigCPtr, this, b); - } - - public boolean getDropSmallEdges() { - return OccJavaJNI.ShapeFix_Wireframe_getDropSmallEdges(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeFix_Wireframe extends ShapeFix_Root { + private transient long swigCPtr; + + protected ShapeFix_Wireframe(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.ShapeFix_Wireframe_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeFix_Wireframe obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeFix_Wireframe(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public ShapeFix_Wireframe(TopoDS_Shape shape) { + this(OccJavaJNI.new_ShapeFix_Wireframe(TopoDS_Shape.getCPtr(shape), shape), true); + } + + + /** + * Fixes gaps between ends of curves of adjacent edges (both 3d and pcurves) + * in wires. If precision is 0.0, uses Precision::Confusion(). + */ + public boolean fixWireGaps() { + return OccJavaJNI.ShapeFix_Wireframe_fixWireGaps(swigCPtr, this); +} + + + /** + * Fixes small edges in shape by merging adjacent edges. + * If precision is 0.0, uses Precision::Confusion(). + */ + public boolean fixSmallEdges() { + return OccJavaJNI.ShapeFix_Wireframe_fixSmallEdges(swigCPtr, this); +} + + + /** + * If two edges makes an angle greater this angle, these two edges + * will be not merged. + */ + public void setLimitAngle(double theLimitAngle) { + OccJavaJNI.ShapeFix_Wireframe_setLimitAngle(swigCPtr, this, theLimitAngle); + } + + public double getLimitAngle() { + return OccJavaJNI.ShapeFix_Wireframe_getLimitAngle(swigCPtr, this); + } + + public TopoDS_Shape shape() { + long cPtr = OccJavaJNI.ShapeFix_Wireframe_shape(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public void setDropSmallEdges(boolean b) { + OccJavaJNI.ShapeFix_Wireframe_setDropSmallEdges(swigCPtr, this, b); + } + + public boolean getDropSmallEdges() { + return OccJavaJNI.ShapeFix_Wireframe_getDropSmallEdges(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java index 3bc06f99..c9518010 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_RemoveInternalWires.java @@ -1,67 +1,67 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeUpgrade_RemoveInternalWires extends ShapeUpgrade_Tool { - private long swigCPtr; - - public ShapeUpgrade_RemoveInternalWires(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.ShapeUpgrade_RemoveInternalWires_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeUpgrade_RemoveInternalWires obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeUpgrade_RemoveInternalWires(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ShapeUpgrade_RemoveInternalWires(TopoDS_Shape theShape) { - this(OccJavaJNI.new_ShapeUpgrade_RemoveInternalWires(TopoDS_Shape.getCPtr(theShape), theShape), true); - } - - public boolean perform() { - return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_perform(swigCPtr, this); -} - - public TopoDS_Shape getResult() { - long cPtr = OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getResult(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public void setMinArea(double d) { - OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setMinArea(swigCPtr, this, d); - } - - public double getMinArea() { - return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getMinArea(swigCPtr, this); - } - - public void setRemoveFaceMode(boolean b) { - OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(swigCPtr, this, b); - } - - public boolean getRemoveFaceMode() { - return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(swigCPtr, this); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeUpgrade_RemoveInternalWires extends ShapeUpgrade_Tool { + private transient long swigCPtr; + + protected ShapeUpgrade_RemoveInternalWires(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.ShapeUpgrade_RemoveInternalWires_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeUpgrade_RemoveInternalWires obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeUpgrade_RemoveInternalWires(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public ShapeUpgrade_RemoveInternalWires(TopoDS_Shape theShape) { + this(OccJavaJNI.new_ShapeUpgrade_RemoveInternalWires(TopoDS_Shape.getCPtr(theShape), theShape), true); + } + + public boolean perform() { + return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_perform(swigCPtr, this); +} + + public TopoDS_Shape getResult() { + long cPtr = OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getResult(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public void setMinArea(double d) { + OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setMinArea(swigCPtr, this, d); + } + + public double getMinArea() { + return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getMinArea(swigCPtr, this); + } + + public void setRemoveFaceMode(boolean b) { + OccJavaJNI.ShapeUpgrade_RemoveInternalWires_setRemoveFaceMode(swigCPtr, this, b); + } + + public boolean getRemoveFaceMode() { + return OccJavaJNI.ShapeUpgrade_RemoveInternalWires_getRemoveFaceMode(swigCPtr, this); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivide.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivide.java index 07dcf6f4..c24ba82c 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivide.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivide.java @@ -1,55 +1,55 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeUpgrade_ShapeDivide { - private long swigCPtr; - protected boolean swigCMemOwn; - - public ShapeUpgrade_ShapeDivide(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeUpgrade_ShapeDivide obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeUpgrade_ShapeDivide(swigCPtr); - } - swigCPtr = 0; - } - } - - public TopoDS_Shape getResult() { - long cPtr = OccJavaJNI.ShapeUpgrade_ShapeDivide_getResult(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - - public boolean perform(boolean newContext) { - return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_0(swigCPtr, this, newContext); -} - - public boolean perform() { - return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_1(swigCPtr, this); -} - - public ShapeUpgrade_ShapeDivide() { - this(OccJavaJNI.new_ShapeUpgrade_ShapeDivide(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeUpgrade_ShapeDivide { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected ShapeUpgrade_ShapeDivide(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeUpgrade_ShapeDivide obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeUpgrade_ShapeDivide(swigCPtr); + } + swigCPtr = 0; + } + } + + public TopoDS_Shape getResult() { + long cPtr = OccJavaJNI.ShapeUpgrade_ShapeDivide_getResult(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + + public boolean perform(boolean newContext) { + return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_0(swigCPtr, this, newContext); +} + + public boolean perform() { + return OccJavaJNI.ShapeUpgrade_ShapeDivide_perform__SWIG_1(swigCPtr, this); +} + + public ShapeUpgrade_ShapeDivide() { + this(OccJavaJNI.new_ShapeUpgrade_ShapeDivide(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivideArea.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivideArea.java index 5ea3bb2e..c6b51d1d 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivideArea.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_ShapeDivideArea.java @@ -1,50 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeUpgrade_ShapeDivideArea extends ShapeUpgrade_ShapeDivide { - private long swigCPtr; - - public ShapeUpgrade_ShapeDivideArea(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.ShapeUpgrade_ShapeDivideArea_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeUpgrade_ShapeDivideArea obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeUpgrade_ShapeDivideArea(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public ShapeUpgrade_ShapeDivideArea(TopoDS_Shape S) { - this(OccJavaJNI.new_ShapeUpgrade_ShapeDivideArea(TopoDS_Shape.getCPtr(S), S), true); - } - - public void setMaxArea(double d) { - OccJavaJNI.ShapeUpgrade_ShapeDivideArea_setMaxArea(swigCPtr, this, d); - } - - public double getMaxArea() { - return OccJavaJNI.ShapeUpgrade_ShapeDivideArea_getMaxArea(swigCPtr, this); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeUpgrade_ShapeDivideArea extends ShapeUpgrade_ShapeDivide { + private transient long swigCPtr; + + protected ShapeUpgrade_ShapeDivideArea(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.ShapeUpgrade_ShapeDivideArea_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeUpgrade_ShapeDivideArea obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeUpgrade_ShapeDivideArea(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public ShapeUpgrade_ShapeDivideArea(TopoDS_Shape S) { + this(OccJavaJNI.new_ShapeUpgrade_ShapeDivideArea(TopoDS_Shape.getCPtr(S), S), true); + } + + public void setMaxArea(double d) { + OccJavaJNI.ShapeUpgrade_ShapeDivideArea_setMaxArea(swigCPtr, this, d); + } + + public double getMaxArea() { + return OccJavaJNI.ShapeUpgrade_ShapeDivideArea_getMaxArea(swigCPtr, this); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_Tool.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_Tool.java index 0bbd2e5c..e8feea8f 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_Tool.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/ShapeUpgrade_Tool.java @@ -1,38 +1,38 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class ShapeUpgrade_Tool { - private long swigCPtr; - protected boolean swigCMemOwn; - - public ShapeUpgrade_Tool(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(ShapeUpgrade_Tool obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_ShapeUpgrade_Tool(swigCPtr); - } - swigCPtr = 0; - } - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class ShapeUpgrade_Tool { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected ShapeUpgrade_Tool(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(ShapeUpgrade_Tool obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_ShapeUpgrade_Tool(swigCPtr); + } + swigCPtr = 0; + } + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_Orientation.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_Orientation.java index 4eefa936..2afb9bdd 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_Orientation.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_Orientation.java @@ -1,54 +1,54 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public enum TopAbs_Orientation { - FORWARD, - REVERSED, - INTERNAL, - EXTERNAL; - - public final int swigValue() { - return swigValue; - } - - public static TopAbs_Orientation swigToEnum(int swigValue) { - TopAbs_Orientation[] swigValues = TopAbs_Orientation.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (TopAbs_Orientation swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + TopAbs_Orientation.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private TopAbs_Orientation() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private TopAbs_Orientation(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private TopAbs_Orientation(TopAbs_Orientation swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public enum TopAbs_Orientation { + FORWARD, + REVERSED, + INTERNAL, + EXTERNAL; + + public final int swigValue() { + return swigValue; + } + + public static TopAbs_Orientation swigToEnum(int swigValue) { + TopAbs_Orientation[] swigValues = TopAbs_Orientation.class.getEnumConstants(); + if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) + return swigValues[swigValue]; + for (TopAbs_Orientation swigEnum : swigValues) + if (swigEnum.swigValue == swigValue) + return swigEnum; + throw new IllegalArgumentException("No enum " + TopAbs_Orientation.class + " with value " + swigValue); + } + + @SuppressWarnings("unused") + private TopAbs_Orientation() { + this.swigValue = SwigNext.next++; + } + + @SuppressWarnings("unused") + private TopAbs_Orientation(int swigValue) { + this.swigValue = swigValue; + SwigNext.next = swigValue+1; + } + + @SuppressWarnings("unused") + private TopAbs_Orientation(TopAbs_Orientation swigEnum) { + this.swigValue = swigEnum.swigValue; + SwigNext.next = this.swigValue+1; + } + + private final int swigValue; + + private static class SwigNext { + private static int next = 0; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_ShapeEnum.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_ShapeEnum.java index 6607fb57..4cec5f16 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_ShapeEnum.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopAbs_ShapeEnum.java @@ -1,59 +1,59 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public enum TopAbs_ShapeEnum { - COMPOUND, - COMPSOLID, - SOLID, - SHELL, - FACE, - WIRE, - EDGE, - VERTEX, - SHAPE; - - public final int swigValue() { - return swigValue; - } - - public static TopAbs_ShapeEnum swigToEnum(int swigValue) { - TopAbs_ShapeEnum[] swigValues = TopAbs_ShapeEnum.class.getEnumConstants(); - if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) - return swigValues[swigValue]; - for (TopAbs_ShapeEnum swigEnum : swigValues) - if (swigEnum.swigValue == swigValue) - return swigEnum; - throw new IllegalArgumentException("No enum " + TopAbs_ShapeEnum.class + " with value " + swigValue); - } - - @SuppressWarnings("unused") - private TopAbs_ShapeEnum() { - this.swigValue = SwigNext.next++; - } - - @SuppressWarnings("unused") - private TopAbs_ShapeEnum(int swigValue) { - this.swigValue = swigValue; - SwigNext.next = swigValue+1; - } - - @SuppressWarnings("unused") - private TopAbs_ShapeEnum(TopAbs_ShapeEnum swigEnum) { - this.swigValue = swigEnum.swigValue; - SwigNext.next = this.swigValue+1; - } - - private final int swigValue; - - private static class SwigNext { - private static int next = 0; - } -} - +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public enum TopAbs_ShapeEnum { + COMPOUND, + COMPSOLID, + SOLID, + SHELL, + FACE, + WIRE, + EDGE, + VERTEX, + SHAPE; + + public final int swigValue() { + return swigValue; + } + + public static TopAbs_ShapeEnum swigToEnum(int swigValue) { + TopAbs_ShapeEnum[] swigValues = TopAbs_ShapeEnum.class.getEnumConstants(); + if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue) + return swigValues[swigValue]; + for (TopAbs_ShapeEnum swigEnum : swigValues) + if (swigEnum.swigValue == swigValue) + return swigEnum; + throw new IllegalArgumentException("No enum " + TopAbs_ShapeEnum.class + " with value " + swigValue); + } + + @SuppressWarnings("unused") + private TopAbs_ShapeEnum() { + this.swigValue = SwigNext.next++; + } + + @SuppressWarnings("unused") + private TopAbs_ShapeEnum(int swigValue) { + this.swigValue = swigValue; + SwigNext.next = swigValue+1; + } + + @SuppressWarnings("unused") + private TopAbs_ShapeEnum(TopAbs_ShapeEnum swigEnum) { + this.swigValue = swigEnum.swigValue; + SwigNext.next = this.swigValue+1; + } + + private final int swigValue; + + private static class SwigNext { + private static int next = 0; + } +} + diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp.java index d7e75711..53018271 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp.java @@ -1,58 +1,58 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopExp { - private long swigCPtr; - protected boolean swigCMemOwn; - - public TopExp(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(TopExp obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopExp(swigCPtr); - } - swigCPtr = 0; - } - } - - public static TopoDS_Vertex[] vertices(TopoDS_Edge edge) - { - TopoDS_Vertex first=new TopoDS_Vertex(); - TopoDS_Vertex second=new TopoDS_Vertex(); - vertices(edge, first, second); - return new TopoDS_Vertex[]{first, second}; - } - - public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast, boolean CumOri) { - OccJavaJNI.TopExp_vertices__SWIG_0(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast, CumOri); - } - - public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast) { - OccJavaJNI.TopExp_vertices__SWIG_1(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast); - } - - public TopExp() { - this(OccJavaJNI.new_TopExp(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopExp { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected TopExp(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(TopExp obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopExp(swigCPtr); + } + swigCPtr = 0; + } + } + + public static TopoDS_Vertex[] vertices(TopoDS_Edge edge) + { + TopoDS_Vertex first=new TopoDS_Vertex(); + TopoDS_Vertex second=new TopoDS_Vertex(); + vertices(edge, first, second); + return new TopoDS_Vertex[]{first, second}; + } + + public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast, boolean CumOri) { + OccJavaJNI.TopExp_vertices__SWIG_0(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast, CumOri); + } + + public static void vertices(TopoDS_Edge E, TopoDS_Vertex Vfirst, TopoDS_Vertex Vlast) { + OccJavaJNI.TopExp_vertices__SWIG_1(TopoDS_Edge.getCPtr(E), E, TopoDS_Vertex.getCPtr(Vfirst), Vfirst, TopoDS_Vertex.getCPtr(Vlast), Vlast); + } + + public TopExp() { + this(OccJavaJNI.new_TopExp(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp_Explorer.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp_Explorer.java index 7df24f8c..8a6be518 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp_Explorer.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopExp_Explorer.java @@ -1,71 +1,71 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopExp_Explorer { - private long swigCPtr; - protected boolean swigCMemOwn; - - public TopExp_Explorer(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(TopExp_Explorer obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopExp_Explorer(swigCPtr); - } - swigCPtr = 0; - } - } - - public TopExp_Explorer() { - this(OccJavaJNI.new_TopExp_Explorer__SWIG_0(), true); - } - - public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) { - this(OccJavaJNI.new_TopExp_Explorer__SWIG_1(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue()), true); - } - - public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) { - this(OccJavaJNI.new_TopExp_Explorer__SWIG_2(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue()), true); - } - - public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) { - OccJavaJNI.TopExp_Explorer_init__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue()); - } - - public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) { - OccJavaJNI.TopExp_Explorer_init__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue()); - } - - public boolean more() { - return OccJavaJNI.TopExp_Explorer_more(swigCPtr, this); -} - - public void next() { - OccJavaJNI.TopExp_Explorer_next(swigCPtr, this); - } - - public TopoDS_Shape current() { - long cPtr = OccJavaJNI.TopExp_Explorer_current(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopExp_Explorer { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected TopExp_Explorer(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(TopExp_Explorer obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopExp_Explorer(swigCPtr); + } + swigCPtr = 0; + } + } + + public TopExp_Explorer() { + this(OccJavaJNI.new_TopExp_Explorer__SWIG_0(), true); + } + + public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) { + this(OccJavaJNI.new_TopExp_Explorer__SWIG_1(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue()), true); + } + + public TopExp_Explorer(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) { + this(OccJavaJNI.new_TopExp_Explorer__SWIG_2(TopoDS_Shape.getCPtr(S), S, ToFind.swigValue()), true); + } + + public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind, TopAbs_ShapeEnum ToAvoid) { + OccJavaJNI.TopExp_Explorer_init__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue(), ToAvoid.swigValue()); + } + + public void init(TopoDS_Shape S, TopAbs_ShapeEnum ToFind) { + OccJavaJNI.TopExp_Explorer_init__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, ToFind.swigValue()); + } + + public boolean more() { + return OccJavaJNI.TopExp_Explorer_more(swigCPtr, this); +} + + public void next() { + OccJavaJNI.TopExp_Explorer_next(swigCPtr, this); + } + + public TopoDS_Shape current() { + long cPtr = OccJavaJNI.TopExp_Explorer_current(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopLoc_Location.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopLoc_Location.java index 600ff54b..2fdbc802 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopLoc_Location.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopLoc_Location.java @@ -1,50 +1,50 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopLoc_Location { - private long swigCPtr; - protected boolean swigCMemOwn; - - public TopLoc_Location(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(TopLoc_Location obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopLoc_Location(swigCPtr); - } - swigCPtr = 0; - } - } - - public boolean isIdentity() { - return OccJavaJNI.TopLoc_Location_isIdentity(swigCPtr, this); -} - - public GP_Trsf transformation() { - return new GP_Trsf(OccJavaJNI.TopLoc_Location_transformation(swigCPtr, this), false); - } - - public TopLoc_Location() { - this(OccJavaJNI.new_TopLoc_Location(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopLoc_Location { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected TopLoc_Location(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(TopLoc_Location obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopLoc_Location(swigCPtr); + } + swigCPtr = 0; + } + } + + public boolean isIdentity() { + return OccJavaJNI.TopLoc_Location_isIdentity(swigCPtr, this); +} + + public GP_Trsf transformation() { + return new GP_Trsf(OccJavaJNI.TopLoc_Location_transformation(swigCPtr, this), false); + } + + public TopLoc_Location() { + this(OccJavaJNI.new_TopLoc_Location(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java index 3e78fd90..3cf63c72 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Builder.java @@ -1,54 +1,54 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopoDS_Builder { - private long swigCPtr; - protected boolean swigCMemOwn; - - public TopoDS_Builder(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_Builder obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_Builder(swigCPtr); - } - swigCPtr = 0; - } - } - - public void makeWire(TopoDS_Wire W) { - OccJavaJNI.TopoDS_Builder_makeWire(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); - } - - public void makeCompound(TopoDS_Compound C) { - OccJavaJNI.TopoDS_Builder_makeCompound(swigCPtr, this, TopoDS_Compound.getCPtr(C), C); - } - - public void add(TopoDS_Shape S, TopoDS_Shape C) { - OccJavaJNI.TopoDS_Builder_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); - } - - public void remove(TopoDS_Shape S, TopoDS_Shape C) { - OccJavaJNI.TopoDS_Builder_remove(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopoDS_Builder { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected TopoDS_Builder(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(TopoDS_Builder obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopoDS_Builder(swigCPtr); + } + swigCPtr = 0; + } + } + + public void makeWire(TopoDS_Wire W) { + OccJavaJNI.TopoDS_Builder_makeWire(swigCPtr, this, TopoDS_Wire.getCPtr(W), W); + } + + public void makeCompound(TopoDS_Compound C) { + OccJavaJNI.TopoDS_Builder_makeCompound(swigCPtr, this, TopoDS_Compound.getCPtr(C), C); + } + + public void add(TopoDS_Shape S, TopoDS_Shape C) { + OccJavaJNI.TopoDS_Builder_add(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); + } + + public void remove(TopoDS_Shape S, TopoDS_Shape C) { + OccJavaJNI.TopoDS_Builder_remove(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, TopoDS_Shape.getCPtr(C), C); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_CompSolid.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_CompSolid.java index d70a9df2..2a1b679c 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_CompSolid.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_CompSolid.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopoDS_CompSolid extends TopoDS_Shape { - private long swigCPtr; - - public TopoDS_CompSolid(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.TopoDS_CompSolid_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_CompSolid obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_CompSolid(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TopoDS_CompSolid() { - this(OccJavaJNI.new_TopoDS_CompSolid(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopoDS_CompSolid extends TopoDS_Shape { + private transient long swigCPtr; + + protected TopoDS_CompSolid(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.TopoDS_CompSolid_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(TopoDS_CompSolid obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopoDS_CompSolid(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public TopoDS_CompSolid() { + this(OccJavaJNI.new_TopoDS_CompSolid(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Compound.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Compound.java index be715214..b3a61e48 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Compound.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Compound.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopoDS_Compound extends TopoDS_Shape { - private long swigCPtr; - - public TopoDS_Compound(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.TopoDS_Compound_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_Compound obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_Compound(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TopoDS_Compound() { - this(OccJavaJNI.new_TopoDS_Compound(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopoDS_Compound extends TopoDS_Shape { + private transient long swigCPtr; + + protected TopoDS_Compound(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.TopoDS_Compound_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(TopoDS_Compound obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopoDS_Compound(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public TopoDS_Compound() { + this(OccJavaJNI.new_TopoDS_Compound(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Edge.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Edge.java index bf9acdac..9ec0c637 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Edge.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Edge.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopoDS_Edge extends TopoDS_Shape { - private long swigCPtr; - - public TopoDS_Edge(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.TopoDS_Edge_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_Edge obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_Edge(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TopoDS_Edge() { - this(OccJavaJNI.new_TopoDS_Edge(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopoDS_Edge extends TopoDS_Shape { + private transient long swigCPtr; + + protected TopoDS_Edge(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.TopoDS_Edge_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(TopoDS_Edge obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopoDS_Edge(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public TopoDS_Edge() { + this(OccJavaJNI.new_TopoDS_Edge(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Face.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Face.java index abb7fd7a..75d57827 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Face.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Face.java @@ -1,42 +1,42 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopoDS_Face extends TopoDS_Shape { - private long swigCPtr; - - public TopoDS_Face(long cPtr, boolean cMemoryOwn) { - super(OccJavaJNI.TopoDS_Face_SWIGUpcast(cPtr), cMemoryOwn); - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_Face obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_Face(swigCPtr); - } - swigCPtr = 0; - } - super.delete(); - } - - public TopoDS_Face() { - this(OccJavaJNI.new_TopoDS_Face(), true); - } - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopoDS_Face extends TopoDS_Shape { + private transient long swigCPtr; + + protected TopoDS_Face(long cPtr, boolean cMemoryOwn) { + super(OccJavaJNI.TopoDS_Face_SWIGUpcast(cPtr), cMemoryOwn); + swigCPtr = cPtr; + } + + protected static long getCPtr(TopoDS_Face obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopoDS_Face(swigCPtr); + } + swigCPtr = 0; + } + super.delete(); + } + + public TopoDS_Face() { + this(OccJavaJNI.new_TopoDS_Face(), true); + } + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Iterator.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Iterator.java index e407f191..a8e00605 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Iterator.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Iterator.java @@ -1,79 +1,79 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopoDS_Iterator { - private long swigCPtr; - protected boolean swigCMemOwn; - - public TopoDS_Iterator(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_Iterator obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_Iterator(swigCPtr); - } - swigCPtr = 0; - } - } - - public TopoDS_Iterator() { - this(OccJavaJNI.new_TopoDS_Iterator__SWIG_0(), true); - } - - public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri, boolean cumLoc) { - this(OccJavaJNI.new_TopoDS_Iterator__SWIG_1(TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc), true); - } - - public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri) { - this(OccJavaJNI.new_TopoDS_Iterator__SWIG_2(TopoDS_Shape.getCPtr(S), S, cumOri), true); - } - - public TopoDS_Iterator(TopoDS_Shape S) { - this(OccJavaJNI.new_TopoDS_Iterator__SWIG_3(TopoDS_Shape.getCPtr(S), S), true); - } - - public void initialize(TopoDS_Shape S, boolean cumOri, boolean cumLoc) { - OccJavaJNI.TopoDS_Iterator_initialize__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc); - } - - public void initialize(TopoDS_Shape S, boolean cumOri) { - OccJavaJNI.TopoDS_Iterator_initialize__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri); - } - - public void initialize(TopoDS_Shape S) { - OccJavaJNI.TopoDS_Iterator_initialize__SWIG_2(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); - } - - public boolean more() { - return OccJavaJNI.TopoDS_Iterator_more(swigCPtr, this); -} - - public void next() { - OccJavaJNI.TopoDS_Iterator_next(swigCPtr, this); - } - - public TopoDS_Shape value() { - long cPtr = OccJavaJNI.TopoDS_Iterator_value(swigCPtr, this); - return (TopoDS_Shape)TopoDS_Shape.create(cPtr); -} - -} +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (http://www.swig.org). + * Version 3.0.12 + * + * Do not make changes to this file unless you know what you are doing--modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + +package org.jcae.opencascade.jni; + +public class TopoDS_Iterator { + private transient long swigCPtr; + protected transient boolean swigCMemOwn; + + protected TopoDS_Iterator(long cPtr, boolean cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = cPtr; + } + + protected static long getCPtr(TopoDS_Iterator obj) { + return (obj == null) ? 0 : obj.swigCPtr; + } + + protected void finalize() { + delete(); + } + + public synchronized void delete() { + if (swigCPtr != 0) { + if (swigCMemOwn) { + swigCMemOwn = false; + OccJavaJNI.delete_TopoDS_Iterator(swigCPtr); + } + swigCPtr = 0; + } + } + + public TopoDS_Iterator() { + this(OccJavaJNI.new_TopoDS_Iterator__SWIG_0(), true); + } + + public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri, boolean cumLoc) { + this(OccJavaJNI.new_TopoDS_Iterator__SWIG_1(TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc), true); + } + + public TopoDS_Iterator(TopoDS_Shape S, boolean cumOri) { + this(OccJavaJNI.new_TopoDS_Iterator__SWIG_2(TopoDS_Shape.getCPtr(S), S, cumOri), true); + } + + public TopoDS_Iterator(TopoDS_Shape S) { + this(OccJavaJNI.new_TopoDS_Iterator__SWIG_3(TopoDS_Shape.getCPtr(S), S), true); + } + + public void initialize(TopoDS_Shape S, boolean cumOri, boolean cumLoc) { + OccJavaJNI.TopoDS_Iterator_initialize__SWIG_0(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri, cumLoc); + } + + public void initialize(TopoDS_Shape S, boolean cumOri) { + OccJavaJNI.TopoDS_Iterator_initialize__SWIG_1(swigCPtr, this, TopoDS_Shape.getCPtr(S), S, cumOri); + } + + public void initialize(TopoDS_Shape S) { + OccJavaJNI.TopoDS_Iterator_initialize__SWIG_2(swigCPtr, this, TopoDS_Shape.getCPtr(S), S); + } + + public boolean more() { + return OccJavaJNI.TopoDS_Iterator_more(swigCPtr, this); +} + + public void next() { + OccJavaJNI.TopoDS_Iterator_next(swigCPtr, this); + } + + public TopoDS_Shape value() { + long cPtr = OccJavaJNI.TopoDS_Iterator_value(swigCPtr, this); + return (TopoDS_Shape)TopoDS_Shape.create(cPtr); +} + +} diff --git a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Shape.java b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Shape.java index 83a091d3..9d36d19a 100644 --- a/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Shape.java +++ b/org.jcae.opencascade/src-java/org/jcae/opencascade/jni/TopoDS_Shape.java @@ -1,187 +1,187 @@ -/* ---------------------------------------------------------------------------- - * This file was automatically generated by SWIG (http://www.swig.org). - * Version 2.0.4 - * - * Do not make changes to this file unless you know what you are doing--modify - * the SWIG interface file instead. - * ----------------------------------------------------------------------------- */ - -package org.jcae.opencascade.jni; - -public class TopoDS_Shape { - private long swigCPtr; - protected boolean swigCMemOwn; - - public TopoDS_Shape(long cPtr, boolean cMemoryOwn) { - swigCMemOwn = cMemoryOwn; - swigCPtr = cPtr; - } - - public static long getCPtr(TopoDS_Shape obj) { - return (obj == null) ? 0 : obj.swigCPtr; - } - - protected void finalize() { - delete(); - } - - public synchronized void delete() { - if (swigCPtr != 0) { - if (swigCMemOwn) { - swigCMemOwn = false; - OccJavaJNI.delete_TopoDS_Shape(swigCPtr); - } - swigCPtr = 0; - } - } - - private long myTShape; - protected static TopoDS_Shape downcast(TopoDS_Shape in) - { - TopoDS_Shape toReturn = create(getCPtr(in)); - in.swigCMemOwn=false; - return toReturn; - } - - protected static TopoDS_Shape create(long in) - { - if(in==0) - return null; - //second argument is not use in swig - TopAbs_ShapeEnum type = TopAbs_ShapeEnum.swigToEnum(OccJavaJNI.TopoDS_Shape_shapeType(in, null)); - return create(in, type); - } - - protected static TopoDS_Shape create(long in, TopAbs_ShapeEnum type) - { - TopoDS_Shape toReturn=null; - if(in==0) - return null; - switch(type) - { - case COMPOUND: - toReturn=new TopoDS_Compound(in, true); - break; - case COMPSOLID: - toReturn=new TopoDS_CompSolid(in, true); - break; - case SOLID: - toReturn=new TopoDS_Solid(in, true); - break; - case SHELL: - toReturn=new TopoDS_Shell(in, true); - break; - case FACE: - toReturn=new TopoDS_Face(in, true); - break; - case WIRE: - toReturn=new TopoDS_Wire(in, true); - break; - case EDGE: - toReturn=new TopoDS_Edge(in, true); - break; - case VERTEX: - toReturn=new TopoDS_Vertex(in, true); - break; - } - toReturn.myTShape=toReturn.getTShape(); - return toReturn; - } - public boolean isSame(TopoDS_Shape s) - { - /*if(myTShape==0) - myTShape=getTShape(); - - if(s.myTShape==0) - s.myTShape=s.getTShape(); - - if(myTShape==s.myTShape) - { - return nativeIsSame(s); - } - else return false;*/ - return nativeIsSame(s); - } - - /** - * Alias on the isSame method for an easy use of this class in java - * collections - */ - public boolean equals(Object o) - { - if (o instanceof TopoDS_Shape) - { - return isSame((TopoDS_Shape)o); - } - else return false; - } - - public int hashCode() - { - return hashCode(Integer.MAX_VALUE); - } - - protected static TopoDS_Shape[] cArrayWrap(long[] ptrs) - { - TopoDS_Shape[] toReturn = new TopoDS_Shape[ptrs.length/2]; - long ptr; - int type; - for (int i=0, j=0; i -%} - -class APIHeaderSection_MakeHeader{ - %rename(setName) SetName; - %rename(setAuthorValue) SetAuthorValue; - %rename(setOrganizationValue) SetOrganizationValue; - %rename(setOriginatingSystem) SetOriginatingSystem; - %rename(setDescriptionValue) SetDescriptionValue; - - public: - APIHeaderSection_MakeHeader(const Handle_StepData_StepModel& model); - void SetName(const Handle_TCollection_HAsciiString& aName); - void SetAuthorValue (const Standard_Integer num,const Handle_TCollection_HAsciiString& aAuthor); - void SetOrganizationValue (const Standard_Integer num,const Handle_TCollection_HAsciiString& aOrganization); - void SetOriginatingSystem(const Handle_TCollection_HAsciiString& aOriginatingSystem); - void SetDescriptionValue(const Standard_Integer num,const Handle_TCollection_HAsciiString& description); -}; \ No newline at end of file +// FIXME: 7.3.0 Handle_StepData_StepModel cannot be resolved +//%{ +//#include +//%} +// +//class APIHeaderSection_MakeHeader{ +// %rename(setName) SetName; +// %rename(setAuthorValue) SetAuthorValue; +// %rename(setOrganizationValue) SetOrganizationValue; +// %rename(setOriginatingSystem) SetOriginatingSystem; +// %rename(setDescriptionValue) SetDescriptionValue; +// +// public: +// APIHeaderSection_MakeHeader(const Handle_StepData_StepModel& model); +// void SetName(const Handle_TCollection_HAsciiString& aName); +// void SetAuthorValue (const Standard_Integer num,const Handle_TCollection_HAsciiString& aAuthor); +// void SetOrganizationValue (const Standard_Integer num,const Handle_TCollection_HAsciiString& aOrganization); +// void SetOriginatingSystem(const Handle_TCollection_HAsciiString& aOriginatingSystem); +// void SetDescriptionValue(const Standard_Integer num,const Handle_TCollection_HAsciiString& description); +//}; \ No newline at end of file diff --git a/org.jcae.opencascade/src/BRep.i b/org.jcae.opencascade/src/BRep.i index ad864a28..15c33900 100644 --- a/org.jcae.opencascade/src/BRep.i +++ b/org.jcae.opencascade/src/BRep.i @@ -93,7 +93,9 @@ class BRep_Tool if(hgc.IsNull()) return NULL; else - return (Poly_Triangulation*)(Standard_Transient*)hgc; + // FIXME: 7.3.0 + //return (Poly_Triangulation*)(Standard_Transient*)hgc; + return (Poly_Triangulation*)(Standard_Transient*)(hgc->This()); } static void range(const TopoDS_Edge& E, double range[2]) diff --git a/org.jcae.opencascade/src/BRepAlgoAPI.i b/org.jcae.opencascade/src/BRepAlgoAPI.i index 21ea1a0c..a7fd7f00 100644 --- a/org.jcae.opencascade/src/BRepAlgoAPI.i +++ b/org.jcae.opencascade/src/BRepAlgoAPI.i @@ -28,7 +28,7 @@ class BRepAlgoAPI_BooleanOperation: public BRepBuilderAPI_MakeShape { %rename(modified) Modified; %rename(isDeleted) IsDeleted; - %rename(modified2) Modified2; + %rename(modified) Modified; %rename(generated) Generated; %rename(hasModified) HasModified; %rename(hasGenerated) HasGenerated; @@ -37,7 +37,7 @@ class BRepAlgoAPI_BooleanOperation: public BRepBuilderAPI_MakeShape public: virtual const TopTools_ListOfShape& Modified(const TopoDS_Shape& aS) ; virtual Standard_Boolean IsDeleted(const TopoDS_Shape& aS) ; - virtual const TopTools_ListOfShape& Modified2(const TopoDS_Shape& aS) ; + //virtual const TopTools_ListOfShape& Modified2(const TopoDS_Shape& aS) ; virtual const TopTools_ListOfShape& Generated(const TopoDS_Shape& S) ; virtual Standard_Boolean HasModified() const; virtual Standard_Boolean HasGenerated() const; diff --git a/org.jcae.opencascade/src/BRepBuilderAPI.i b/org.jcae.opencascade/src/BRepBuilderAPI.i index 30fc0285..66b208eb 100644 --- a/org.jcae.opencascade/src/BRepBuilderAPI.i +++ b/org.jcae.opencascade/src/BRepBuilderAPI.i @@ -1,263 +1,296 @@ -/* - * Project Info: http://jcae.sourceforge.net - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, Inc., - * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - * - * (C) Copyright 2005, by EADS CRC - */ - -%{ -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#if OCC_VERSION_MAJOR >= 6 -#include -#else -#include -#define BRepBuilderAPI_Sewing BRepAlgo_Sewing -#endif -%} - -class BRepBuilderAPI_MakeShape -{ - //Hide the constructor to make this class abstract - BRepBuilderAPI_MakeShape()=0; - public: - %rename(shape) Shape; - const TopoDS_Shape& Shape() const; -}; - -class BRepBuilderAPI_ModifyShape: public BRepBuilderAPI_MakeShape -{ - %rename(modifiedShape) ModifiedShape; - BRepBuilderAPI_ModifyShape()=0; - public: - virtual const TopoDS_Shape& ModifiedShape(const TopoDS_Shape& S) const; -}; - -class BRepBuilderAPI_Transform : public BRepBuilderAPI_ModifyShape -{ - %rename(perform) Perform; - public: - BRepBuilderAPI_Transform(const gp_Trsf& T); - BRepBuilderAPI_Transform(const TopoDS_Shape& S, const gp_Trsf& T, - const Standard_Boolean Copy = Standard_False); - void Perform(const TopoDS_Shape& S, - const Standard_Boolean Copy = Standard_False) ; -}; - -class BRepBuilderAPI_MakeVertex: public BRepBuilderAPI_MakeShape -{ - %rename(vertex) Vertex; - public: - BRepBuilderAPI_MakeVertex(const gp_Pnt& P); - //const TopoDS_Vertex& Vertex() const; -}; - -class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape -{ - %rename(wire) Wire; - %rename(add) Add; - %rename(isDone) IsDone; - public: - BRepBuilderAPI_MakeWire(); - BRepBuilderAPI_MakeWire(const TopoDS_Edge& E); - BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,const TopoDS_Edge& E2); - BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,const TopoDS_Edge& E2, - const TopoDS_Edge& E3); - BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,const TopoDS_Edge& E2, - const TopoDS_Edge& E3,const TopoDS_Edge& E4); - BRepBuilderAPI_MakeWire(const TopoDS_Wire& W); - BRepBuilderAPI_MakeWire(const TopoDS_Wire& W,const TopoDS_Edge& E); - void Add(const TopoDS_Edge& E) ; - void Add(const TopoDS_Wire& W) ; - void Add(const TopTools_ListOfShape & shapes); - Standard_Boolean IsDone() const; - //const TopoDS_Wire& Wire() const; -}; - -class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape -{ - %rename(edge) Edge; - %rename(isDone) IsDone; - public: - BRepBuilderAPI_MakeEdge(); - BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L); - BRepBuilderAPI_MakeEdge(const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - BRepBuilderAPI_MakeEdge(const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const gp_Circ& L); - BRepBuilderAPI_MakeEdge(const gp_Circ& L,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const gp_Circ& L,const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const gp_Circ& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - BRepBuilderAPI_MakeEdge(const gp_Parab& L); - BRepBuilderAPI_MakeEdge(const gp_Parab& L,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const gp_Parab& L,const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const gp_Parab& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - Standard_Boolean IsDone() const; - //const TopoDS_Edge& Edge() const; - - - - - BRepBuilderAPI_MakeEdge(const gp_Lin& L); - BRepBuilderAPI_MakeEdge(const gp_Lin& L,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const gp_Lin& L,const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const gp_Lin& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - BRepBuilderAPI_MakeEdge(const gp_Elips& L); - BRepBuilderAPI_MakeEdge(const gp_Elips& L,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const gp_Elips& L,const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const gp_Elips& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - BRepBuilderAPI_MakeEdge(const gp_Hypr& L); - BRepBuilderAPI_MakeEdge(const gp_Hypr& L,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const gp_Hypr& L,const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const gp_Hypr& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S); - BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const Standard_Real p1,const Standard_Real p2); - BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const gp_Pnt& P1,const gp_Pnt& P2); - BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); - BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Real p1,const Standard_Real p2); - - -}; - -class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape -{ - %rename(face) Face; - %rename(isDone) IsDone; - %rename(error) Error; - public: - BRepBuilderAPI_MakeFace(const TopoDS_Wire& W, - const Standard_Boolean OnlyPlane = Standard_False); - BRepBuilderAPI_MakeFace(const TopoDS_Face& F,const TopoDS_Wire& W); - //const TopoDS_Face& Face() const; - - Standard_Boolean IsDone() const; - BRepBuilderAPI_FaceError Error() const; -}; - -class BRepBuilderAPI_MakeSolid: public BRepBuilderAPI_MakeShape -{ - %rename(add) Add; - %rename(isDone) IsDone; - %rename(isDeleted) IsDeleted; - public: - BRepBuilderAPI_MakeSolid(); - BRepBuilderAPI_MakeSolid(const TopoDS_CompSolid& S); - BRepBuilderAPI_MakeSolid(const TopoDS_Shell& S); - BRepBuilderAPI_MakeSolid(const TopoDS_Shell& S1,const TopoDS_Shell& S2); - BRepBuilderAPI_MakeSolid(const TopoDS_Shell& S1,const TopoDS_Shell& S2,const TopoDS_Shell& S3); - BRepBuilderAPI_MakeSolid(const TopoDS_Solid& So); - BRepBuilderAPI_MakeSolid(const TopoDS_Solid& So,const TopoDS_Shell& S); - void Add(const TopoDS_Shell& S) ; - Standard_Boolean IsDone() const; - Standard_Boolean IsDeleted(const TopoDS_Shape& S) ; -}; - -class BRepBuilderAPI_Sewing -{ - public: - - %rename(init) Init; - %rename(add) Add; - %rename(perform) Perform; - %rename(sewedShape) SewedShape; - - %rename(load) Load; - %rename(nbFreeEdges) NbFreeEdges; - %rename(freeEdge) FreeEdge; - %rename(nbMultipleEdges) NbMultipleEdges; - %rename(multipleEdge) MultipleEdge; - %rename(nbDegeneratedShapes) NbDegeneratedShapes; - %rename(degeneratedShape) DegeneratedShape; - %rename(nbDeletedFaces) NbDeletedFaces; - %rename(deletedFace) DeletedFace; - %rename(isDegenerated) IsDegenerated; - %rename(isModified) IsModified; - %rename(modified) Modified; - %rename(dump) Dump; - - %rename(isModifiedSubShape) IsModifiedSubShape; - %rename(modifiedSubShape) ModifiedSubShape; - - BRepBuilderAPI_Sewing(const Standard_Real tolerance = 1.0e-06, - const Standard_Boolean option = Standard_True, - const Standard_Boolean cutting = Standard_True, - const Standard_Boolean nonmanifold = Standard_False); - void Init(const Standard_Real tolerance, - const Standard_Boolean option = Standard_True, - const Standard_Boolean cutting = Standard_True, - const Standard_Boolean nonmanifold = Standard_False) ; - void Load(const TopoDS_Shape& shape) ; - void Add(const TopoDS_Shape& shape) ; - void Perform() ; - const TopoDS_Shape& SewedShape() const; - Standard_Integer NbFreeEdges() const; - const TopoDS_Edge& FreeEdge(const Standard_Integer index) const; - Standard_Integer NbMultipleEdges() const; - const TopoDS_Edge& MultipleEdge(const Standard_Integer index) const; - Standard_Integer NbDegeneratedShapes() const; - const TopoDS_Shape& DegeneratedShape(const Standard_Integer index) const; - Standard_Integer NbDeletedFaces() const; - const TopoDS_Face& DeletedFace(const Standard_Integer index) const; - Standard_Boolean IsDegenerated(const TopoDS_Shape& shape) const; - Standard_Boolean IsModified(const TopoDS_Shape& shape) const; - const TopoDS_Shape& Modified(const TopoDS_Shape& shape) const; - void Dump() const; - - Standard_Boolean IsModifiedSubShape(const TopoDS_Shape& shape) const; - TopoDS_Shape ModifiedSubShape(const TopoDS_Shape& shape) const; -}; - -class BRepBuilderAPI_NurbsConvert : public BRepBuilderAPI_ModifyShape -{ - %rename(perform) Perform; - public: - BRepBuilderAPI_NurbsConvert(); - BRepBuilderAPI_NurbsConvert(const TopoDS_Shape& S, - const Standard_Boolean Copy = Standard_False); - void Perform(const TopoDS_Shape& S, - const Standard_Boolean Copy = Standard_False) ; -}; - -/** - * VTT -*/ - -class BRepBuilderAPI_MakeShell : public BRepBuilderAPI_MakeShape { - %rename(init) Init; - %rename(isDone) IsDone; - %rename(error) Error; - public: - BRepBuilderAPI_MakeShell(); - BRepBuilderAPI_MakeShell(const Handle_Geom_Surface& S,const Standard_Boolean Segment = Standard_False); - BRepBuilderAPI_MakeShell(const Handle_Geom_Surface& S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); - void Init(const Handle_Geom_Surface& S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False) ; - Standard_Boolean IsDone() const; - BRepBuilderAPI_ShellError Error(); - const TopoDS_Shell& Shell(); +/*/* + * Project Info: http://jcae.sourceforge.net + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * + * (C) Copyright 2005, by EADS CRC + */ + +%{ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#if OCC_VERSION_MAJOR >= 6 +#include +#else +#include +#define BRepBuilderAPI_Sewing BRepAlgo_Sewing +#endif +%} + +class BRepBuilderAPI_Command +{ + %rename(isDone) IsDone; + BRepBuilderAPI_Command()=0; + public: + virtual Standard_Boolean IsDone() const; +}; + +class BRepBuilderAPI_MakeShape: public BRepBuilderAPI_Command +{ + //Hide the constructor to make this class abstract + BRepBuilderAPI_MakeShape()=0; + public: + %rename(build) Build; + %rename(shape) Shape; + virtual void Build(); + // FIXME: 7.3.0 + //const TopoDS_Shape& Shape() const; + const TopoDS_Shape& Shape(); +}; + +class BRepBuilderAPI_ModifyShape: public BRepBuilderAPI_MakeShape +{ + BRepBuilderAPI_ModifyShape()=0; + public: +}; + +%extend BRepBuilderAPI_ModifyShape { + // Use %extend to be compatible with OCE < 0.18 and OCE >= 0.18 + TopoDS_Shape modifiedShape(const TopoDS_Shape& S) const { + return self->ModifiedShape(S); + } +} + +class BRepBuilderAPI_Transform : public BRepBuilderAPI_ModifyShape +{ + %rename(perform) Perform; + public: + BRepBuilderAPI_Transform(const gp_Trsf& T); + BRepBuilderAPI_Transform(const TopoDS_Shape& S, const gp_Trsf& T, + const Standard_Boolean Copy = Standard_False); + void Perform(const TopoDS_Shape& S, + const Standard_Boolean Copy = Standard_False) ; +}; + +class BRepBuilderAPI_MakeVertex: public BRepBuilderAPI_MakeShape +{ + %rename(vertex) Vertex; + public: + BRepBuilderAPI_MakeVertex(const gp_Pnt& P); + //const TopoDS_Vertex& Vertex() const; +}; + +class BRepBuilderAPI_MakeWire : public BRepBuilderAPI_MakeShape +{ + %rename(wire) Wire; + %rename(add) Add; + %rename(isDone) IsDone; + public: + BRepBuilderAPI_MakeWire(); + BRepBuilderAPI_MakeWire(const TopoDS_Edge& E); + BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,const TopoDS_Edge& E2); + BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,const TopoDS_Edge& E2, + const TopoDS_Edge& E3); + BRepBuilderAPI_MakeWire(const TopoDS_Edge& E1,const TopoDS_Edge& E2, + const TopoDS_Edge& E3,const TopoDS_Edge& E4); + BRepBuilderAPI_MakeWire(const TopoDS_Wire& W); + BRepBuilderAPI_MakeWire(const TopoDS_Wire& W,const TopoDS_Edge& E); + void Add(const TopoDS_Edge& E) ; + void Add(const TopoDS_Wire& W) ; + void Add(const TopTools_ListOfShape & shapes); + Standard_Boolean IsDone() const; + const TopoDS_Wire& Wire(); +}; + +class BRepBuilderAPI_MakeEdge : public BRepBuilderAPI_MakeShape +{ + %rename(edge) Edge; + %rename(isDone) IsDone; + public: + BRepBuilderAPI_MakeEdge(); + BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L); + BRepBuilderAPI_MakeEdge(const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const gp_Circ& L); + BRepBuilderAPI_MakeEdge(const gp_Circ& L,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const gp_Circ& L,const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const gp_Circ& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const gp_Parab& L); + BRepBuilderAPI_MakeEdge(const gp_Parab& L,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const gp_Parab& L,const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const gp_Parab& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L, const Handle_Geom_Surface& S); + BRepBuilderAPI_MakeEdge(const Handle_Geom_TrimmedCurve& L); + Standard_Boolean IsDone() const; + // FIXME: 7.3.0 + //const TopoDS_Edge& Edge() const; + const TopoDS_Edge& Edge(); + + BRepBuilderAPI_MakeEdge(const gp_Lin& L); + BRepBuilderAPI_MakeEdge(const gp_Lin& L,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const gp_Lin& L,const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const gp_Lin& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const gp_Elips& L); + BRepBuilderAPI_MakeEdge(const gp_Elips& L,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const gp_Elips& L,const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const gp_Elips& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const gp_Hypr& L); + BRepBuilderAPI_MakeEdge(const gp_Hypr& L,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const gp_Hypr& L,const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const gp_Hypr& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const Handle_Geom_Curve& L,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S); + BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const Standard_Real p1,const Standard_Real p2); + BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const gp_Pnt& P1,const gp_Pnt& P2); + BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const TopoDS_Vertex& V1,const TopoDS_Vertex& V2); + BRepBuilderAPI_MakeEdge(const Handle_Geom2d_Curve& L,const Handle_Geom_Surface& S,const gp_Pnt& P1,const gp_Pnt& P2,const Standard_Real p1,const Standard_Real p2); + +}; + +class BRepBuilderAPI_MakeFace : public BRepBuilderAPI_MakeShape +{ + %rename(face) Face; + public: + BRepBuilderAPI_MakeFace(const TopoDS_Wire& W, + const Standard_Boolean OnlyPlane = Standard_False); + BRepBuilderAPI_MakeFace(const TopoDS_Face& F,const TopoDS_Wire& W); + //const TopoDS_Face& Face() const; +}; + +class BRepBuilderAPI_MakeSolid: public BRepBuilderAPI_MakeShape +{ + %rename(add) Add; + %rename(isDone) IsDone; + %rename(isDeleted) IsDeleted; + public: + BRepBuilderAPI_MakeSolid(); + BRepBuilderAPI_MakeSolid(const TopoDS_CompSolid& S); + BRepBuilderAPI_MakeSolid(const TopoDS_Shell& S); + BRepBuilderAPI_MakeSolid(const TopoDS_Shell& S1,const TopoDS_Shell& S2); + BRepBuilderAPI_MakeSolid(const TopoDS_Shell& S1,const TopoDS_Shell& S2,const TopoDS_Shell& S3); + BRepBuilderAPI_MakeSolid(const TopoDS_Solid& So); + BRepBuilderAPI_MakeSolid(const TopoDS_Solid& So,const TopoDS_Shell& S); + void Add(const TopoDS_Shell& S) ; + Standard_Boolean IsDone() const; + Standard_Boolean IsDeleted(const TopoDS_Shape& S) ; +}; + +class BRepBuilderAPI_Sewing +{ + public: + + %rename(init) Init; + %rename(add) Add; + %rename(perform) Perform; + %rename(sewedShape) SewedShape; + + %rename(load) Load; + %rename(nbFreeEdges) NbFreeEdges; + %rename(freeEdge) FreeEdge; + %rename(nbMultipleEdges) NbMultipleEdges; + %rename(multipleEdge) MultipleEdge; + %rename(nbDegeneratedShapes) NbDegeneratedShapes; + %rename(degeneratedShape) DegeneratedShape; + %rename(nbDeletedFaces) NbDeletedFaces; + %rename(deletedFace) DeletedFace; + %rename(isDegenerated) IsDegenerated; + %rename(isModified) IsModified; + %rename(modified) Modified; + %rename(dump) Dump; + + %rename(isModifiedSubShape) IsModifiedSubShape; + %rename(modifiedSubShape) ModifiedSubShape; + + BRepBuilderAPI_Sewing(const Standard_Real tolerance = 1.0e-06, + const Standard_Boolean option = Standard_True, + const Standard_Boolean cutting = Standard_True, + const Standard_Boolean nonmanifold = Standard_False); + void Init(const Standard_Real tolerance, + const Standard_Boolean option = Standard_True, + const Standard_Boolean cutting = Standard_True, + const Standard_Boolean nonmanifold = Standard_False) ; + void Load(const TopoDS_Shape& shape) ; + void Add(const TopoDS_Shape& shape) ; + void Perform() ; + const TopoDS_Shape& SewedShape() const; + Standard_Integer NbFreeEdges() const; + const TopoDS_Edge& FreeEdge(const Standard_Integer index) const; + Standard_Integer NbMultipleEdges() const; + const TopoDS_Edge& MultipleEdge(const Standard_Integer index) const; + Standard_Integer NbDegeneratedShapes() const; + const TopoDS_Shape& DegeneratedShape(const Standard_Integer index) const; + Standard_Integer NbDeletedFaces() const; + const TopoDS_Face& DeletedFace(const Standard_Integer index) const; + Standard_Boolean IsDegenerated(const TopoDS_Shape& shape) const; + Standard_Boolean IsModified(const TopoDS_Shape& shape) const; + const TopoDS_Shape& Modified(const TopoDS_Shape& shape) const; + void Dump() const; + + Standard_Boolean IsModifiedSubShape(const TopoDS_Shape& shape) const; + TopoDS_Shape ModifiedSubShape(const TopoDS_Shape& shape) const; +}; + +class BRepBuilderAPI_NurbsConvert : public BRepBuilderAPI_ModifyShape +{ + %rename(perform) Perform; + public: + BRepBuilderAPI_NurbsConvert(); + BRepBuilderAPI_NurbsConvert(const TopoDS_Shape& S, + const Standard_Boolean Copy = Standard_False); + void Perform(const TopoDS_Shape& S, + const Standard_Boolean Copy = Standard_False) ; +}; + +class BRepOffsetAPI_ThruSections : public BRepBuilderAPI_MakeShape +{ +public: + %rename(addWire) AddWire; + %rename(checkCompatibility) CheckCompatibility; + + %rename(init) Init; + %rename(addVertex) AddVertex; + %rename(build) Build; + + BRepOffsetAPI_ThruSections(const Standard_Boolean isSolid = Standard_False, const Standard_Boolean ruled = Standard_False, const Standard_Real pres3d = 1.0e-06); + void AddWire (const TopoDS_Wire& wire) ; + void CheckCompatibility (const Standard_Boolean check = Standard_True) ; + const TopoDS_Shape& Shape(); + + void Init(const Standard_Boolean isSolid = Standard_False,const Standard_Boolean ruled = Standard_False,const Standard_Real pres3d = 1.0e-06) ; + void AddVertex(const TopoDS_Vertex& aVertex) ; + void Build(); +}; + +/** + * VTT +*/ + +class BRepBuilderAPI_MakeShell : public BRepBuilderAPI_MakeShape { + %rename(init) Init; + %rename(isDone) IsDone; + %rename(error) Error; + public: + BRepBuilderAPI_MakeShell(); + BRepBuilderAPI_MakeShell(const Handle_Geom_Surface& S,const Standard_Boolean Segment = Standard_False); + BRepBuilderAPI_MakeShell(const Handle_Geom_Surface& S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False); + void Init(const Handle_Geom_Surface& S,const Standard_Real UMin,const Standard_Real UMax,const Standard_Real VMin,const Standard_Real VMax,const Standard_Boolean Segment = Standard_False) ; + Standard_Boolean IsDone() const; + BRepBuilderAPI_ShellError Error(); + const TopoDS_Shell& Shell(); }; \ No newline at end of file diff --git a/org.jcae.opencascade/src/BRepOffsetAPI.i b/org.jcae.opencascade/src/BRepOffsetAPI.i index cef46c62..53b09ee9 100644 --- a/org.jcae.opencascade/src/BRepOffsetAPI.i +++ b/org.jcae.opencascade/src/BRepOffsetAPI.i @@ -56,46 +56,29 @@ class BRepOffsetAPI_NormalProjection: public BRepBuilderAPI_MakeShape }; -/* - * - * (C) Copyright 2006, by VTT - */ - - -%{#include %} -class BRepOffsetAPI_ThruSections : public BRepBuilderAPI_MakeShape -{ - %rename(init) Init; - %rename(addWire) AddWire; - %rename(addVertex) AddVertex; - %rename(build) Build; - - public: - BRepOffsetAPI_ThruSections(const Standard_Boolean isSolid = Standard_False,const Standard_Boolean ruled = Standard_False,const Standard_Real pres3d = 1.0e-06); - void Init(const Standard_Boolean isSolid = Standard_False,const Standard_Boolean ruled = Standard_False,const Standard_Real pres3d = 1.0e-06) ; - void AddWire(const TopoDS_Wire& wire) ; - void AddVertex(const TopoDS_Vertex& aVertex) ; - void Build(); - - -}; - -%{#include %} - -%rename(Skin) BRepOffset_Skin; -%rename(Pipe) BRepOffset_Pipe; -%rename(RectoVerso) BRepOffset_RectoVerso; - -enum BRepOffset_Mode { - BRepOffset_Skin, - BRepOffset_Pipe, - BRepOffset_RectoVerso -}; - -%{#include %} -class BRepOffsetAPI_MakeThickSolid : public BRepBuilderAPI_MakeShape -{ - public: - BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape& S,const TopTools_ListOfShape& ClosingFaces,const Standard_Real Offset,const Standard_Real Tol,const BRepOffset_Mode Mode = BRepOffset_Skin,const Standard_Boolean Intersection = Standard_False,const Standard_Boolean SelfInter = Standard_False,const GeomAbs_JoinType Join = GeomAbs_Arc); - +/* + * + * (C) Copyright 2006, by VTT + */ + + + +%{#include %} + +%rename(Skin) BRepOffset_Skin; +%rename(Pipe) BRepOffset_Pipe; +%rename(RectoVerso) BRepOffset_RectoVerso; + +enum BRepOffset_Mode { + BRepOffset_Skin, + BRepOffset_Pipe, + BRepOffset_RectoVerso +}; + +%{#include %} +class BRepOffsetAPI_MakeThickSolid : public BRepBuilderAPI_MakeShape +{ + public: + BRepOffsetAPI_MakeThickSolid(const TopoDS_Shape& S,const TopTools_ListOfShape& ClosingFaces,const Standard_Real Offset,const Standard_Real Tol,const BRepOffset_Mode Mode = BRepOffset_Skin,const Standard_Boolean Intersection = Standard_False,const Standard_Boolean SelfInter = Standard_False,const GeomAbs_JoinType Join = GeomAbs_Arc); + }; \ No newline at end of file diff --git a/org.jcae.opencascade/src/Geom.i b/org.jcae.opencascade/src/Geom.i index 1f130889..393fda74 100644 --- a/org.jcae.opencascade/src/Geom.i +++ b/org.jcae.opencascade/src/Geom.i @@ -42,9 +42,15 @@ class Handle_Geom_Geometry Handle_Geom_Geometry()=0; }; -class Handle_Geom_Curve: public Handle_Geom_Geometry +//FIXME: 7.3.0: this is a major flaw, handles cannot be directly casted. I've now added downcast() methods without testing.. +//class Handle_Geom_Curve: public Handle_Geom_Geometry +class Handle_Geom_Curve { - Handle_Geom_Curve()=0; + Handle_Geom_Curve()=0; + + Handle_Geom_Curve downcast() { + return (*self); + } }; %extend Handle_Geom_Curve @@ -75,9 +81,15 @@ class Handle_Geom_Curve: public Handle_Geom_Geometry } } -class Handle_Geom_Surface: public Handle_Geom_Geometry +//FIXME: 7.3.0 +//class Handle_Geom_Surface: public Handle_Geom_Geometry +class Handle_Geom_Surface { Handle_Geom_Surface()=0; + + Handle_Geom_Curve downcast() { + return (*self); + } }; %extend Handle_Geom_Surface @@ -134,17 +146,37 @@ class Handle_Geom2d_Geometry Handle_Geom2d_Geometry()=0; }; -class Handle_Geom2d_Curve: public Handle_Geom2d_Geometry +//FIXME: 7.3.0 +//class Handle_Geom2d_Curve: public Handle_Geom2d_Geometry +class Handle_Geom2d_Curve { Handle_Geom2d_Curve()=0; + + Handle_Geom2d_Geometry downcast() { + return (*self); + } }; -class Handle_Geom_BoundedCurve : public Handle_Geom_Curve { +//FIXME: 7.3.0 +//class Handle_Geom_BoundedCurve : public Handle_Geom_Curve +class Handle_Geom_BoundedCurve +{ Handle_Geom_BoundedCurve()=0; + + Handle_Geom_Curve downcast() { + return (*self); + } }; -class Handle_Geom_BSplineCurve : public Handle_Geom_BoundedCurve { +//FIXME: 7.3.0 +//class Handle_Geom_BSplineCurve : public Handle_Geom_BoundedCurve +class Handle_Geom_BSplineCurve +{ Handle_Geom_BSplineCurve()=0; + + Handle_Geom_BoundedCurve downcast() { + return (*self); + } }; %extend Handle_Geom_BSplineCurve @@ -278,6 +310,13 @@ class Handle_Geom_BSplineCurve : public Handle_Geom_BoundedCurve { } -class Handle_Geom_TrimmedCurve : public Handle_Geom_BoundedCurve { +//FIXME: 7.3.0 +//class Handle_Geom_TrimmedCurve : public Handle_Geom_BoundedCurve +class Handle_Geom_TrimmedCurve +{ Handle_Geom_TrimmedCurve()=0; + + Handle_Geom_BoundedCurve downcast() { + return (*self); + } }; diff --git a/org.jcae.opencascade/src/OccJava.i b/org.jcae.opencascade/src/OccJava.i index f2352dc9..20f9b8fc 100644 --- a/org.jcae.opencascade/src/OccJava.i +++ b/org.jcae.opencascade/src/OccJava.i @@ -1,482 +1,481 @@ -/* - * Project Info: http://jcae.sourceforge.net - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, Inc., - * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - * - * (C) Copyright 2005, by EADS CRC - * (C) Copyright 2008, 2009, by EADS France - */ - -%module OccJava - -%{ -#ifdef HAVE_CONFIG_H -//config.h generated by autotools from config.h.in (see an example in Opencascade). -#include "config.h" -#endif -#include -#include -#include -%} - -// Handle enums with Java enums -%javaconst(1); -%include "enums.swg" - -// Handle C arrays as Java arrays -%include "arrays_java.i"; -%apply double[] {double *}; -%apply double[] {double &}; - -// load the native library -%pragma(java) jniclasscode=%{ - static - { - System.loadLibrary("TKERNEL"); - System.loadLibrary("TKMATH"); - System.loadLibrary("TKG2D"); - System.loadLibrary("TKG3D"); - System.loadLibrary("TKGEOMBASE"); - System.loadLibrary("TKBREP"); - System.loadLibrary("TKGEOMALGO"); - System.loadLibrary("TKTOPALGO"); - System.loadLibrary("TKMESH"); - - System.loadLibrary("TKBO"); - System.loadLibrary("TKSHHEALING"); - - System.loadLibrary("TKPRIM"); - System.loadLibrary("TKBOOL"); - System.loadLibrary("TKFILLET"); - System.loadLibrary("TKOFFSET"); - - System.loadLibrary("TKXSBASE"); - System.loadLibrary("TKIGES"); - System.loadLibrary("TKSTEPBASE"); - System.loadLibrary("TKSTEPATTR"); - System.loadLibrary("TKSTEP209"); - System.loadLibrary("TKSTEP"); - - System.loadLibrary("OccJava"); - if(!"0".equals(System.getenv("MMGT_OPT"))) - throw new RuntimeException("The MMGT_OPT environement variable must be set to 0 before using occjava."); - } -%} - -%include "Standard.i" -%include "gp.i" -%include "TCol.i" -%include "TopAbs.i" -%include "TopoDS.i" -%include "GeomAbs.i" -%include "TopTools.i" -%include "BRep.i" -%include "GeomLProp_SLProps.i" -%include "BRepTools.i" -%include "BRepBuilderAPI.i" -%include "BRepOffsetAPI.i" -%include "BRepPrimAPI.i" -%include "BRepAlgoAPI.i" -%include "Poly.i" -%include "Geom.i" -%include "BRepLib.i" -%include "BRepFilletAPI.i" -%include "BRepCheck.i" -%include "ShapeBuild.i" -%include "XSControl.i" -%include "ShapeFix.i" -%include "APIHeaderSection_MakeHeader.i" -// This one require Opencascade 6.2 -%include "ShapeUpgrade.i" -//Jens Schmidt, req. f. Thesis -%include "GeomAPI.i" -%include "GC.i" - - -%typemap(javacode) TopExp -%{ - public static TopoDS_Vertex[] vertices(TopoDS_Edge edge) - { - TopoDS_Vertex first=new TopoDS_Vertex(); - TopoDS_Vertex second=new TopoDS_Vertex(); - vertices(edge, first, second); - return new TopoDS_Vertex[]{first, second}; - } -%} - -class TopLoc_Location -{ - %rename(isIdentity) IsIdentity; - %rename(transformation) Transformation; - public: - Standard_Boolean IsIdentity(); - const gp_Trsf& Transformation(); -}; - -class TopExp -{ - public: - %rename(vertices) Vertices; - static void Vertices(const TopoDS_Edge& E,TopoDS_Vertex& Vfirst,TopoDS_Vertex& Vlast,const Standard_Boolean CumOri = Standard_False) ; -}; - -/** - * TopExp_Explorer - */ -%{#include "TopExp_Explorer.hxx"%} -class TopExp_Explorer -{ - public: - TopExp_Explorer(); - TopExp_Explorer(const TopoDS_Shape& S,const TopAbs_ShapeEnum ToFind, - const TopAbs_ShapeEnum ToAvoid = TopAbs_SHAPE); - %rename(init) Init; - %rename(more) More; - %rename(next) Next; - %rename(current) Current; - void Init(const TopoDS_Shape& S, const TopAbs_ShapeEnum ToFind, - const TopAbs_ShapeEnum ToAvoid = TopAbs_SHAPE) ; - Standard_Boolean More() const; - void Next() ; - const TopoDS_Shape & Current(); -}; - -/** - * Bnd_Box - */ -%{#include "Bnd_Box.hxx"%} -%typemap(javacode) Bnd_Box -%{ - /** - * Return the array { Xmin, Ymin, Zmin, Xmax, Ymax, Zmax } - */ - public double[] get() - { - double[] toReturn=new double[6]; - get(toReturn); - return toReturn; - } -%} - -class Bnd_Box -{ - %rename(isVoid) IsVoid; - public: - Bnd_Box(); - Standard_Boolean IsVoid() const; -}; - -%extend Bnd_Box -{ - void get(double box[6]) - { - if(!self->IsVoid()) - self->Get(box[0], box[1], box[2], box[3], box[4], box[5]); - } -}; - -/** - * BRepBndLib - */ -%{#include "BRepBndLib.hxx"%} -class BRepBndLib -{ - public: - %rename(add) Add; - static void Add(const TopoDS_Shape& shape,Bnd_Box& bndBox); -}; - -/** - * Adaptor2d_Curve2d - */ -%{#include "Adaptor2d_Curve2d.hxx"%} - -class Adaptor2d_Curve2d -{ - Adaptor2d_Curve2d()=0; - public: - %rename(value) Value; - virtual gp_Pnt2d Value(const Standard_Real U) const; -}; - -/** - * Geom2dAdaptor_Curve - */ -%{#include "Geom2dAdaptor_Curve.hxx"%} -class Geom2dAdaptor_Curve: public Adaptor2d_Curve2d -{ - %rename(load) Load; - public: - Geom2dAdaptor_Curve(); - Geom2dAdaptor_Curve(const Handle_Geom2d_Curve & C); - Geom2dAdaptor_Curve(const Handle_Geom2d_Curve & C,const Standard_Real UFirst,const Standard_Real ULast); - void Load(const Handle_Geom2d_Curve & C) ; - void Load(const Handle_Geom2d_Curve & C,const Standard_Real UFirst,const Standard_Real ULast) ; -}; - -/** - * Adaptor3d_Curve - */ -%{#include "Adaptor3d_Curve.hxx"%} - -class Adaptor3d_Curve -{ - Adaptor3d_Curve()=0; - public: - %rename(value) Value; - const gp_Pnt Value(const Standard_Real U) const; -}; - -//extends the Adaptor3d_Curve class to reduce the JNI overhead when -//calling a lot of Adaptor3d_Curve.Value -%extend Adaptor3d_Curve -{ - public: - void arrayValues(int size, double u[]) - { - for (int i = 0; i < size; i++) - { - gp_Pnt gp=self->Value(u[3*i]); - u[3*i] = gp.X(); - u[3*i+1] = gp.Y(); - u[3*i+2] = gp.Z(); - } - } -}; - -/** - * GeomAdaptor_Curve - */ -%{#include "GeomAdaptor_Curve.hxx"%} - -class GeomAdaptor_Curve: public Adaptor3d_Curve -{ - %rename(load) Load; - public: - GeomAdaptor_Curve(); - GeomAdaptor_Curve(const Handle_Geom_Curve & C); - GeomAdaptor_Curve(const Handle_Geom_Curve & C, - const Standard_Real UFirst,const Standard_Real ULast); - void Load(const Handle_Geom_Curve & C) ; - void Load(const Handle_Geom_Curve & C, - const Standard_Real UFirst,const Standard_Real ULast) ; - -}; - - -/** - * GProp_GProps - */ - %{#include "GProp_GProps.hxx"%} -// class GProp_GProps -// { -// public: -// %rename(mass) Mass; -// GProp_GProps(); -// Standard_Real Mass() const; -//}; -class GProp_GProps -{ - public: - %rename(mass) Mass; - %rename(centreOfMass) CentreOfMass; - %rename(matrixOfInertia) MatrixOfInertia; - GProp_GProps(); - Standard_Real Mass() const; - gp_Pnt CentreOfMass() const; - gp_Mat MatrixOfInertia() const; -}; - -%{#include "GProp_PGProps.hxx"%} -class GProp_PGProps : public GProp_GProps -{ -}; -%{#include "GProp_CelGProps.hxx"%} -class GProp_CelGProps: public GProp_GProps -{ -}; - -%{#include "GProp_SelGProps.hxx"%} -class GProp_SelGProps: public GProp_GProps -{ -}; - -%{#include "GProp_VelGProps.hxx"%} -class GProp_VelGProps: public GProp_GProps -{ -}; - - -//%{#include "GProp_CGProps.gxx"%} -//class GProp_CGProps: public GProp_GProps -//{ -//}; - -//%{#include "GProp_SGProps.gxx"%} -//class GProp_SGProps: public GProp_GProps -//{ -//}; - -//%{#include "GProp_VGProps.gxx"%} -//class GProp_VGProps -//{ -//}; - - -/** - * BRepGProp - */ -%{#include "BRepGProp.hxx"%} -class BRepGProp -{ - public: - %rename(linearProperties) LinearProperties; - %rename(surfaceProperties) SurfaceProperties; - %rename(volumeProperties) VolumeProperties; - %rename(volumePropertiesGK) VolumePropertiesGK; - static void LinearProperties(const TopoDS_Shape& shape, GProp_GProps& properties); - static void VolumeProperties(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Boolean onlyClosed = Standard_False) ; - static Standard_Real VolumeProperties(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Real Eps, const Standard_Boolean onlyClosed = Standard_False) ; - static void SurfaceProperties(const TopoDS_Shape& shape, GProp_GProps& properties) ; - static Standard_Real SurfaceProperties(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Real Eps) ; - static Standard_Real VolumePropertiesGK(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Real Eps, const Standard_Boolean onlyClosed = Standard_False, const Standard_Boolean isUseSpan = Standard_False, const Standard_Boolean cgFlag = Standard_False, const Standard_Boolean iFlag = Standard_False) ; -}; - -/** - * - */ -%rename(VOID) IFSelect_RetVoid; -%rename(DONE) IFSelect_RetDone; -%rename(ERROR) IFSelect_RetError; -%rename(FAIL) IFSelect_RetFail; -%rename(STOP) IFSelect_RetStop; -enum IFSelect_ReturnStatus { - IFSelect_RetVoid, - IFSelect_RetDone, - IFSelect_RetError, - IFSelect_RetFail, - IFSelect_RetStop -}; - -%{#include %} -class ShapeAnalysis_FreeBounds -{ - %rename(getClosedWires) GetClosedWires; - %rename(getOpenWires) GetOpenWires; - public: - ShapeAnalysis_FreeBounds(const TopoDS_Shape& shape, - const Standard_Boolean splitclosed = Standard_False, - const Standard_Boolean splitopen = Standard_True); - const TopoDS_Compound& GetClosedWires() const; - const TopoDS_Compound& GetOpenWires() const; -}; - -%{#include %} -class GCPnts_UniformDeflection -{ - %rename(initialize) Initialize; - %rename(nbPoints) NbPoints; - %rename(parameter) Parameter; - public: - GCPnts_UniformDeflection(); - void Initialize(Adaptor3d_Curve& C,const Standard_Real Deflection, - const Standard_Real U1,const Standard_Real U2, - const Standard_Boolean WithControl = Standard_True) ; - Standard_Integer NbPoints() const; - Standard_Real Parameter(const Standard_Integer Index) const; -}; - -%{#include %} -class BRepMesh_DiscretRoot -{ - %rename(setDeflection) SetDeflection; - %rename(setAngle) SetAngle; - %rename(deflection) Deflection; - %rename(angle) Angle; - %rename(perform) Perform; - - protected: - BRepMesh_DiscretRoot(); - public: - void SetDeflection(const Standard_Real D) ; - void SetAngle(const Standard_Real Ang) ; - Standard_Real Deflection() const; - Standard_Real Angle() const; - virtual void Perform(); -}; - -%{#include %} -class BRepMesh_IncrementalMesh : public BRepMesh_DiscretRoot -{ - %rename(perform) Perform; - %rename(update) Update; - %rename(isModified) IsModified; - - public: - BRepMesh_IncrementalMesh(); - BRepMesh_IncrementalMesh(const TopoDS_Shape& S,const Standard_Real D, - const Standard_Boolean Relatif = Standard_False, - const Standard_Real Ang = 0.5); - - void Perform(); - void Update(const TopoDS_Shape& S) ; - Standard_Boolean IsModified() const; -}; - -%{#include %} - -%typemap(javacode) GeomAPI_ProjectPointOnSurf -%{ - public void lowerDistanceParameters(double[] uv) - { - double[] d2=new double[1]; - lowerDistanceParameters(uv, d2); - uv[1]=d2[0]; - } -%} - -class GeomAPI_ProjectPointOnSurf -{ - %rename(init) Init; - %rename(nbPoints) NbPoints; - %rename(lowerDistanceParameters) LowerDistanceParameters; - %rename(lowerDistance) LowerDistance; - %rename(point) Point; - %rename(parameters) Parameters; - %rename(nearestPoint) NearestPoint; - public: - GeomAPI_ProjectPointOnSurf(const gp_Pnt& P, - const Handle_Geom_Surface & Surface); - void Init(const gp_Pnt& P,const Handle_Geom_Surface & surface); - Standard_Integer NbPoints() const; - Quantity_Length LowerDistance() const; - const gp_Pnt Point(const Standard_Integer Index) const; - void LowerDistanceParameters(Quantity_Parameter& U,Quantity_Parameter& V) const; - void Parameters(const Standard_Integer Index,Quantity_Parameter& U,Quantity_Parameter& V) const; - gp_Pnt NearestPoint() const; -}; - -/** - * BRepAlgo - */ -%{#include %} -class BRepAlgo -{ - %rename(isValid) IsValid; - %rename(isTopologicallyValid) IsTopologicallyValid; - public: - static Standard_Boolean IsValid(const TopoDS_Shape& S); - static Standard_Boolean IsTopologicallyValid(const TopoDS_Shape& S); -}; +/* + * Project Info: http://jcae.sourceforge.net + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * + * (C) Copyright 2005, by EADS CRC + * (C) Copyright 2008, 2009, by EADS France + */ + +%module OccJava + +%{ +#ifdef HAVE_CONFIG_H +//config.h generated by autotools from config.h.in (see an example in Opencascade). +#include "config.h" +#endif +#include +#include +#include +%} + +// Handle enums with Java enums +%javaconst(1); +%include "enums.swg" + +// Handle C arrays as Java arrays +%include "arrays_java.i"; +%apply double[] {double *}; +%apply double[] {double &}; + +// load the native library +%pragma(java) jniclasscode=%{ + static + { + System.loadLibrary("TKERNEL"); + System.loadLibrary("TKMATH"); + System.loadLibrary("TKG2D"); + System.loadLibrary("TKG3D"); + System.loadLibrary("TKGEOMBASE"); + System.loadLibrary("TKBREP"); + System.loadLibrary("TKGEOMALGO"); + System.loadLibrary("TKTOPALGO"); + System.loadLibrary("TKMESH"); + + System.loadLibrary("TKPRIM"); + System.loadLibrary("TKSHHEALING"); + System.loadLibrary("TKBO"); + + System.loadLibrary("TKBOOL"); + System.loadLibrary("TKFILLET"); + System.loadLibrary("TKOFFSET"); + + System.loadLibrary("TKXSBASE"); + System.loadLibrary("TKIGES"); + System.loadLibrary("TKSTEPBASE"); + System.loadLibrary("TKSTEPATTR"); + System.loadLibrary("TKSTEP209"); + System.loadLibrary("TKSTEP"); + + System.loadLibrary("OccJava"); + String mmg_opt= System.getenv("MMGT_OPT"); + if(mmg_opt != null && !"0".equals(mmg_opt)) + throw new RuntimeException("The MMGT_OPT environment variable must be set to 0 before using occjava."); + } +%} + +%include "Standard.i" +%include "gp.i" +%include "TCol.i" +%include "TopAbs.i" +%include "TopoDS.i" +%include "GeomAbs.i" +%include "TopTools.i" +%include "BRep.i" +%include "GeomLProp_SLProps.i" +%include "BRepTools.i" +%include "BRepBuilderAPI.i" +%include "BRepOffsetAPI.i" +%include "BRepPrimAPI.i" +%include "BRepAlgoAPI.i" +%include "Poly.i" +%include "Geom.i" +%include "BRepLib.i" +%include "BRepFilletAPI.i" +%include "BRepCheck.i" +%include "ShapeBuild.i" +%include "XSControl.i" +%include "ShapeFix.i" +%include "APIHeaderSection_MakeHeader.i" +// This one require Opencascade 6.2 +%include "ShapeUpgrade.i" +//Jens Schmidt, req. f. Thesis +%include "GeomAPI.i" +%include "GC.i" + + +%typemap(javacode) TopExp +%{ + public static TopoDS_Vertex[] vertices(TopoDS_Edge edge) + { + TopoDS_Vertex first=new TopoDS_Vertex(); + TopoDS_Vertex second=new TopoDS_Vertex(); + vertices(edge, first, second); + return new TopoDS_Vertex[]{first, second}; + } +%} + +class TopLoc_Location +{ + %rename(isIdentity) IsIdentity; + %rename(transformation) Transformation; + public: + Standard_Boolean IsIdentity(); + const gp_Trsf& Transformation(); +}; + +class TopExp +{ + public: + %rename(vertices) Vertices; + static void Vertices(const TopoDS_Edge& E,TopoDS_Vertex& Vfirst,TopoDS_Vertex& Vlast,const Standard_Boolean CumOri = Standard_False) ; +}; + +/** + * TopExp_Explorer + */ +%{#include "TopExp_Explorer.hxx"%} +class TopExp_Explorer +{ + public: + TopExp_Explorer(); + TopExp_Explorer(const TopoDS_Shape& S,const TopAbs_ShapeEnum ToFind, + const TopAbs_ShapeEnum ToAvoid = TopAbs_SHAPE); + %rename(init) Init; + %rename(more) More; + %rename(next) Next; + %rename(current) Current; + void Init(const TopoDS_Shape& S, const TopAbs_ShapeEnum ToFind, + const TopAbs_ShapeEnum ToAvoid = TopAbs_SHAPE) ; + Standard_Boolean More() const; + void Next() ; + const TopoDS_Shape & Current(); +}; + +/** + * Bnd_Box + */ +%{#include "Bnd_Box.hxx"%} +%typemap(javacode) Bnd_Box +%{ + /** + * Return the array { Xmin, Ymin, Zmin, Xmax, Ymax, Zmax } + */ + public double[] get() + { + double[] toReturn=new double[6]; + get(toReturn); + return toReturn; + } +%} + +class Bnd_Box +{ + %rename(isVoid) IsVoid; + public: + Bnd_Box(); + Standard_Boolean IsVoid() const; +}; + +%extend Bnd_Box +{ + void get(double box[6]) + { + if(!self->IsVoid()) + self->Get(box[0], box[1], box[2], box[3], box[4], box[5]); + } +}; + +/** + * BRepBndLib + */ +%{#include "BRepBndLib.hxx"%} +class BRepBndLib +{ + public: + %rename(add) Add; + static void Add(const TopoDS_Shape& shape,Bnd_Box& bndBox); +}; + +/** + * Adaptor2d_Curve2d + */ +%{#include "Adaptor2d_Curve2d.hxx"%} + +class Adaptor2d_Curve2d +{ + Adaptor2d_Curve2d()=0; + public: + %rename(value) Value; + virtual gp_Pnt2d Value(const Standard_Real U) const; +}; + +/** + * Geom2dAdaptor_Curve + */ +%{#include "Geom2dAdaptor_Curve.hxx"%} +class Geom2dAdaptor_Curve: public Adaptor2d_Curve2d +{ + %rename(load) Load; + public: + Geom2dAdaptor_Curve(); + Geom2dAdaptor_Curve(const Handle_Geom2d_Curve & C); + Geom2dAdaptor_Curve(const Handle_Geom2d_Curve & C,const Standard_Real UFirst,const Standard_Real ULast); + void Load(const Handle_Geom2d_Curve & C) ; + void Load(const Handle_Geom2d_Curve & C,const Standard_Real UFirst,const Standard_Real ULast) ; +}; + +/** + * Adaptor3d_Curve + */ +%{#include "Adaptor3d_Curve.hxx"%} + +class Adaptor3d_Curve +{ + Adaptor3d_Curve()=0; + public: + %rename(value) Value; + const gp_Pnt Value(const Standard_Real U) const; +}; + +//extends the Adaptor3d_Curve class to reduce the JNI overhead when +//calling a lot of Adaptor3d_Curve.Value +%extend Adaptor3d_Curve +{ + public: + void arrayValues(int size, double u[]) + { + for (int i = 0; i < size; i++) + { + gp_Pnt gp=self->Value(u[3*i]); + u[3*i] = gp.X(); + u[3*i+1] = gp.Y(); + u[3*i+2] = gp.Z(); + } + } +}; + +/** + * GeomAdaptor_Curve + */ +%{#include "GeomAdaptor_Curve.hxx"%} + +class GeomAdaptor_Curve: public Adaptor3d_Curve +{ + %rename(load) Load; + public: + GeomAdaptor_Curve(); + GeomAdaptor_Curve(const Handle_Geom_Curve & C); + GeomAdaptor_Curve(const Handle_Geom_Curve & C, + const Standard_Real UFirst,const Standard_Real ULast); + void Load(const Handle_Geom_Curve & C) ; + void Load(const Handle_Geom_Curve & C, + const Standard_Real UFirst,const Standard_Real ULast) ; + +}; + + +/** + * GProp_GProps + */ + %{#include "GProp_GProps.hxx"%} +// class GProp_GProps +// { +// public: +// %rename(mass) Mass; +// GProp_GProps(); +// Standard_Real Mass() const; +//}; +class GProp_GProps +{ + public: + %rename(mass) Mass; + %rename(centreOfMass) CentreOfMass; + %rename(matrixOfInertia) MatrixOfInertia; + GProp_GProps(); + Standard_Real Mass() const; + gp_Pnt CentreOfMass() const; + gp_Mat MatrixOfInertia() const; +}; + +%{#include "GProp_PGProps.hxx"%} +class GProp_PGProps : public GProp_GProps +{ +}; +%{#include "GProp_CelGProps.hxx"%} +class GProp_CelGProps: public GProp_GProps +{ +}; + +%{#include "GProp_SelGProps.hxx"%} +class GProp_SelGProps: public GProp_GProps +{ +}; + +%{#include "GProp_VelGProps.hxx"%} +class GProp_VelGProps: public GProp_GProps +{ +}; + + +//%{#include "GProp_CGProps.gxx"%} +//class GProp_CGProps: public GProp_GProps +//{ +//}; + +//%{#include "GProp_SGProps.gxx"%} +//class GProp_SGProps: public GProp_GProps +//{ +//}; + +//%{#include "GProp_VGProps.gxx"%} +//class GProp_VGProps +//{ +//}; + + +/** + * BRepGProp + */ +%{#include "BRepGProp.hxx"%} +class BRepGProp +{ + public: + %rename(linearProperties) LinearProperties; + %rename(surfaceProperties) SurfaceProperties; + %rename(volumeProperties) VolumeProperties; + %rename(volumePropertiesGK) VolumePropertiesGK; + static void LinearProperties(const TopoDS_Shape& shape, GProp_GProps& properties); + static void VolumeProperties(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Boolean onlyClosed = Standard_False) ; + static Standard_Real VolumeProperties(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Real Eps, const Standard_Boolean onlyClosed = Standard_False) ; + static void SurfaceProperties(const TopoDS_Shape& shape, GProp_GProps& properties) ; + static Standard_Real SurfaceProperties(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Real Eps) ; + static Standard_Real VolumePropertiesGK(const TopoDS_Shape& shape, GProp_GProps& properties, const Standard_Real Eps, const Standard_Boolean onlyClosed = Standard_False, const Standard_Boolean isUseSpan = Standard_False, const Standard_Boolean cgFlag = Standard_False, const Standard_Boolean iFlag = Standard_False) ; +}; + +/** + * + */ +%rename(VOID) IFSelect_RetVoid; +%rename(DONE) IFSelect_RetDone; +%rename(ERROR) IFSelect_RetError; +%rename(FAIL) IFSelect_RetFail; +%rename(STOP) IFSelect_RetStop; +enum IFSelect_ReturnStatus { + IFSelect_RetVoid, + IFSelect_RetDone, + IFSelect_RetError, + IFSelect_RetFail, + IFSelect_RetStop +}; + +%{#include %} +class ShapeAnalysis_FreeBounds +{ + %rename(getClosedWires) GetClosedWires; + %rename(getOpenWires) GetOpenWires; + public: + ShapeAnalysis_FreeBounds(const TopoDS_Shape& shape, + const Standard_Boolean splitclosed = Standard_False, + const Standard_Boolean splitopen = Standard_True); + const TopoDS_Compound& GetClosedWires() const; + const TopoDS_Compound& GetOpenWires() const; +}; + +%{#include %} +class GCPnts_UniformDeflection +{ + %rename(initialize) Initialize; + %rename(nbPoints) NbPoints; + %rename(parameter) Parameter; + public: + GCPnts_UniformDeflection(); + void Initialize(Adaptor3d_Curve& C,const Standard_Real Deflection, + const Standard_Real U1,const Standard_Real U2, + const Standard_Boolean WithControl = Standard_True) ; + Standard_Integer NbPoints() const; + Standard_Real Parameter(const Standard_Integer Index) const; +}; + +%{#include %} +class BRepMesh_DiscretRoot +{ + //%rename(setDeflection) SetDeflection; + //%rename(setAngle) SetAngle; + //%rename(deflection) Deflection; + //%rename(angle) Angle; + %rename(perform) Perform; + + protected: + BRepMesh_DiscretRoot(); + public: + //void SetDeflection(const Standard_Real D) ; + //void SetAngle(const Standard_Real Ang) ; + //Standard_Real Deflection() const; + //Standard_Real Angle() const; + virtual void Perform(); +}; + +%{#include %} +class BRepMesh_IncrementalMesh : public BRepMesh_DiscretRoot +{ + %rename(perform) Perform; + %rename(isModified) IsModified; + + public: + BRepMesh_IncrementalMesh(); + BRepMesh_IncrementalMesh(const TopoDS_Shape& S,const Standard_Real D, + const Standard_Boolean Relatif = Standard_False, + const Standard_Real Ang = 0.5); + + void Perform(); + Standard_Boolean IsModified() const; +}; + +%{#include %} + +%typemap(javacode) GeomAPI_ProjectPointOnSurf +%{ + public void lowerDistanceParameters(double[] uv) + { + double[] d2=new double[1]; + lowerDistanceParameters(uv, d2); + uv[1]=d2[0]; + } +%} + +class GeomAPI_ProjectPointOnSurf +{ + %rename(init) Init; + %rename(nbPoints) NbPoints; + %rename(lowerDistanceParameters) LowerDistanceParameters; + %rename(lowerDistance) LowerDistance; + %rename(point) Point; + %rename(parameters) Parameters; + %rename(nearestPoint) NearestPoint; + public: + GeomAPI_ProjectPointOnSurf(const gp_Pnt& P, + const Handle_Geom_Surface & Surface); + void Init(const gp_Pnt& P,const Handle_Geom_Surface & surface); + Standard_Integer NbPoints() const; + Standard_Real LowerDistance() const; + const gp_Pnt Point(const Standard_Integer Index) const; + void LowerDistanceParameters(Standard_Real& U,Standard_Real& V) const; + void Parameters(const Standard_Integer Index,Standard_Real& U,Standard_Real& V) const; + gp_Pnt NearestPoint() const; +}; + +/** + * BRepAlgo + */ +%{#include %} +class BRepAlgo +{ + %rename(isValid) IsValid; + %rename(isTopologicallyValid) IsTopologicallyValid; + public: + static Standard_Boolean IsValid(const TopoDS_Shape& S); + static Standard_Boolean IsTopologicallyValid(const TopoDS_Shape& S); +}; diff --git a/org.jcae.opencascade/src/ShapeBuild.i b/org.jcae.opencascade/src/ShapeBuild.i index 02a92654..02558969 100644 --- a/org.jcae.opencascade/src/ShapeBuild.i +++ b/org.jcae.opencascade/src/ShapeBuild.i @@ -28,7 +28,7 @@ class ShapeBuild_ReShape %rename(apply) Apply; ShapeBuild_ReShape(); - void Replace(const TopoDS_Shape& shape,const TopoDS_Shape& newshape,const Standard_Boolean oriented = Standard_False) ; + void Replace(const TopoDS_Shape& shape,const TopoDS_Shape& newshape) ; TopoDS_Shape Apply(const TopoDS_Shape& shape,const TopAbs_ShapeEnum until = TopAbs_SHAPE) ; }; diff --git a/org.jcae.opencascade/src/ShapeFix.i b/org.jcae.opencascade/src/ShapeFix.i index de094dc5..a5b5aacf 100644 --- a/org.jcae.opencascade/src/ShapeFix.i +++ b/org.jcae.opencascade/src/ShapeFix.i @@ -38,7 +38,9 @@ class ShapeFix_Root { ShapeBuild_ReShape * getContext() { - Standard_Transient * p = self->Context(); + // FIXME: 7.3.0 + //Standard_Transient * p = self->Context(); + Standard_Transient * p = self->This(); return dynamic_cast(p); } } diff --git a/org.jcae.opencascade/src/Standard.i b/org.jcae.opencascade/src/Standard.i index 16577d2c..9d13ea0d 100644 --- a/org.jcae.opencascade/src/Standard.i +++ b/org.jcae.opencascade/src/Standard.i @@ -77,8 +77,8 @@ %typedef double Standard_Real; %typedef int Standard_Integer; -%typedef double Quantity_Length; -%typedef double Quantity_Parameter; +//%typedef double Quantity_Length; +//%typedef double Quantity_Parameter; /** * Standard_OStream diff --git a/org.jcae.opencascade/src/XSControl.i b/org.jcae.opencascade/src/XSControl.i index ee1b8579..ca584f0f 100644 --- a/org.jcae.opencascade/src/XSControl.i +++ b/org.jcae.opencascade/src/XSControl.i @@ -246,6 +246,7 @@ class IGESControl_Reader: public XSControl_Reader * aWriter.write("foo.stp") */ %{ +//#include #include %} class STEPControl_Writer @@ -257,7 +258,9 @@ class STEPControl_Writer STEPControl_Writer(); IFSelect_ReturnStatus Write(const Standard_CString filename); IFSelect_ReturnStatus Transfer(TopoDS_Shape theShape, STEPControl_StepModelType mode); - Handle_StepData_StepModel Model(const Standard_Boolean newone); + // FIXME: 7.3.0 Handle_StepData_StepModel cannot be resolved + //Handle_StepData_StepModel Model(const Standard_Boolean newone); + //Handle(StepData_StepModel) Model(const Standard_Boolean newone); }; diff --git a/org.jcae.opencascade/src/gp.i b/org.jcae.opencascade/src/gp.i index 26846c66..bfde28d9 100644 --- a/org.jcae.opencascade/src/gp.i +++ b/org.jcae.opencascade/src/gp.i @@ -1,426 +1,422 @@ -/* - * Project Info: http://jcae.sourceforge.net - * - * This program is free software; you can redistribute it and/or modify it under - * the terms of the GNU Lesser General Public License as published by the Free - * Software Foundation; either version 2.1 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS - * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more - * details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, Inc., - * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. - * - * (C) Copyright 2005, by EADS CRC - */ - -%{ - jdoubleArray XYZtoDoubleArray(JNIEnv* jenv, const gp_XYZ & xyz) - { - jdouble nativeArray[]={xyz.X(), xyz.Y(), xyz.Z()}; - jdoubleArray toReturn=jenv->NewDoubleArray(3); - jenv->SetDoubleArrayRegion(toReturn, 0, 3, nativeArray); - return toReturn; - } -%} - -/** - * gp_Pnt - */ - -%typemap(jni) gp_Pnt, const gp_Pnt& "jdoubleArray" -%typemap(jtype) gp_Pnt, const gp_Pnt& "double[]" -%typemap(jstype) gp_Pnt, const gp_Pnt& "double[]" - -%typemap(in) gp_Pnt, const gp_Pnt& -{ - if(JCALL1(GetArrayLength, jenv, $input)!=3) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - $1=new gp_Pnt(naxe[0],naxe[1],naxe[2]); -} - -%typemap(out) const gp_Pnt& -{ - $result=XYZtoDoubleArray(jenv, $1->XYZ()); -} - -%typemap(out) gp_Pnt -{ - $result=XYZtoDoubleArray(jenv, $1.XYZ()); -} - -%typemap(freearg) gp_Pnt, const gp_Pnt& -{ - delete $1; -} - -%typemap(javain) gp_Pnt, const gp_Pnt& "$javainput" -%typemap(javaout) gp_Pnt, const gp_Pnt& -{ - return $jnicall; -} - -/** - * gp_Pnt2d - */ - -%typemap(jni) gp_Pnt2d, const gp_Pnt2d& "jdoubleArray" -%typemap(jtype) gp_Pnt2d, const gp_Pnt2d& "double[]" -%typemap(jstype) gp_Pnt2d, const gp_Pnt2d& "double[]" - -%typemap(in) gp_Pnt2d, const gp_Pnt2d& -{ - if(JCALL1(GetArrayLength, jenv, $input)!=2) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 2"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - $1=new gp_Pnt2d(naxe[0],naxe[1]); -} - -%typemap(freearg) gp_Pnt2d, const gp_Pnt2d& -{ - delete $1; -} - -%typemap(javain) gp_Pnt2d, const gp_Pnt2d& "$javainput" -%typemap(javaout) gp_Pnt2d, const gp_Pnt2d& -{ - return $jnicall; -} - -%typemap(out) gp_Pnt2d, const gp_Pnt2d& -{ - jdouble nativeArray[]={$1.X(), $1.Y()}; - jdoubleArray toReturn=JCALL1(NewDoubleArray, jenv, 2); - JCALL4(SetDoubleArrayRegion, jenv, toReturn, 0, 2, nativeArray); - $result=toReturn; -} -/** - * gp_Pln - */ -%typemap(jni) gp_Pln, const gp_Pln& "jdoubleArray" -%typemap(jtype) gp_Pln, const gp_Pln& "double[]" -%typemap(jstype) gp_Pln, const gp_Pln& "double[]" - -%typemap(in) gp_Pln, const gp_Pln& -{ - if(JCALL1(GetArrayLength, jenv, $input)!=4) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 4"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - $1=new gp_Pln(naxe[0],naxe[1],naxe[2],naxe[4]); -} - -%typemap(freearg) gp_Pln, const gp_Pln& -{ - delete $1; -} - -%typemap(javain) gp_Pln, const gp_Pln& "$javainput" -%typemap(javaout) gp_Pln, const gp_Pln& -{ - return $jnicall; -} - -%typemap(out) gp_Pln, const gp_Pln & -{ - double a, b, c, d; - $1.Coefficients(a, b, c, d); - jdouble nativeArray[] = {a, b, c, d}; - jdoubleArray toReturn = JCALL1(NewDoubleArray, jenv, 4); - JCALL4(SetDoubleArrayRegion, jenv, toReturn, 0, 4, nativeArray); - $result=toReturn; -} - -/** - * gp_Vec - */ -%typemap(jni) gp_Vec, const gp_Vec& "jdoubleArray" -%typemap(jtype) gp_Vec, const gp_Vec& "double[]" -%typemap(jstype) gp_Vec, const gp_Vec& "double[]" - -%typemap(in) gp_Vec, const gp_Vec& -{ - if(JCALL1(GetArrayLength, jenv, $input)!=3) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - $1=new gp_Vec(naxe[0],naxe[1],naxe[2]); -} - -%typemap(freearg) gp_Vec, const gp_Vec& -{ - delete $1; -} - -%typemap(javain) gp_Vec, const gp_Vec& "$javainput" -%typemap(javaout) gp_Vec, const gp_Vec& -{ - return $jnicall; -} - -%typemap(out) gp_Vec, const gp_Vec& -{ - $result=XYZtoDoubleArray(jenv, $1->XYZ()); -} - -/** - * gp_Dir - */ -%typemap(jni) gp_Dir, const gp_Dir&, gp_Dir& "jdoubleArray" -%typemap(jtype) gp_Dir, const gp_Dir&, gp_Dir& "double[]" -%typemap(jstype) gp_Dir, const gp_Dir&, gp_Dir& "double[]" - -%typemap(in) gp_Dir, const gp_Dir& -{ - if(JCALL1(GetArrayLength, jenv, $input)!=3) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - $1=new gp_Dir(naxe[0],naxe[1],naxe[2]); -} - -%typemap(freearg) gp_Dir, const gp_Dir& -{ - delete $1; -} - -%typemap(out) const gp_Dir& -{ - $result=XYZtoDoubleArray(jenv, $1->XYZ()); -} - -%typemap(out) gp_Dir -{ - $result=XYZtoDoubleArray(jenv, $1.XYZ()); -} - -%typemap(javain) gp_Dir, const gp_Dir&, gp_Dir& "$javainput" -%typemap(javaout) gp_Dir, const gp_Dir&, gp_Dir& -{ - return $jnicall; -} - -/** - * gp_Ax2 - */ -%typemap(jni) gp_Ax2, const gp_Ax2& "jdoubleArray" -%typemap(jtype) gp_Ax2, const gp_Ax2& "double[]" -%typemap(jstype) gp_Ax2, const gp_Ax2& "double[]" - -%typemap(in) gp_Ax2, const gp_Ax2& -{ - int len = JCALL1(GetArrayLength, jenv, $input); - if(len !=6 && len != 9) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6 or 9"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - if (len == 6) - $1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5])); - else - $1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]), gp_Dir(naxe[6], naxe[7], naxe[8])); -} - -%typemap(freearg) gp_Ax2, const gp_Ax2& -{ - delete $1; -} - -%typemap(out) gp_Ax2, const gp_Ax2& -{ - ##error TODO -} - -%typemap(javain) gp_Ax2, const gp_Ax2& "$javainput" -%typemap(javaout) gp_Ax2, const gp_Ax2& -{ - return $jnicall; -} - -/** - * gp_Ax1 - */ -%typemap(jni) gp_Ax1, const gp_Ax1& "jdoubleArray" -%typemap(jtype) gp_Ax1, const gp_Ax1& "double[]" -%typemap(jstype) gp_Ax1, const gp_Ax1& "double[]" - -%typemap(in) gp_Ax1, const gp_Ax1& -{ - if(JCALL1(GetArrayLength, jenv, $input)!=6) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - $1=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5])); -} - -%typemap(freearg) gp_Ax1, const gp_Ax1& -{ - delete $1; -} - -%typemap(out) gp_Ax1, const gp_Ax1& -{ - ##error TODO -} - -%typemap(javain) gp_Ax1, const gp_Ax1& "$javainput" -%typemap(javaout) gp_Ax1, const gp_Ax1& -{ - return $jnicall; -} - -/** - * gp_Trsf - */ - %{#include %} - -%rename(GP_Trsf) gp_Trsf; - -%typemap(javacode) gp_Trsf -%{ - public void setValues(double[] matrix, double tolAng, double tolDist) - { - if(matrix.length!=12) - throw new IllegalArgumentException("matrix length must be 12"); - setValues( - matrix[0], matrix[1], matrix[2], matrix[3], - matrix[4], matrix[5], matrix[6], matrix[7], - matrix[8], matrix[9], matrix[10], matrix[11], - tolAng, tolDist); - } -%} - -class gp_Trsf -{ - %rename(setRotation) SetRotation; - %rename(setTranslation) SetTranslation; - %rename(setValues) SetValues; - public: - gp_Trsf(); - void SetRotation(const gp_Ax1& A1,const Standard_Real Ang) ; - void SetTranslation(const gp_Vec& V) ; - void SetValues(const Standard_Real a11,const Standard_Real a12, - const Standard_Real a13,const Standard_Real a14,const Standard_Real a21, - const Standard_Real a22,const Standard_Real a23,const Standard_Real a24, - const Standard_Real a31,const Standard_Real a32,const Standard_Real a33, - const Standard_Real a34,const Standard_Real Tolang, - const Standard_Real TolDist); -}; - -%extend gp_Trsf -{ - /** Easy to use with javax.vecmath.Matrix4D */ - void getValues(double matrix[16]) - { - int k=0; - for(int i=1; i<=3; i++) - for(int j=1; j<=4; j++) - matrix[k++]=self->Value(i,j); - matrix[12]=0; - matrix[13]=0; - matrix[14]=0; - matrix[15]=1; - } -} - -/** - * GP_Circ - */ -%{#include %} -%rename(GP_Circ) gp_Circ; -class gp_Circ -{ - public: - gp_Circ(const gp_Ax2& axis, const Standard_Real radius); -}; - -/** - * GP_Parab - */ -%{#include %} -%rename(GP_Parab) gp_Parab; -class gp_Parab -{ - public: - gp_Parab(const gp_Ax2& A2,const Standard_Real Focal); - gp_Parab(const gp_Ax1& D,const gp_Pnt& F); -}; - - -/******************************************************************* - * * - * VTT * - * * - *******************************************************************/ - -/** - * GP_Ellips - */ -%{#include %} - - %rename(GP_Elips) gp_Elips; - - class gp_Elips -{ - - public: - gp_Elips(const gp_Ax2& A2,const Standard_Real MajorRadius,const Standard_Real MinorRadius); -}; - -/** - * GP_Lin - */ - - %{#include %} - - %rename(GP_Lin) gp_Lin; - - class gp_Lin -{ - public: - gp_Lin(const gp_Ax1& A1); -}; - - -/** - * gp_Mat - */ - %{#include %} -%typemap(jni) gp_Mat, const gp_Mat& "jdoubleArray" -%typemap(jtype) gp_Mat, const gp_Mat& "double[]" -%typemap(jstype) gp_Mat, const gp_Mat& "double[]" - -%typemap(in) gp_Mat, const gp_Mat& -{ - if(JCALL1(GetArrayLength, jenv, $input)!=9) - SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 9"); - jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); - $1=new gp_Mat(naxe[0],naxe[1],naxe[2],naxe[3],naxe[4],naxe[5],naxe[6],naxe[7],naxe[8]); -} - -%typemap(freearg) gp_Mat, const gp_Mat& -{ - delete $1; -} - -%typemap(javain) gp_Mat, const gp_Mat& "$javainput" -%typemap(javaout) gp_Mat, const gp_Mat& -{ - return $jnicall; -} - -%{ - jdoubleArray MatToDoubleArray(JNIEnv* jenv, const gp_Mat & mat) - { - jdouble nativeArray[]={mat.Value(1,1), mat.Value(1,2), mat.Value(1,3), - mat.Value(2,1), mat.Value(2,2), mat.Value(2,3), - mat.Value(3,1), mat.Value(3,2), mat.Value(3,3)}; - jdoubleArray toReturn=jenv->NewDoubleArray(9); - jenv->SetDoubleArrayRegion(toReturn, 0, 9, nativeArray); - return toReturn; - } -%} - -%typemap(out) gp_Mat, const gp_Mat& -{ - $result=MatToDoubleArray(jenv, $1); +/* + * Project Info: http://jcae.sourceforge.net + * + * This program is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more + * details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * + * (C) Copyright 2005, by EADS CRC + */ + +%{ + jdoubleArray XYZtoDoubleArray(JNIEnv* jenv, const gp_XYZ & xyz) + { + jdouble nativeArray[]={xyz.X(), xyz.Y(), xyz.Z()}; + jdoubleArray toReturn=jenv->NewDoubleArray(3); + jenv->SetDoubleArrayRegion(toReturn, 0, 3, nativeArray); + return toReturn; + } +%} + +/** + * gp_Pnt + */ + +%typemap(jni) gp_Pnt, const gp_Pnt& "jdoubleArray" +%typemap(jtype) gp_Pnt, const gp_Pnt& "double[]" +%typemap(jstype) gp_Pnt, const gp_Pnt& "double[]" + +%typemap(in) gp_Pnt, const gp_Pnt& +{ + if(JCALL1(GetArrayLength, jenv, $input)!=3) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + $1=new gp_Pnt(naxe[0],naxe[1],naxe[2]); +} + +%typemap(out) const gp_Pnt& +{ + $result=XYZtoDoubleArray(jenv, $1->XYZ()); +} + +%typemap(out) gp_Pnt +{ + $result=XYZtoDoubleArray(jenv, $1.XYZ()); +} + +%typemap(freearg) gp_Pnt, const gp_Pnt& +{ + delete $1; +} + +%typemap(javain) gp_Pnt, const gp_Pnt& "$javainput" +%typemap(javaout) gp_Pnt, const gp_Pnt& +{ + return $jnicall; +} + +/** + * gp_Pnt2d + */ + +%typemap(jni) gp_Pnt2d, const gp_Pnt2d& "jdoubleArray" +%typemap(jtype) gp_Pnt2d, const gp_Pnt2d& "double[]" +%typemap(jstype) gp_Pnt2d, const gp_Pnt2d& "double[]" + +%typemap(in) gp_Pnt2d, const gp_Pnt2d& +{ + if(JCALL1(GetArrayLength, jenv, $input)!=2) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 2"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + $1=new gp_Pnt2d(naxe[0],naxe[1]); +} + +%typemap(freearg) gp_Pnt2d, const gp_Pnt2d& +{ + delete $1; +} + +%typemap(javain) gp_Pnt2d, const gp_Pnt2d& "$javainput" +%typemap(javaout) gp_Pnt2d, const gp_Pnt2d& +{ + return $jnicall; +} + +%typemap(out) gp_Pnt2d, const gp_Pnt2d& +{ + jdouble nativeArray[]={$1.X(), $1.Y()}; + jdoubleArray toReturn=JCALL1(NewDoubleArray, jenv, 2); + JCALL4(SetDoubleArrayRegion, jenv, toReturn, 0, 2, nativeArray); + $result=toReturn; +} +/** + * gp_Pln + */ +%typemap(jni) gp_Pln, const gp_Pln& "jdoubleArray" +%typemap(jtype) gp_Pln, const gp_Pln& "double[]" +%typemap(jstype) gp_Pln, const gp_Pln& "double[]" + +%typemap(in) gp_Pln, const gp_Pln& +{ + if(JCALL1(GetArrayLength, jenv, $input)!=4) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 4"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + $1=new gp_Pln(naxe[0],naxe[1],naxe[2],naxe[4]); +} + +%typemap(freearg) gp_Pln, const gp_Pln& +{ + delete $1; +} + +%typemap(javain) gp_Pln, const gp_Pln& "$javainput" +%typemap(javaout) gp_Pln, const gp_Pln& +{ + return $jnicall; +} + +%typemap(out) gp_Pln, const gp_Pln & +{ + double a, b, c, d; + $1.Coefficients(a, b, c, d); + jdouble nativeArray[] = {a, b, c, d}; + jdoubleArray toReturn = JCALL1(NewDoubleArray, jenv, 4); + JCALL4(SetDoubleArrayRegion, jenv, toReturn, 0, 4, nativeArray); + $result=toReturn; +} + +/** + * gp_Vec + */ +%typemap(jni) gp_Vec, const gp_Vec& "jdoubleArray" +%typemap(jtype) gp_Vec, const gp_Vec& "double[]" +%typemap(jstype) gp_Vec, const gp_Vec& "double[]" + +%typemap(in) gp_Vec, const gp_Vec& +{ + if(JCALL1(GetArrayLength, jenv, $input)!=3) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + $1=new gp_Vec(naxe[0],naxe[1],naxe[2]); +} + +%typemap(freearg) gp_Vec, const gp_Vec& +{ + delete $1; +} + +%typemap(javain) gp_Vec, const gp_Vec& "$javainput" +%typemap(javaout) gp_Vec, const gp_Vec& +{ + return $jnicall; +} + +%typemap(out) gp_Vec, const gp_Vec& +{ + $result=XYZtoDoubleArray(jenv, $1->XYZ()); +} + +/** + * gp_Dir + */ +%typemap(jni) gp_Dir, const gp_Dir&, gp_Dir& "jdoubleArray" +%typemap(jtype) gp_Dir, const gp_Dir&, gp_Dir& "double[]" +%typemap(jstype) gp_Dir, const gp_Dir&, gp_Dir& "double[]" + +%typemap(in) gp_Dir, const gp_Dir& +{ + if(JCALL1(GetArrayLength, jenv, $input)!=3) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 3"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + $1=new gp_Dir(naxe[0],naxe[1],naxe[2]); +} + +%typemap(freearg) gp_Dir, const gp_Dir& +{ + delete $1; +} + +%typemap(out) const gp_Dir& +{ + $result=XYZtoDoubleArray(jenv, $1->XYZ()); +} + +%typemap(out) gp_Dir +{ + $result=XYZtoDoubleArray(jenv, $1.XYZ()); +} + +%typemap(javain) gp_Dir, const gp_Dir&, gp_Dir& "$javainput" +%typemap(javaout) gp_Dir, const gp_Dir&, gp_Dir& +{ + return $jnicall; +} + +/** + * gp_Ax2 + */ +%typemap(jni) gp_Ax2, const gp_Ax2& "jdoubleArray" +%typemap(jtype) gp_Ax2, const gp_Ax2& "double[]" +%typemap(jstype) gp_Ax2, const gp_Ax2& "double[]" + +%typemap(in) gp_Ax2, const gp_Ax2& +{ + int len = JCALL1(GetArrayLength, jenv, $input); + if(len !=6 && len != 9) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6 or 9"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + if (len == 6) + $1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5])); + else + $1=new gp_Ax2(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5]), gp_Dir(naxe[6], naxe[7], naxe[8])); +} + +%typemap(freearg) gp_Ax2, const gp_Ax2& +{ + delete $1; +} + +%typemap(out) gp_Ax2, const gp_Ax2& +{ + ##error TODO +} + +%typemap(javain) gp_Ax2, const gp_Ax2& "$javainput" +%typemap(javaout) gp_Ax2, const gp_Ax2& +{ + return $jnicall; +} + +/** + * gp_Ax1 + */ +%typemap(jni) gp_Ax1, const gp_Ax1& "jdoubleArray" +%typemap(jtype) gp_Ax1, const gp_Ax1& "double[]" +%typemap(jstype) gp_Ax1, const gp_Ax1& "double[]" + +%typemap(in) gp_Ax1, const gp_Ax1& +{ + if(JCALL1(GetArrayLength, jenv, $input)!=6) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 6"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + $1=new gp_Ax1(gp_Pnt(naxe[0],naxe[1],naxe[2]), gp_Dir(naxe[3], naxe[4], naxe[5])); +} + +%typemap(freearg) gp_Ax1, const gp_Ax1& +{ + delete $1; +} + +%typemap(out) gp_Ax1, const gp_Ax1& +{ + ##error TODO +} + +%typemap(javain) gp_Ax1, const gp_Ax1& "$javainput" +%typemap(javaout) gp_Ax1, const gp_Ax1& +{ + return $jnicall; +} + +/** + * gp_Trsf + */ + %{#include %} + +%rename(GP_Trsf) gp_Trsf; + +%typemap(javacode) gp_Trsf +%{ + public void setValues(double[] matrix) + { + if(matrix.length!=12) + throw new IllegalArgumentException("matrix length must be 12"); + setValues( + matrix[0], matrix[1], matrix[2], matrix[3], + matrix[4], matrix[5], matrix[6], matrix[7], + matrix[8], matrix[9], matrix[10], matrix[11]); + } +%} + +class gp_Trsf +{ + %rename(setRotation) SetRotation; + %rename(setTranslation) SetTranslation; + %rename(setValues) SetValues; + public: + gp_Trsf(); + void SetRotation(const gp_Ax1& A1,const Standard_Real Ang) ; + void SetTranslation(const gp_Vec& V) ; + void SetValues(const Standard_Real a11,const Standard_Real a12, const Standard_Real a13,const Standard_Real a14, + const Standard_Real a21,const Standard_Real a22,const Standard_Real a23,const Standard_Real a24, + const Standard_Real a31,const Standard_Real a32,const Standard_Real a33,const Standard_Real a34); +}; + +%extend gp_Trsf +{ + /** Easy to use with javax.vecmath.Matrix4D */ + void getValues(double matrix[16]) + { + int k=0; + for(int i=1; i<=3; i++) + for(int j=1; j<=4; j++) + matrix[k++]=self->Value(i,j); + matrix[12]=0; + matrix[13]=0; + matrix[14]=0; + matrix[15]=1; + } +} + +/** + * GP_Circ + */ +%{#include %} +%rename(GP_Circ) gp_Circ; +class gp_Circ +{ + public: + gp_Circ(const gp_Ax2& axis, const Standard_Real radius); +}; + +/** + * GP_Parab + */ +%{#include %} +%rename(GP_Parab) gp_Parab; +class gp_Parab +{ + public: + gp_Parab(const gp_Ax2& A2,const Standard_Real Focal); + gp_Parab(const gp_Ax1& D,const gp_Pnt& F); +}; + + +/******************************************************************* + * * + * VTT * + * * + *******************************************************************/ + +/** + * GP_Ellips + */ +%{#include %} + + %rename(GP_Elips) gp_Elips; + + class gp_Elips +{ + + public: + gp_Elips(const gp_Ax2& A2,const Standard_Real MajorRadius,const Standard_Real MinorRadius); +}; + +/** + * GP_Lin + */ + + %{#include %} + + %rename(GP_Lin) gp_Lin; + + class gp_Lin +{ + public: + gp_Lin(const gp_Ax1& A1); +}; + + +/** + * gp_Mat + */ + %{#include %} +%typemap(jni) gp_Mat, const gp_Mat& "jdoubleArray" +%typemap(jtype) gp_Mat, const gp_Mat& "double[]" +%typemap(jstype) gp_Mat, const gp_Mat& "double[]" + +%typemap(in) gp_Mat, const gp_Mat& +{ + if(JCALL1(GetArrayLength, jenv, $input)!=9) + SWIG_JavaThrowException(jenv, SWIG_JavaIllegalArgumentException, "array length must be 9"); + jdouble * naxe=JCALL2(GetDoubleArrayElements, jenv, $input, NULL); + $1=new gp_Mat(naxe[0],naxe[1],naxe[2],naxe[3],naxe[4],naxe[5],naxe[6],naxe[7],naxe[8]); +} + +%typemap(freearg) gp_Mat, const gp_Mat& +{ + delete $1; +} + +%typemap(javain) gp_Mat, const gp_Mat& "$javainput" +%typemap(javaout) gp_Mat, const gp_Mat& +{ + return $jnicall; +} + +%{ + jdoubleArray MatToDoubleArray(JNIEnv* jenv, const gp_Mat & mat) + { + jdouble nativeArray[]={mat.Value(1,1), mat.Value(1,2), mat.Value(1,3), + mat.Value(2,1), mat.Value(2,2), mat.Value(2,3), + mat.Value(3,1), mat.Value(3,2), mat.Value(3,3)}; + jdoubleArray toReturn=jenv->NewDoubleArray(9); + jenv->SetDoubleArrayRegion(toReturn, 0, 9, nativeArray); + return toReturn; + } +%} + +%typemap(out) gp_Mat, const gp_Mat& +{ + $result=MatToDoubleArray(jenv, $1); } \ No newline at end of file diff --git a/org.simantics.opencascade/src/org/simantics/opencascade/OccTriangulator.java b/org.simantics.opencascade/src/org/simantics/opencascade/OccTriangulator.java index 3cc0ff4d..5226eb83 100644 --- a/org.simantics.opencascade/src/org/simantics/opencascade/OccTriangulator.java +++ b/org.simantics.opencascade/src/org/simantics/opencascade/OccTriangulator.java @@ -1,326 +1,326 @@ -package org.simantics.opencascade; - -/******************************************************************************* - * Copyright (c) 2007, 2013- VTT Technical Research Centre of Finland. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ - -import javax.vecmath.Vector2d; - -import org.jcae.opencascade.jni.BRepBuilderAPI_MakeEdge; -import org.jcae.opencascade.jni.BRepBuilderAPI_MakeFace; -import org.jcae.opencascade.jni.BRepBuilderAPI_MakeWire; -import org.jcae.opencascade.jni.BRepBuilderAPI_Transform; -import org.jcae.opencascade.jni.BRepPrimAPI_MakePrism; -import org.jcae.opencascade.jni.BRepPrimAPI_MakeTorus; -import org.jcae.opencascade.jni.BRep_Builder; -import org.jcae.opencascade.jni.GP_Elips; -import org.jcae.opencascade.jni.GP_Trsf; -import org.jcae.opencascade.jni.TopoDS_Edge; -import org.jcae.opencascade.jni.TopoDS_Face; -import org.jcae.opencascade.jni.TopoDS_Shape; -import org.jcae.opencascade.jni.TopoDS_Wire; - - -public class OccTriangulator { - - - public static final double MIN_VALUE = 0.001; - - public OccTriangulator() { - - } - - - public static TopoDS_Shape getShapeFromFile(String filename) { - assert (filename != null); - String lowerFileName = filename.toLowerCase(); - if (lowerFileName.endsWith(".stp") || lowerFileName.endsWith(".step")) { - TopoDS_Shape shape = importSTEP(filename); - return shape; - } else if (lowerFileName.endsWith(".iges")) { - TopoDS_Shape shape = importIGES(filename); - return shape; - } else if (lowerFileName.endsWith(".brep")) { - TopoDS_Shape shape = importBREP(filename); - return shape; - } else { - throw new UnsupportedOperationException("Unsupported format " + filename); - } - } - - public static TopoDS_Shape importBREP(String filename) { - return importBREP(filename,1.0); // convert to meters. - } - public static TopoDS_Shape importBREP(String filename, double scale) { - org.jcae.opencascade.jni.BRep_Builder aBuilder = new org.jcae.opencascade.jni.BRep_Builder(); - org.jcae.opencascade.jni.TopoDS_Shape myShape = org.jcae.opencascade.jni.BRepTools.read(filename, aBuilder); - aBuilder.delete(); - if (Math.abs(scale-1.0) < 0.001) - return myShape; - TopoDS_Shape scaled = makeScale(myShape, scale); - myShape.delete(); - return scaled; - } - - public static TopoDS_Shape importIGES(String filename) { - org.jcae.opencascade.jni.IGESControl_Reader aReader = new org.jcae.opencascade.jni.IGESControl_Reader(); - aReader.setReadUnitM(); - aReader.readFile(filename.getBytes()); - aReader.clearShapes(); - aReader.transferRoots(); - TopoDS_Shape result = aReader.oneShape(); - aReader.delete(); - return result; - } - - public static TopoDS_Shape importSTEP(String filename) { - org.jcae.opencascade.jni.STEPControl_Reader aReader = new org.jcae.opencascade.jni.STEPControl_Reader(); - aReader.setReadUnitM(); - aReader.readFile(filename.getBytes()); - aReader.clearShapes(); - aReader.transferRoots(); - TopoDS_Shape result = aReader.oneShape(); - aReader.delete(); - return result; - } - - - - public static TopoDS_Shape makeTranslation(TopoDS_Shape aShape, double x, double y, double z) { - GP_Trsf theTransformation = new GP_Trsf(); - theTransformation.setTranslation(new double[] { x, y, z }); - BRepBuilderAPI_Transform bt = new BRepBuilderAPI_Transform(aShape, theTransformation, true); - - TopoDS_Shape shape = bt.shape(); - bt.delete(); - theTransformation.delete(); - return shape; - } - - public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double r1, double r2) { - double[] axe = new double[6]; - System.arraycopy(pointStruct, 0, axe, 0, 3); - System.arraycopy(dirStruct, 0, axe, 3, 3); - BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2); - org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); - torus.delete(); - return tds; - } - - - public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double[] dirStruct2, double r1, double r2) { - double[] axe = new double[9]; - System.arraycopy(pointStruct, 0, axe, 0, 3); - System.arraycopy(dirStruct, 0, axe, 3, 3); - System.arraycopy(dirStruct2, 0, axe, 6, 3); - BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2); - org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); - torus.delete(); - return tds; - } - - public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double r1, double r2, double angle1, double angle2, double angle) { - double[] axe = new double[6]; - System.arraycopy(pointStruct, 0, axe, 0, 3); - System.arraycopy(dirStruct, 0, axe, 3, 3); - BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2,angle1,angle2,angle); - org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); - torus.delete(); - return tds; - } - - public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double[] dirStruct2, double r1, double r2, double angle1, double angle2, double angle) { - double[] axe = new double[9]; - System.arraycopy(pointStruct, 0, axe, 0, 3); - System.arraycopy(dirStruct, 0, axe, 3, 3); - System.arraycopy(dirStruct2, 0, axe, 6, 3); - BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2,angle1,angle2,angle); - org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); - torus.delete(); - return tds; - } - - public static TopoDS_Shape makeSphere(double x, double y, double z, double radius) { - double[] c = new double[] { x, y, z }; - org.jcae.opencascade.jni.BRepPrimAPI_MakeSphere sphere = new org.jcae.opencascade.jni.BRepPrimAPI_MakeSphere(c, radius); - org.jcae.opencascade.jni.TopoDS_Shape tds = sphere.shape(); - sphere.delete(); - return tds; - } - - - public static TopoDS_Shape makeRotation(TopoDS_Shape aShape, double[] axisStruct, double angle) { - - GP_Trsf theTransformation = new GP_Trsf(); - theTransformation.setRotation(axisStruct, angle); - BRepBuilderAPI_Transform bt = new BRepBuilderAPI_Transform(aShape, theTransformation, true); - TopoDS_Shape shape = bt.shape(); - bt.delete(); - theTransformation.delete(); - return shape; - } - - public static TopoDS_Shape makeScale(TopoDS_Shape aShape, double s) { - - GP_Trsf theTransformation = new GP_Trsf(); - theTransformation.setValues(s, 0, 0, 0, - 0, s, 0, 0, - 0, 0, s, 0, 1, 1); - BRepBuilderAPI_Transform bt = new BRepBuilderAPI_Transform(aShape, theTransformation, true); - TopoDS_Shape shape = bt.shape(); - bt.delete(); - theTransformation.delete(); - return shape; - } - - - public static TopoDS_Shape makeCylinder(double[] pointStruct, double[] dirStruct, double radius, double height) { - double[] axe = new double[6]; - System.arraycopy(pointStruct, 0, axe, 0, 3); - System.arraycopy(dirStruct, 0, axe, 3, 3); - org.jcae.opencascade.jni.BRepPrimAPI_MakeCylinder cyl = new org.jcae.opencascade.jni.BRepPrimAPI_MakeCylinder(axe, radius, height, 2 * Math.PI); - org.jcae.opencascade.jni.TopoDS_Shape tds = cyl.shape(); - cyl.delete(); - return tds; - } - - public static TopoDS_Shape makeCopy(TopoDS_Shape topoDS_Shape) { - throw new UnsupportedOperationException(); - } - - public static TopoDS_Shape makeCone(double[] pointStruct, double[] dirStruct, double radius1, double radius2, double height) { - double[] axe = new double[6]; - System.arraycopy(pointStruct, 0, axe, 0, 3); - System.arraycopy(dirStruct, 0, axe, 3, 3); - org.jcae.opencascade.jni.BRepPrimAPI_MakeCone cone = new org.jcae.opencascade.jni.BRepPrimAPI_MakeCone(axe, radius1, radius2, height, 2 * Math.PI); - org.jcae.opencascade.jni.TopoDS_Shape tds = cone.shape(); - cone.delete(); - return tds; - } - - public static TopoDS_Shape makeCompound(TopoDS_Shape[] shapes) { - BRep_Builder builder = new BRep_Builder(); - org.jcae.opencascade.jni.TopoDS_Compound comp = new org.jcae.opencascade.jni.TopoDS_Compound(); - builder.makeCompound(comp); - for (int i = 0; i < shapes.length; i++) { - - builder.add(comp, shapes[i]); - } - builder.delete(); - return comp; - } - - - public static TopoDS_Shape makeBox(double x1, double y1, double z1, double x2, double y2, double z2) { - double[] p1 = new double[] { x1, y1, z1 }; - double[] p2 = new double[] { x2, y2, z2 }; - org.jcae.opencascade.jni.BRepPrimAPI_MakeBox box = new org.jcae.opencascade.jni.BRepPrimAPI_MakeBox(p1, p2); - org.jcae.opencascade.jni.TopoDS_Shape tds = box.shape(); - box.delete(); - return tds; - } - - public static TopoDS_Shape makeCut(TopoDS_Shape shape1, TopoDS_Shape shape2) { - org.jcae.opencascade.jni.BRepAlgoAPI_Cut cut = new org.jcae.opencascade.jni.BRepAlgoAPI_Cut(shape1, shape2); - org.jcae.opencascade.jni.TopoDS_Shape s = cut.shape(); - cut.delete(); - return s; - } - - public static TopoDS_Shape makeCommon(TopoDS_Shape shape1, TopoDS_Shape shape2) { - org.jcae.opencascade.jni.BRepAlgoAPI_Common common = new org.jcae.opencascade.jni.BRepAlgoAPI_Common(shape1, shape2); - org.jcae.opencascade.jni.TopoDS_Shape s = common.shape(); - common.delete(); - return s; - } - - public static TopoDS_Shape makeFuse(TopoDS_Shape shape1, TopoDS_Shape shape2) { - org.jcae.opencascade.jni.BRepAlgoAPI_Fuse fuse = new org.jcae.opencascade.jni.BRepAlgoAPI_Fuse(shape1, shape2); - org.jcae.opencascade.jni.TopoDS_Shape s = fuse.shape(); - fuse.delete(); - return s; - } - - - public static TopoDS_Shape makeWedge(double[] pointStruct, double[] dirStruct,double dx, double dy, double dz, double xmin, double zmin, double xmax, double zmax) { - double[] axe = new double[6]; - System.arraycopy(pointStruct, 0, axe, 0, 3); - System.arraycopy(dirStruct, 0, axe, 3, 3); - - org.jcae.opencascade.jni.BRepPrimAPI_MakeWedge wedge = new org.jcae.opencascade.jni.BRepPrimAPI_MakeWedge(axe, dx, dy, dz, xmin, zmin, xmax, zmax); - org.jcae.opencascade.jni.TopoDS_Shape s = wedge.shape(); - wedge.delete(); - return s; - } - - public static TopoDS_Shape makeEllipticCylinder(double h, double r1, double r2) { - GP_Elips ellipse; - if (r1 < r2) { - // FIXME : ellipse should be rotated, but current JNI won't allow it since Ax2 is not separate object - ellipse = new GP_Elips(new double[]{0.0,-h*0.5,0.0,0.0,1.0,0.0},r2,r1); - } else { - ellipse = new GP_Elips(new double[]{0.0,-h*0.5,0.0,0.0,1.0,0.0},r1,r2); - } - BRepBuilderAPI_MakeEdge edge = new BRepBuilderAPI_MakeEdge(ellipse); - TopoDS_Edge ed = (TopoDS_Edge) edge.shape(); - BRepBuilderAPI_MakeWire wire = new BRepBuilderAPI_MakeWire(ed); - TopoDS_Wire w = (TopoDS_Wire) wire.shape(); - BRepBuilderAPI_MakeFace face = new BRepBuilderAPI_MakeFace(w); - TopoDS_Face F = (TopoDS_Face) face.shape(); - BRepPrimAPI_MakePrism prism = new BRepPrimAPI_MakePrism(F, new double[] { 0.0, h, 0.0 }); - TopoDS_Shape shape = prism.shape(); - ellipse.delete(); - edge.delete(); - wire.delete(); - face.delete(); - ed.delete(); - w.delete(); - F.delete(); - prism.delete(); - return shape; - } - - public static TopoDS_Shape makeReqularPrism(double h, double r, int n) { - if (n < 3) - n = 3; - Vector2d vertices[] = new Vector2d[n]; - for (int i = 0; i < n; i++) { - vertices[i] = new Vector2d(Math.sin(Math.PI * 2.0 * i / n)*r,Math.cos(Math.PI * 2.0 * i / n)*r); - } - BRepBuilderAPI_MakeWire wire = new BRepBuilderAPI_MakeWire(); - for (int i = 0; i < n; i++) { - Vector2d v1 = vertices[i]; - Vector2d v2 = vertices[(i+1)%n]; - BRepBuilderAPI_MakeEdge edge = new BRepBuilderAPI_MakeEdge(new double[]{v1.x,-h*0.5,v1.y},new double[]{v2.x,-h*0.5,v2.y}); - wire.add((TopoDS_Edge)edge.shape()); - edge.delete(); - } - TopoDS_Wire w = (TopoDS_Wire)wire.shape(); - - BRepBuilderAPI_MakeFace face = new BRepBuilderAPI_MakeFace(w); - TopoDS_Face F = (TopoDS_Face) face.shape(); - face.delete(); - - BRepPrimAPI_MakePrism prism = new BRepPrimAPI_MakePrism(F, new double[] { 0.0, h, 0.0 }); - TopoDS_Shape shape = prism.shape(); - prism.delete(); - - wire.delete(); - w.delete(); - F.delete(); - return shape; - } - - - public static void exportBREP(TopoDS_Shape shape, String filename) { - org.jcae.opencascade.jni.BRepTools.write(shape, filename); - } - -} +package org.simantics.opencascade; + +/******************************************************************************* + * Copyright (c) 2007, 2013- VTT Technical Research Centre of Finland. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ + +import javax.vecmath.Vector2d; + +import org.jcae.opencascade.jni.BRepBuilderAPI_MakeEdge; +import org.jcae.opencascade.jni.BRepBuilderAPI_MakeFace; +import org.jcae.opencascade.jni.BRepBuilderAPI_MakeWire; +import org.jcae.opencascade.jni.BRepBuilderAPI_Transform; +import org.jcae.opencascade.jni.BRepPrimAPI_MakePrism; +import org.jcae.opencascade.jni.BRepPrimAPI_MakeTorus; +import org.jcae.opencascade.jni.BRep_Builder; +import org.jcae.opencascade.jni.GP_Elips; +import org.jcae.opencascade.jni.GP_Trsf; +import org.jcae.opencascade.jni.TopoDS_Edge; +import org.jcae.opencascade.jni.TopoDS_Face; +import org.jcae.opencascade.jni.TopoDS_Shape; +import org.jcae.opencascade.jni.TopoDS_Wire; + + +public class OccTriangulator { + + + public static final double MIN_VALUE = 0.001; + + public OccTriangulator() { + + } + + + public static TopoDS_Shape getShapeFromFile(String filename) { + assert (filename != null); + String lowerFileName = filename.toLowerCase(); + if (lowerFileName.endsWith(".stp") || lowerFileName.endsWith(".step")) { + TopoDS_Shape shape = importSTEP(filename); + return shape; + } else if (lowerFileName.endsWith(".iges")) { + TopoDS_Shape shape = importIGES(filename); + return shape; + } else if (lowerFileName.endsWith(".brep")) { + TopoDS_Shape shape = importBREP(filename); + return shape; + } else { + throw new UnsupportedOperationException("Unsupported format " + filename); + } + } + + public static TopoDS_Shape importBREP(String filename) { + return importBREP(filename,1.0); // convert to meters. + } + public static TopoDS_Shape importBREP(String filename, double scale) { + org.jcae.opencascade.jni.BRep_Builder aBuilder = new org.jcae.opencascade.jni.BRep_Builder(); + org.jcae.opencascade.jni.TopoDS_Shape myShape = org.jcae.opencascade.jni.BRepTools.read(filename, aBuilder); + aBuilder.delete(); + if (Math.abs(scale-1.0) < 0.001) + return myShape; + TopoDS_Shape scaled = makeScale(myShape, scale); + myShape.delete(); + return scaled; + } + + public static TopoDS_Shape importIGES(String filename) { + org.jcae.opencascade.jni.IGESControl_Reader aReader = new org.jcae.opencascade.jni.IGESControl_Reader(); + aReader.setReadUnitM(); + aReader.readFile(filename.getBytes()); + aReader.clearShapes(); + aReader.transferRoots(); + TopoDS_Shape result = aReader.oneShape(); + aReader.delete(); + return result; + } + + public static TopoDS_Shape importSTEP(String filename) { + org.jcae.opencascade.jni.STEPControl_Reader aReader = new org.jcae.opencascade.jni.STEPControl_Reader(); + aReader.setReadUnitM(); + aReader.readFile(filename.getBytes()); + aReader.clearShapes(); + aReader.transferRoots(); + TopoDS_Shape result = aReader.oneShape(); + aReader.delete(); + return result; + } + + + + public static TopoDS_Shape makeTranslation(TopoDS_Shape aShape, double x, double y, double z) { + GP_Trsf theTransformation = new GP_Trsf(); + theTransformation.setTranslation(new double[] { x, y, z }); + BRepBuilderAPI_Transform bt = new BRepBuilderAPI_Transform(aShape, theTransformation, true); + + TopoDS_Shape shape = bt.shape(); + bt.delete(); + theTransformation.delete(); + return shape; + } + + public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double r1, double r2) { + double[] axe = new double[6]; + System.arraycopy(pointStruct, 0, axe, 0, 3); + System.arraycopy(dirStruct, 0, axe, 3, 3); + BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2); + org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); + torus.delete(); + return tds; + } + + + public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double[] dirStruct2, double r1, double r2) { + double[] axe = new double[9]; + System.arraycopy(pointStruct, 0, axe, 0, 3); + System.arraycopy(dirStruct, 0, axe, 3, 3); + System.arraycopy(dirStruct2, 0, axe, 6, 3); + BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2); + org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); + torus.delete(); + return tds; + } + + public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double r1, double r2, double angle1, double angle2, double angle) { + double[] axe = new double[6]; + System.arraycopy(pointStruct, 0, axe, 0, 3); + System.arraycopy(dirStruct, 0, axe, 3, 3); + BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2,angle1,angle2,angle); + org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); + torus.delete(); + return tds; + } + + public static TopoDS_Shape makeTorus(double[] pointStruct, double[] dirStruct, double[] dirStruct2, double r1, double r2, double angle1, double angle2, double angle) { + double[] axe = new double[9]; + System.arraycopy(pointStruct, 0, axe, 0, 3); + System.arraycopy(dirStruct, 0, axe, 3, 3); + System.arraycopy(dirStruct2, 0, axe, 6, 3); + BRepPrimAPI_MakeTorus torus = new BRepPrimAPI_MakeTorus(axe, r1, r2,angle1,angle2,angle); + org.jcae.opencascade.jni.TopoDS_Shape tds = torus.shape(); + torus.delete(); + return tds; + } + + public static TopoDS_Shape makeSphere(double x, double y, double z, double radius) { + double[] c = new double[] { x, y, z }; + org.jcae.opencascade.jni.BRepPrimAPI_MakeSphere sphere = new org.jcae.opencascade.jni.BRepPrimAPI_MakeSphere(c, radius); + org.jcae.opencascade.jni.TopoDS_Shape tds = sphere.shape(); + sphere.delete(); + return tds; + } + + + public static TopoDS_Shape makeRotation(TopoDS_Shape aShape, double[] axisStruct, double angle) { + + GP_Trsf theTransformation = new GP_Trsf(); + theTransformation.setRotation(axisStruct, angle); + BRepBuilderAPI_Transform bt = new BRepBuilderAPI_Transform(aShape, theTransformation, true); + TopoDS_Shape shape = bt.shape(); + bt.delete(); + theTransformation.delete(); + return shape; + } + + public static TopoDS_Shape makeScale(TopoDS_Shape aShape, double s) { + + GP_Trsf theTransformation = new GP_Trsf(); + theTransformation.setValues(s, 0, 0, 0, + 0, s, 0, 0, + 0, 0, s, 0); + BRepBuilderAPI_Transform bt = new BRepBuilderAPI_Transform(aShape, theTransformation, true); + TopoDS_Shape shape = bt.shape(); + bt.delete(); + theTransformation.delete(); + return shape; + } + + + public static TopoDS_Shape makeCylinder(double[] pointStruct, double[] dirStruct, double radius, double height) { + double[] axe = new double[6]; + System.arraycopy(pointStruct, 0, axe, 0, 3); + System.arraycopy(dirStruct, 0, axe, 3, 3); + org.jcae.opencascade.jni.BRepPrimAPI_MakeCylinder cyl = new org.jcae.opencascade.jni.BRepPrimAPI_MakeCylinder(axe, radius, height, 2 * Math.PI); + org.jcae.opencascade.jni.TopoDS_Shape tds = cyl.shape(); + cyl.delete(); + return tds; + } + + public static TopoDS_Shape makeCopy(TopoDS_Shape topoDS_Shape) { + throw new UnsupportedOperationException(); + } + + public static TopoDS_Shape makeCone(double[] pointStruct, double[] dirStruct, double radius1, double radius2, double height) { + double[] axe = new double[6]; + System.arraycopy(pointStruct, 0, axe, 0, 3); + System.arraycopy(dirStruct, 0, axe, 3, 3); + org.jcae.opencascade.jni.BRepPrimAPI_MakeCone cone = new org.jcae.opencascade.jni.BRepPrimAPI_MakeCone(axe, radius1, radius2, height, 2 * Math.PI); + org.jcae.opencascade.jni.TopoDS_Shape tds = cone.shape(); + cone.delete(); + return tds; + } + + public static TopoDS_Shape makeCompound(TopoDS_Shape[] shapes) { + BRep_Builder builder = new BRep_Builder(); + org.jcae.opencascade.jni.TopoDS_Compound comp = new org.jcae.opencascade.jni.TopoDS_Compound(); + builder.makeCompound(comp); + for (int i = 0; i < shapes.length; i++) { + + builder.add(comp, shapes[i]); + } + builder.delete(); + return comp; + } + + + public static TopoDS_Shape makeBox(double x1, double y1, double z1, double x2, double y2, double z2) { + double[] p1 = new double[] { x1, y1, z1 }; + double[] p2 = new double[] { x2, y2, z2 }; + org.jcae.opencascade.jni.BRepPrimAPI_MakeBox box = new org.jcae.opencascade.jni.BRepPrimAPI_MakeBox(p1, p2); + org.jcae.opencascade.jni.TopoDS_Shape tds = box.shape(); + box.delete(); + return tds; + } + + public static TopoDS_Shape makeCut(TopoDS_Shape shape1, TopoDS_Shape shape2) { + org.jcae.opencascade.jni.BRepAlgoAPI_Cut cut = new org.jcae.opencascade.jni.BRepAlgoAPI_Cut(shape1, shape2); + org.jcae.opencascade.jni.TopoDS_Shape s = cut.shape(); + cut.delete(); + return s; + } + + public static TopoDS_Shape makeCommon(TopoDS_Shape shape1, TopoDS_Shape shape2) { + org.jcae.opencascade.jni.BRepAlgoAPI_Common common = new org.jcae.opencascade.jni.BRepAlgoAPI_Common(shape1, shape2); + org.jcae.opencascade.jni.TopoDS_Shape s = common.shape(); + common.delete(); + return s; + } + + public static TopoDS_Shape makeFuse(TopoDS_Shape shape1, TopoDS_Shape shape2) { + org.jcae.opencascade.jni.BRepAlgoAPI_Fuse fuse = new org.jcae.opencascade.jni.BRepAlgoAPI_Fuse(shape1, shape2); + org.jcae.opencascade.jni.TopoDS_Shape s = fuse.shape(); + fuse.delete(); + return s; + } + + + public static TopoDS_Shape makeWedge(double[] pointStruct, double[] dirStruct,double dx, double dy, double dz, double xmin, double zmin, double xmax, double zmax) { + double[] axe = new double[6]; + System.arraycopy(pointStruct, 0, axe, 0, 3); + System.arraycopy(dirStruct, 0, axe, 3, 3); + + org.jcae.opencascade.jni.BRepPrimAPI_MakeWedge wedge = new org.jcae.opencascade.jni.BRepPrimAPI_MakeWedge(axe, dx, dy, dz, xmin, zmin, xmax, zmax); + org.jcae.opencascade.jni.TopoDS_Shape s = wedge.shape(); + wedge.delete(); + return s; + } + + public static TopoDS_Shape makeEllipticCylinder(double h, double r1, double r2) { + GP_Elips ellipse; + if (r1 < r2) { + // FIXME : ellipse should be rotated, but current JNI won't allow it since Ax2 is not separate object + ellipse = new GP_Elips(new double[]{0.0,-h*0.5,0.0,0.0,1.0,0.0},r2,r1); + } else { + ellipse = new GP_Elips(new double[]{0.0,-h*0.5,0.0,0.0,1.0,0.0},r1,r2); + } + BRepBuilderAPI_MakeEdge edge = new BRepBuilderAPI_MakeEdge(ellipse); + TopoDS_Edge ed = (TopoDS_Edge) edge.shape(); + BRepBuilderAPI_MakeWire wire = new BRepBuilderAPI_MakeWire(ed); + TopoDS_Wire w = (TopoDS_Wire) wire.shape(); + BRepBuilderAPI_MakeFace face = new BRepBuilderAPI_MakeFace(w); + TopoDS_Face F = (TopoDS_Face) face.shape(); + BRepPrimAPI_MakePrism prism = new BRepPrimAPI_MakePrism(F, new double[] { 0.0, h, 0.0 }); + TopoDS_Shape shape = prism.shape(); + ellipse.delete(); + edge.delete(); + wire.delete(); + face.delete(); + ed.delete(); + w.delete(); + F.delete(); + prism.delete(); + return shape; + } + + public static TopoDS_Shape makeReqularPrism(double h, double r, int n) { + if (n < 3) + n = 3; + Vector2d vertices[] = new Vector2d[n]; + for (int i = 0; i < n; i++) { + vertices[i] = new Vector2d(Math.sin(Math.PI * 2.0 * i / n)*r,Math.cos(Math.PI * 2.0 * i / n)*r); + } + BRepBuilderAPI_MakeWire wire = new BRepBuilderAPI_MakeWire(); + for (int i = 0; i < n; i++) { + Vector2d v1 = vertices[i]; + Vector2d v2 = vertices[(i+1)%n]; + BRepBuilderAPI_MakeEdge edge = new BRepBuilderAPI_MakeEdge(new double[]{v1.x,-h*0.5,v1.y},new double[]{v2.x,-h*0.5,v2.y}); + wire.add((TopoDS_Edge)edge.shape()); + edge.delete(); + } + TopoDS_Wire w = (TopoDS_Wire)wire.shape(); + + BRepBuilderAPI_MakeFace face = new BRepBuilderAPI_MakeFace(w); + TopoDS_Face F = (TopoDS_Face) face.shape(); + face.delete(); + + BRepPrimAPI_MakePrism prism = new BRepPrimAPI_MakePrism(F, new double[] { 0.0, h, 0.0 }); + TopoDS_Shape shape = prism.shape(); + prism.delete(); + + wire.delete(); + w.delete(); + F.delete(); + return shape; + } + + + public static void exportBREP(TopoDS_Shape shape, String filename) { + org.jcae.opencascade.jni.BRepTools.write(shape, filename); + } + +} diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/geometry/HorizontalTankGeometryProvider.java b/org.simantics.plant3d/src/org/simantics/plant3d/geometry/HorizontalTankGeometryProvider.java index 7a3dc41b..c6d42015 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/geometry/HorizontalTankGeometryProvider.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/geometry/HorizontalTankGeometryProvider.java @@ -29,12 +29,12 @@ public class HorizontalTankGeometryProvider extends BuiltinGeometryProvider { @Override public Collection getModel() throws Exception { - double p0[] = new double[]{-length*0.50, 0.0,0.0}; - double p1[] = new double[]{-length*0.488, radius*0.6,0.0}; - double p2[] = new double[]{-length*0.46, radius,0.0}; - double p3[] = new double[]{ length*0.46, radius,0.0}; - double p4[] = new double[]{ length*0.488, radius*0.6,0.0}; - double p5[] = new double[]{ length*0.50, 0.0,0.0}; + double p0[] = new double[]{ length*0.50, 0.0,0.0}; + double p1[] = new double[]{ length*0.488, radius*0.6,0.0}; + double p2[] = new double[]{ length*0.46, radius,0.0}; + double p3[] = new double[]{-length*0.46, radius,0.0}; + double p4[] = new double[]{-length*0.488, radius*0.6,0.0}; + double p5[] = new double[]{-length*0.50, 0.0,0.0}; GC_MakeArcOfCircle m1 = new GC_MakeArcOfCircle(p0,p1,p2); GC_MakeSegment s1 = new GC_MakeSegment(p2,p3); @@ -75,17 +75,16 @@ public class HorizontalTankGeometryProvider extends BuiltinGeometryProvider { TopoDS_Shape shape2 = OccTriangulator.makeTranslation(shape, 0.0, radius, 0.0); shape.delete(); - shape = shape2; TopoDS_Shape box = OccTriangulator.makeBox(-length*0.4, 0.0, -radius*0.5, -length*0.3, radius, radius*0.5); - shape2 = OccTriangulator.makeFuse(shape, box); - shape.delete(); - box.delete(); - box = OccTriangulator.makeBox(length*0.3, 0.0, -radius*0.5, length*0.4, radius, radius*0.5); shape = OccTriangulator.makeFuse(shape2, box); shape2.delete(); box.delete(); + box = OccTriangulator.makeBox(length*0.3, 0.0, -radius*0.5, length*0.4, radius, radius*0.5); + shape2 = OccTriangulator.makeFuse(shape, box); + shape.delete(); + box.delete(); - return Collections.singletonList(shape); + return Collections.singletonList(shape2); } @Override diff --git a/vtk/src/vtk/vtkJavaDep.java b/vtk/src/vtk/vtkJavaDep.java index ade18371..94dd8991 100644 --- a/vtk/src/vtk/vtkJavaDep.java +++ b/vtk/src/vtk/vtkJavaDep.java @@ -105,6 +105,14 @@ public class vtkJavaDep { "vtkInteractionImage", "vtkInteractionImageJava", + "vtkIOCore", + "vtkIOCoreJava", + "vtkIOXMLParser", + "vtkIOXMLParserJava", + "vtkIOXML", + "vtkIOXMLJava", + + };