Package org.robwork.sdurw_geometry
Class IndexedPolygon
- java.lang.Object
-
- org.robwork.sdurw_geometry.IndexedPolygon
-
- Direct Known Subclasses:
IndexedPolygonN
,IndexedPolygonNN
public class IndexedPolygon extends java.lang.Object
indexed polygon class that saves N indices to the N vertices of the polygon
-
-
Constructor Summary
Constructors Constructor Description IndexedPolygon(long cPtr, boolean cMemoryOwn)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
int
get(long i)
static long
getCPtr(IndexedPolygon obj)
SWIGTYPE_p_unsigned_short
getVertexIdx(long i)
returns the index of vertex i of the trianglevoid
set(long i, int d)
long
size()
Number of vertices of this polygon
-
-
-
Method Detail
-
getCPtr
public static long getCPtr(IndexedPolygon obj)
-
delete
public void delete()
-
getVertexIdx
public SWIGTYPE_p_unsigned_short getVertexIdx(long i)
returns the index of vertex i of the triangle
-
get
public int get(long i)
-
set
public void set(long i, int d)
-
size
public long size()
Number of vertices of this polygon- Returns:
- Number of vertices
-
-