Package org.robwork.sdurw
Class IndexedTriangleU16
- java.lang.Object
-
- org.robwork.sdurw.IndexedTriangleU16
-
public class IndexedTriangleU16 extends java.lang.Object
indexed triangle class that has 3 indices that points to 3
vertices in an array typically used with the IndexedTriMesh class.
the indice type (size) is templated.
-
-
Constructor Summary
Constructors Constructor Description IndexedTriangleU16()
default constructorIndexedTriangleU16(long cPtr, boolean cMemoryOwn)
IndexedTriangleU16(IndexedTriangleU16 f)
copy constructor
IndexedTriangleU16(SWIGTYPE_p_uint16_t p1, SWIGTYPE_p_uint16_t p2, SWIGTYPE_p_uint16_t p3)
constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
static long
getCPtr(IndexedTriangleU16 obj)
SWIGTYPE_p_uint16_t
getVertexIdx(long i)
returns the index of vertex i of the triangle
-
-
-
Constructor Detail
-
IndexedTriangleU16
public IndexedTriangleU16(long cPtr, boolean cMemoryOwn)
-
IndexedTriangleU16
public IndexedTriangleU16()
default constructor
-
IndexedTriangleU16
public IndexedTriangleU16(SWIGTYPE_p_uint16_t p1, SWIGTYPE_p_uint16_t p2, SWIGTYPE_p_uint16_t p3)
constructor- Parameters:
p1
- [in] indice to vertice 1p2
- [in] indice to vertice 2p3
- [in] indice to vertice 3
-
IndexedTriangleU16
public IndexedTriangleU16(IndexedTriangleU16 f)
copy constructor
- Parameters:
f
- [in] - The face that is to be copied.
-
-
Method Detail
-
getCPtr
public static long getCPtr(IndexedTriangleU16 obj)
-
delete
public void delete()
-
getVertexIdx
public SWIGTYPE_p_uint16_t getVertexIdx(long i)
returns the index of vertex i of the triangle
-
-