X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.jcae.opencascade%2Fsrc-java%2Forg%2Fjcae%2Fopencascade%2Fjni%2FBRepBuilderAPI_Sewing.java;h=8c9c2be7716aa92e9100240ac7f5698921805008;hb=6c85a1331df92384baa03b3968ea6f06459a04ab;hp=022312041b9e7806ec4c9d593de68f79dc85d1f7;hpb=471c46e9a685e20de958d77166461aebc7a7b6ee;p=simantics%2F3d.git 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); +} + +}