crystalspace.jbind.impl.csgeom.segment
Class csSegment3

java.lang.Object
  extended bycrystalspace.jbind.impl.csNativeObject
      extended bycrystalspace.jbind.impl.csgeom.segment.csSegment3
All Implemented Interfaces:
iPointer

public class csSegment3
extends csNativeObject

A 3D line segment.

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

Field Summary
 
Fields inherited from class crystalspace.jbind.impl.csNativeObject
ImplFactory, nPointer
 
Constructor Summary
csSegment3()
          Make a new uninitialized segment.
csSegment3(csVector3 s, csVector3 e)
          Make a new segment and initialize with the given values.
csSegment3(iPointer nPointer)
           
 
Method Summary
 csVector3 end()
          Get the end of the segment.
 void end(csVector3 End)
          Set the end of the segment.
protected  boolean isNativePointerValidSafe(long nPointer)
           
protected  void nDelete(long pointer)
           
 void set(csVector3 s, csVector3 e)
          Set segment to given values.
 void setEnd(csVector3 e)
          Set the end of the segment.
 void setStart(csVector3 s)
          Set the start of the segment.
 csVector3 start()
          Get the start of the segment.
 void start(csVector3 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

csSegment3

public csSegment3(iPointer nPointer)
Parameters:
nPointer -

csSegment3

public csSegment3(csVector3 s,
                  csVector3 e)
Make a new segment and initialize with the given values. Definition at line 86 of file segment.h.

Parameters:
s -
e -

csSegment3

public csSegment3()
Make a new uninitialized segment. Definition at line 88 of file segment.h.

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

end

public csVector3 end()
Get the end of the segment. Definition at line 110 of file segment.h.

Returns:

end

public void end(csVector3 End)
Set the end of the segment. Definition at line 104 of file segment.h. Referenced by csIntersect3::XFrustum(), csIntersect3::YFrustum(), csIntersect3::Z0Plane(), and csIntersect3::ZPlane().

Parameters:
End -

set

public void set(csVector3 s,
                csVector3 e)
Set segment to given values. Definition at line 91 of file segment.h.

Parameters:
s -
e -

setEnd

public void setEnd(csVector3 e)
Set the end of the segment. Definition at line 98 of file segment.h. Referenced by csBox3::GetEdge().

Parameters:
e -

setStart

public void setStart(csVector3 s)
Set the start of the segment. Definition at line 95 of file segment.h. Referenced by csBox3::GetEdge().

Parameters:
s -

start

public csVector3 start()
Get the start of the segment. Definition at line 107 of file segment.h.

Returns:

start

public void start(csVector3 Start)
Set the start of the segment. Definition at line 101 of file segment.h. Referenced by csIntersect3::XFrustum(), csIntersect3::YFrustum(), csIntersect3::Z0Plane(), and csIntersect3::ZPlane().

Parameters:
Start -