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 Geom_Surface {
12 private transient long swigCPtr;
13 protected transient boolean swigCMemOwn;
15 protected Geom_Surface(long cPtr, boolean cMemoryOwn) {
16 swigCMemOwn = cMemoryOwn;
20 protected static long getCPtr(Geom_Surface obj) {
21 return (obj == null) ? 0 : obj.swigCPtr;
24 protected void finalize() {
28 public synchronized void delete() {
32 OccJavaJNI.delete_Geom_Surface(swigCPtr);
38 public double[] value(double U, double V) {
39 return OccJavaJNI.Geom_Surface_value(swigCPtr, this, U, V);
44 * Return the bounds of the parameters of the surface.
45 * @param bounds an array of size 4 which will receive {Umin, Umax, Vmin, Vmax}
47 public void bounds(double[] bounds) {
48 OccJavaJNI.Geom_Surface_bounds__SWIG_0(swigCPtr, this, bounds);
53 * @deprecated use bounds(double[]) , it do not need to allocate 4 arrays.
55 public void bounds(double[] U1, double[] U2, double[] V1, double[] V2) {
56 OccJavaJNI.Geom_Surface_bounds__SWIG_1(swigCPtr, this, U1, U2, V1, V2);
59 public boolean isUClosed() {
60 return OccJavaJNI.Geom_Surface_isUClosed(swigCPtr, this);
63 public boolean isVClosed() {
64 return OccJavaJNI.Geom_Surface_isVClosed(swigCPtr, this);
67 public Geom_Curve uIso(double U) {
68 return new Geom_Curve(OccJavaJNI.Geom_Surface_uIso(swigCPtr, this, U), true);
71 public Geom_Curve vIso(double V) {
72 return new Geom_Curve(OccJavaJNI.Geom_Surface_vIso(swigCPtr, this, V), true);