Package org.robwork.sdurw_geometry
Class IndexedTriangleN1
- java.lang.Object
-
- org.robwork.sdurw_geometry.IndexedTriangleN1
-
public class IndexedTriangleN1 extends java.lang.Object
indexed triangle class with an additional index for an face normal
-
-
Constructor Summary
Constructors Constructor Description IndexedTriangleN1()
constructorIndexedTriangleN1(int p1, int p2, int p3, int n)
constructorIndexedTriangleN1(long cPtr, boolean cMemoryOwn)
IndexedTriangleN1(IndexedTriangleN1 f)
copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
int
get(long i)
static long
getCPtr(IndexedTriangleN1 obj)
SWIGTYPE_p_unsigned_short
getNormalIdx()
returns the index of vertex i of the triangleSWIGTYPE_p_unsigned_short
getVertexIdx(long i)
returns the index of vertex i of the trianglevoid
set(long i, int d)
-
-
-
Constructor Detail
-
IndexedTriangleN1
public IndexedTriangleN1(long cPtr, boolean cMemoryOwn)
-
IndexedTriangleN1
public IndexedTriangleN1()
constructor
-
IndexedTriangleN1
public IndexedTriangleN1(int p1, int p2, int p3, int n)
constructor- Parameters:
p1
- [in] vertice index 1p2
- [in] vertice index 2p3
- [in] vertice index 3n
- [in] normal index
-
IndexedTriangleN1
public IndexedTriangleN1(IndexedTriangleN1 f)
copy constructor
- Parameters:
f
- [in] - The face that is to be copied.
-
-
Method Detail
-
getCPtr
public static long getCPtr(IndexedTriangleN1 obj)
-
delete
public void delete()
-
getVertexIdx
public SWIGTYPE_p_unsigned_short getVertexIdx(long i)
returns the index of vertex i of the triangle
-
getNormalIdx
public SWIGTYPE_p_unsigned_short getNormalIdx()
returns the index of vertex i of the triangle
-
get
public int get(long i)
-
set
public void set(long i, int d)
-
-