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