|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csgeom.segment.csSegment2
A 2D line segment.
Field Summary |
Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
Constructor Summary | |
csSegment2()
Make a new uninitialized segment. |
|
csSegment2(csVector2 s,
csVector2 e)
Make a new segment and initialize with the given values. |
|
csSegment2(iPointer nPointer)
|
Method Summary | |
csVector2 |
end()
Get the end of the segment. |
void |
end(csVector2 End)
Set the end of the segment. |
protected boolean |
isNativePointerValidSafe(long nPointer)
|
protected void |
nDelete(long pointer)
|
void |
set(csVector2 s,
csVector2 e)
Set segment to given values. |
void |
setEnd(csVector2 e)
Set the end of the segment. |
void |
setStart(csVector2 s)
Set the start of the segment. |
csVector2 |
start()
Get the start of the segment. |
void |
start(csVector2 Start)
Set the start of the segment. |
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 |
public csSegment2(iPointer nPointer)
nPointer
- public csSegment2(csVector2 s, csVector2 e)
s
- e
- public csSegment2()
Method Detail |
protected void nDelete(long pointer)
nDelete
in class csNativeObject
csNativeObject.nDelete(long)
protected boolean isNativePointerValidSafe(long nPointer)
isNativePointerValidSafe
in class csNativeObject
crystalspace.jbind.impl.csNativeObject#isNativePointerValidSafe()
public csVector2 end()
public void end(csVector2 End)
End
- public void set(csVector2 s, csVector2 e)
s
- e
- public void setEnd(csVector2 e)
e
- public void setStart(csVector2 s)
s
- public csVector2 start()
public void start(csVector2 Start)
Start
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |