1 /* ----------------------------------------------------------------------------
\r
2 * This file was automatically generated by SWIG (http://www.swig.org).
\r
5 * Do not make changes to this file unless you know what you are doing--modify
\r
6 * the SWIG interface file instead.
\r
7 * ----------------------------------------------------------------------------- */
\r
9 package org.jcae.opencascade.jni;
\r
11 public class GCPnts_UniformDeflection {
\r
12 private long swigCPtr;
\r
13 protected boolean swigCMemOwn;
\r
15 public GCPnts_UniformDeflection(long cPtr, boolean cMemoryOwn) {
\r
16 swigCMemOwn = cMemoryOwn;
\r
20 public static long getCPtr(GCPnts_UniformDeflection obj) {
\r
21 return (obj == null) ? 0 : obj.swigCPtr;
\r
24 protected void finalize() {
\r
28 public synchronized void delete() {
\r
29 if (swigCPtr != 0) {
\r
31 swigCMemOwn = false;
\r
32 OccJavaJNI.delete_GCPnts_UniformDeflection(swigCPtr);
\r
38 public GCPnts_UniformDeflection() {
\r
39 this(OccJavaJNI.new_GCPnts_UniformDeflection(), true);
\r
42 public void initialize(Adaptor3d_Curve C, double Deflection, double U1, double U2, boolean WithControl) {
\r
43 OccJavaJNI.GCPnts_UniformDeflection_initialize__SWIG_0(swigCPtr, this, Adaptor3d_Curve.getCPtr(C), C, Deflection, U1, U2, WithControl);
\r
46 public void initialize(Adaptor3d_Curve C, double Deflection, double U1, double U2) {
\r
47 OccJavaJNI.GCPnts_UniformDeflection_initialize__SWIG_1(swigCPtr, this, Adaptor3d_Curve.getCPtr(C), C, Deflection, U1, U2);
\r
50 public int nbPoints() {
\r
51 return OccJavaJNI.GCPnts_UniformDeflection_nbPoints(swigCPtr, this);
\r
54 public double parameter(int Index) {
\r
55 return OccJavaJNI.GCPnts_UniformDeflection_parameter(swigCPtr, this, Index);
\r