]> gerrit.simantics Code Review - simantics/3d.git/blob - org.jcae.opencascade/src-java/org/jcae/opencascade/jni/BRepGProp.java
8e0870f4b8385b5529d5d82790057e1ced7b9853
[simantics/3d.git] / org.jcae.opencascade / src-java / org / jcae / opencascade / jni / BRepGProp.java
1 /* ----------------------------------------------------------------------------\r
2  * This file was automatically generated by SWIG (http://www.swig.org).\r
3  * Version 2.0.4\r
4  *\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
8 \r
9 package org.jcae.opencascade.jni;\r
10 \r
11 public class BRepGProp {\r
12   private long swigCPtr;\r
13   protected boolean swigCMemOwn;\r
14 \r
15   public BRepGProp(long cPtr, boolean cMemoryOwn) {\r
16     swigCMemOwn = cMemoryOwn;\r
17     swigCPtr = cPtr;\r
18   }\r
19 \r
20   public static long getCPtr(BRepGProp obj) {\r
21     return (obj == null) ? 0 : obj.swigCPtr;\r
22   }\r
23 \r
24   protected void finalize() {\r
25     delete();\r
26   }\r
27 \r
28   public synchronized void delete() {\r
29     if (swigCPtr != 0) {\r
30       if (swigCMemOwn) {\r
31         swigCMemOwn = false;\r
32         OccJavaJNI.delete_BRepGProp(swigCPtr);\r
33       }\r
34       swigCPtr = 0;\r
35     }\r
36   }\r
37 \r
38   public static void linearProperties(TopoDS_Shape shape, GProp_GProps properties) {\r
39     OccJavaJNI.BRepGProp_linearProperties(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties);\r
40   }\r
41 \r
42   public static void volumeProperties(TopoDS_Shape shape, GProp_GProps properties, boolean onlyClosed) {\r
43     OccJavaJNI.BRepGProp_volumeProperties__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, onlyClosed);\r
44   }\r
45 \r
46   public static void volumeProperties(TopoDS_Shape shape, GProp_GProps properties) {\r
47     OccJavaJNI.BRepGProp_volumeProperties__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties);\r
48   }\r
49 \r
50   public static double volumeProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed) {\r
51     return OccJavaJNI.BRepGProp_volumeProperties__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed);\r
52   }\r
53 \r
54   public static double volumeProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps) {\r
55     return OccJavaJNI.BRepGProp_volumeProperties__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps);\r
56   }\r
57 \r
58   public static void surfaceProperties(TopoDS_Shape shape, GProp_GProps properties) {\r
59     OccJavaJNI.BRepGProp_surfaceProperties__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties);\r
60   }\r
61 \r
62   public static double surfaceProperties(TopoDS_Shape shape, GProp_GProps properties, double Eps) {\r
63     return OccJavaJNI.BRepGProp_surfaceProperties__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps);\r
64   }\r
65 \r
66   public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan, boolean cgFlag, boolean iFlag) {\r
67     return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_0(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan, cgFlag, iFlag);\r
68   }\r
69 \r
70   public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan, boolean cgFlag) {\r
71     return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_1(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan, cgFlag);\r
72   }\r
73 \r
74   public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed, boolean isUseSpan) {\r
75     return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_2(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed, isUseSpan);\r
76   }\r
77 \r
78   public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps, boolean onlyClosed) {\r
79     return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_3(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps, onlyClosed);\r
80   }\r
81 \r
82   public static double volumePropertiesGK(TopoDS_Shape shape, GProp_GProps properties, double Eps) {\r
83     return OccJavaJNI.BRepGProp_volumePropertiesGK__SWIG_4(TopoDS_Shape.getCPtr(shape), shape, GProp_GProps.getCPtr(properties), properties, Eps);\r
84   }\r
85 \r
86   public BRepGProp() {\r
87     this(OccJavaJNI.new_BRepGProp(), true);\r
88   }\r
89 \r
90 }\r