Package org.robwork.sdurw_geometry
Class BREP.CommonCurveSet
- java.lang.Object
-
- org.robwork.sdurw_geometry.BREP.CommonCurveSet
-
- Enclosing class:
- BREP
public static class BREP.CommonCurveSet extends java.lang.Object
Convenience type for a set of curves in a BREP.
-
-
Constructor Summary
Constructors Constructor Description CommonCurveSet(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Curve
curve(long index)
Get a curve in the set.void
delete()
static long
getCPtr(BREP.CommonCurveSet obj)
long
size()
Get the number of curves in the set.Surface
surfaceLeft(long index)
Get one of the neighbour surfaces to the curve.Surface
surfaceRight(long index)
Get the other neighbour surfaces to the curve.
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(BREP.CommonCurveSet obj)
-
delete
public void delete()
-
size
public long size()
Get the number of curves in the set.- Returns:
- the number of curves.
-
curve
public Curve curve(long index)
Get a curve in the set.- Parameters:
index
- [in] the curve index, which should be less than size().- Returns:
- a reference to the curve data.
-
surfaceLeft
public Surface surfaceLeft(long index)
Get one of the neighbour surfaces to the curve.- Parameters:
index
- [in] the curve index, which should be less than size().- Returns:
- a reference to the surface.
-
surfaceRight
public Surface surfaceRight(long index)
Get the other neighbour surfaces to the curve.- Parameters:
index
- [in] the curve index, which should be less than size().- Returns:
- a reference to the surface.
-
-