crystalspace.jbind.impl.csgeom.clip2d
Class csVertexStatus

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csgeom.clip2d.csVertexStatus
All Implemented Interfaces:
iPointer

public class csVertexStatus
extends csNativeObject

The clipper can output additional information about each vertex in output polygon. This is used for generating U/V/Z values and so on, if they are needed.

Author:
Java wrapper - Quentin Anciaux, c++ version - http://crystal.sourceforge.net/docs/online/pubapi/structcsVertexStatus.php

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csVertexStatus()
           
csVertexStatus(iPointer nPointer)
           
 
Method Summary
protected  boolean isNativePointerValidSafe(long nPointer)
           
protected  void nDelete(long pointer)
           
 float pos()
          Additional information for CS_VERTEX_ONEDGE (0..1, the 't' parameter).
 void pos(float p)
          Additional information for CS_VERTEX_ONEDGE (0..1, the 't' parameter).
 short type()
          The type of vertex.
 void type(short t)
          The type of vertex.
 short vertex()
          Original vertex number (for CS_VERTEX_ORIGINAL and CS_VERTEX_ONEDGE).
 void vertex(short v)
          Original vertex number (for CS_VERTEX_ORIGINAL and CS_VERTEX_ONEDGE).
 
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
 

Constructor Detail

csVertexStatus

public csVertexStatus(iPointer nPointer)
Parameters:
nPointer -

csVertexStatus

public csVertexStatus()
Method Detail

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()

pos

public final float pos()
Additional information for CS_VERTEX_ONEDGE (0..1, the 't' parameter). Definition at line 71 of file clip2d.h.

Returns:

pos

public final void pos(float p)
Additional information for CS_VERTEX_ONEDGE (0..1, the 't' parameter). Definition at line 71 of file clip2d.h.

Parameters:
p -

type

public final short type()
The type of vertex. One of CS_VERTEX_*. Definition at line 67 of file clip2d.h.

Returns:

type

public final void type(short t)
The type of vertex. One of CS_VERTEX_*. Definition at line 67 of file clip2d.h.

Parameters:
t -

vertex

public final short vertex()
Original vertex number (for CS_VERTEX_ORIGINAL and CS_VERTEX_ONEDGE). Definition at line 69 of file clip2d.h

Returns:

vertex

public final void vertex(short v)
Original vertex number (for CS_VERTEX_ORIGINAL and CS_VERTEX_ONEDGE). Definition at line 69 of file clip2d.h

Parameters:
v -