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 Geom_Curve extends Geom_Geometry {
\r
12 private long swigCPtr;
\r
14 public Geom_Curve(long cPtr, boolean cMemoryOwn) {
\r
15 super(OccJavaJNI.Geom_Curve_SWIGUpcast(cPtr), cMemoryOwn);
\r
19 public static long getCPtr(Geom_Curve obj) {
\r
20 return (obj == null) ? 0 : obj.swigCPtr;
\r
23 protected void finalize() {
\r
27 public synchronized void delete() {
\r
28 if (swigCPtr != 0) {
\r
30 swigCMemOwn = false;
\r
31 OccJavaJNI.delete_Geom_Curve(swigCPtr);
\r
38 public double firstParameter() {
\r
39 return OccJavaJNI.Geom_Curve_firstParameter(swigCPtr, this);
\r
42 public double lastParameter() {
\r
43 return OccJavaJNI.Geom_Curve_lastParameter(swigCPtr, this);
\r
46 public boolean isClosed() {
\r
47 return OccJavaJNI.Geom_Curve_isClosed(swigCPtr, this);
\r
50 public boolean isPeriodic() {
\r
51 return OccJavaJNI.Geom_Curve_isPeriodic(swigCPtr, this);
\r
54 public double period() {
\r
55 return OccJavaJNI.Geom_Curve_period(swigCPtr, this);
\r