/* ---------------------------------------------------------------------------- * 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); } }