1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * Do not make changes to this file unless you know what you are doing--modify
6 * the SWIG interface file instead.
7 * ----------------------------------------------------------------------------- */
9 package org.jcae.opencascade.jni;
11 public class GeomAPI_Interpolate {
12 private transient long swigCPtr;
13 protected transient boolean swigCMemOwn;
15 protected GeomAPI_Interpolate(long cPtr, boolean cMemoryOwn) {
16 swigCMemOwn = cMemoryOwn;
20 protected static long getCPtr(GeomAPI_Interpolate obj) {
21 return (obj == null) ? 0 : obj.swigCPtr;
24 protected void finalize() {
28 public synchronized void delete() {
32 OccJavaJNI.delete_GeomAPI_Interpolate(swigCPtr);
38 public GeomAPI_Interpolate(double[] Points, boolean PeriodicFlag, double Tolerance) {
39 this(OccJavaJNI.new_GeomAPI_Interpolate(Points, PeriodicFlag, Tolerance), true);
42 public void Load(double[] Tangents, boolean[] TangentFlags, boolean Scale) {
43 OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_0(swigCPtr, this, Tangents, TangentFlags, Scale);
46 public void Load(double[] Tangents, boolean[] TangentFlags) {
47 OccJavaJNI.GeomAPI_Interpolate_Load__SWIG_1(swigCPtr, this, Tangents, TangentFlags);
50 public void Perform() {
51 OccJavaJNI.GeomAPI_Interpolate_Perform(swigCPtr, this);
54 public Geom_BSplineCurve Curve() {
55 return new Geom_BSplineCurve(OccJavaJNI.GeomAPI_Interpolate_Curve(swigCPtr, this), false);