crystalspace.jbind.impl.csgeom.polymesh
Class csMeshedPolygon
java.lang.Object
crystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csgeom.polymesh.csMeshedPolygon
- All Implemented Interfaces:
- iPointer
- public class csMeshedPolygon
- extends csNativeObject
A polygon. Note that this structure is only valid if used in combination
with a vertex table. The vertex array then contains indices in that table.
Definition at line 93 of file polymesh.h
- Author:
- Java wrapper - Quentin Anciaux, c++ version -
http://crystal.sourceforge.net/docs/online/pubapi/structcsMeshedPolygon.php
Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, equals, finalize, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, newNativeObject, setMemoryOwner, toString |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
csMeshedPolygon
public csMeshedPolygon(iPointer nPointer)
- Parameters:
nPointer
-
csMeshedPolygon
public csMeshedPolygon()
- Create a new csMeshedPolygon
nDelete
protected void nDelete(long pointer)
- Specified by:
nDelete
in class csNativeObject
- See Also:
csNativeObject.nDelete(long)
isNativePointerValidSafe
protected boolean isNativePointerValidSafe(long nPointer)
- Specified by:
isNativePointerValidSafe
in class csNativeObject
- See Also:
crystalspace.jbind.impl.csNativeObject#isNativePointerValidSafe()
vertices
public csNativeIntArray vertices()
- Returns:
- the vertices of the csMeshedPolygon
vertices
public void vertices(csNativeIntArray v)
- Set the vertices of the csMeshedPolygon
- Parameters:
v
-
num_vertices
public int num_vertices()