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