|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of csVector2 in crystalspace.jbind.impl.csgeom.box |
Methods in crystalspace.jbind.impl.csgeom.box that return csVector2 | |
csVector2 |
csBox2.getCenter()
Get the center of this box. |
csVector2 |
csBox2.getCorner(int corner)
Return every corner of this bounding box from 0 to 3. |
csVector2 |
csBox2.max()
Get the 2d vector of maximum (x, y); values. |
csVector2 |
csBox2.min()
Get the 2d vector of minimum (x, y); values. |
Methods in crystalspace.jbind.impl.csgeom.box with parameters of type csVector2 | |
void |
csBox2.addBoundingVertex(csVector2 v)
Add a new vertex and recalculate the bounding box. |
void |
csBox2.addBoundingVertexSmart(csVector2 v)
Add a new vertex and recalculate the bounding box. |
boolean |
csBox2.in(csVector2 v)
Test if the given coordinate is in this box. |
boolean |
csBox2.intersect(csVector2 minbox,
csVector2 maxbox,
csVector2Array poly)
Test if a polygon if visible in the box. |
csBox2 |
csBox2.add(csVector2 point)
Compute the union of a point with this bounding box. |
void |
csBox2.set(csVector2 bmin,
csVector2 bmax)
Sets the bounds of the box with the given values. |
void |
csBox2.setCenter(csVector2 c)
Set the center of this box. |
void |
csBox2.setSize(csVector2 s)
Set the size of the box but keep the center intact. |
void |
csBox2.startBoundingBox(csVector2 v)
Initialize this box to one vertex. |
static csBox2 |
csBox2.add(csBox2 box,
csVector2 point)
Compute the union of a bounding box and a point. |
static boolean |
csBox2.less(csVector2 point,
csBox2 box)
Tests if a point is contained in a box. |
Constructors in crystalspace.jbind.impl.csgeom.box with parameters of type csVector2 | |
csBox2(csVector2 v)
Initialize this box with one point. |
Uses of csVector2 in crystalspace.jbind.impl.csgeom.clip2d |
Methods in crystalspace.jbind.impl.csgeom.clip2d with parameters of type csVector2 | |
boolean |
csClipper2D.isInside(csVector2 v)
|
Uses of csVector2 in crystalspace.jbind.impl.csgeom.plane2 |
Methods in crystalspace.jbind.impl.csgeom.plane2 that return csVector2 | |
csVector2 |
csPlane2.getNormal()
Return the normal vector of this plane ( version). |
csVector2 |
csPlane2.normal()
Return the normal vector of this plane. |
csVector2 |
csPlane2.norm()
The normal vector (or the (A,B) components). |
Methods in crystalspace.jbind.impl.csgeom.plane2 with parameters of type csVector2 | |
static float |
csPlane2.classify(float A,
float B,
float C,
csVector2 pt)
Classify a vector with regards to three plane components. |
float |
csPlane2.classify(csVector2 pt)
Classify the given vector with regards to this plane. |
float |
csPlane2.distance(csVector2 pt)
Compute the distance from the given vector to this plane. |
void |
csPlane2.set(csVector2 v1,
csVector2 v2)
Initialize the plane given two vectors. |
float |
csPlane2.squaredDistance(csVector2 pt)
Compute the squared distance between the given vector and this plane. |
void |
csPlane2.norm(csVector2 Norm)
The normal vector (or the (A,B) components). |
Constructors in crystalspace.jbind.impl.csgeom.plane2 with parameters of type csVector2 | |
csPlane2(csVector2 plane_norm)
Initialize the plane. |
|
csPlane2(csVector2 plane_norm,
float c)
Initialize the plane. |
|
csPlane2(csVector2 v1,
csVector2 v2)
Initialize the plane given two vectors. |
Uses of csVector2 in crystalspace.jbind.impl.csgeom.poly2d |
Methods in crystalspace.jbind.impl.csgeom.poly2d that return csVector2 | |
csVector2 |
csPoly2D.getFirst()
Get the first vertex. |
csVector2 |
csPoly2D.getLast()
Get the last vertex. |
csVector2 |
csPoly2D.getVertex(int i)
Get the specified vertex. |
csVector2 |
csPoly2D.item(int i)
Get the specified vertex. |
Methods in crystalspace.jbind.impl.csgeom.poly2d with parameters of type csVector2 | |
int |
csPoly2D.addVertex(csVector2 v)
Add a vertex (2D) to the polygon. |
static boolean |
csPoly2D.in(csVector2Array poly,
csVector2 v)
Test if a vector is inside the given polygon. |
boolean |
csPoly2D.in(csVector2 v)
Test if this vector is inside the polygon. |
Uses of csVector2 in crystalspace.jbind.impl.csgeom.segment |
Methods in crystalspace.jbind.impl.csgeom.segment that return csVector2 | |
csVector2 |
csSegment2.end()
Get the end of the segment. |
csVector2 |
csSegment2.start()
Get the start of the segment. |
Methods in crystalspace.jbind.impl.csgeom.segment with parameters of type csVector2 | |
void |
csSegment2.end(csVector2 End)
Set the end of the segment. |
void |
csSegment2.set(csVector2 s,
csVector2 e)
Set segment to given values. |
void |
csSegment2.setEnd(csVector2 e)
Set the end of the segment. |
void |
csSegment2.setStart(csVector2 s)
Set the start of the segment. |
void |
csSegment2.start(csVector2 Start)
Set the start of the segment. |
Constructors in crystalspace.jbind.impl.csgeom.segment with parameters of type csVector2 | |
csSegment2(csVector2 s,
csVector2 e)
Make a new segment and initialize with the given values. |
Uses of csVector2 in crystalspace.jbind.impl.csgeom.vector2 |
Methods in crystalspace.jbind.impl.csgeom.vector2 that return csVector2 | |
csVector2 |
csVector2.add(csVector2 v)
Add another vector to this vector. |
csVector2 |
csVector2.minus(csVector2 v)
Subtract another vector from this vector. |
csVector2 |
csVector2.mul(float f)
Multiply this vector by a scalar. |
csVector2 |
csVector2.div(float f)
Divide this vector by a scalar. |
csVector2 |
csVector2.add()
Unary + operator. |
csVector2 |
csVector2.minus()
Unary - operator. |
static csVector2 |
csVector2.add(csVector2 v1,
csVector2 v2)
Add two vectors. |
static csVector2 |
csVector2.minus(csVector2 v1,
csVector2 v2)
Subtract two vectors. |
static csVector2 |
csVector2.mul(csVector2 v,
float f)
Multiply a vector and a scalar. |
static csVector2 |
csVector2.mul(float f,
csVector2 v)
Multiply a vector and a scalar. |
static csVector2 |
csVector2.div(csVector2 v,
float f)
Divide a vector by a scalar. |
csVector2 |
csVector2Array.item(int idx)
|
csVector2[] |
csVector2Array.getArray()
|
Methods in crystalspace.jbind.impl.csgeom.vector2 with parameters of type csVector2 | |
void |
csVector2.set(csVector2 v)
Set vector to given values. |
csVector2 |
csVector2.add(csVector2 v)
Add another vector to this vector. |
csVector2 |
csVector2.minus(csVector2 v)
Subtract another vector from this vector. |
static float |
csVector2.norm(csVector2 v)
Return the norm (magnitude) of a 2D vector. |
static csVector2 |
csVector2.add(csVector2 v1,
csVector2 v2)
Add two vectors. |
static csVector2 |
csVector2.minus(csVector2 v1,
csVector2 v2)
Subtract two vectors. |
static float |
csVector2.mul(csVector2 v1,
csVector2 v2)
Take the dot product of two vectors. |
static csVector2 |
csVector2.mul(csVector2 v,
float f)
Multiply a vector and a scalar. |
static csVector2 |
csVector2.mul(float f,
csVector2 v)
Multiply a vector and a scalar. |
static csVector2 |
csVector2.div(csVector2 v,
float f)
Divide a vector by a scalar. |
static boolean |
csVector2.equals(csVector2 v1,
csVector2 v2)
Check if two vectors are equal. |
static boolean |
csVector2.NEquals(csVector2 v1,
csVector2 v2)
Check if two vectors are not equal. |
static boolean |
csVector2.less(csVector2 v,
float f)
Test if each component of a vector is less than a small epsilon value. |
static boolean |
csVector2.greater(float f,
csVector2 v)
Test if each component of a vector is greater than a small epsilon value. |
void |
csVector2Array.item(int idx,
csVector2 v)
|
Constructors in crystalspace.jbind.impl.csgeom.vector2 with parameters of type csVector2 | |
csVector2Array(csVector2[] array)
|
Uses of csVector2 in crystalspace.jbind.impl.csgfx.shadervar |
Methods in crystalspace.jbind.impl.csgfx.shadervar with parameters of type csVector2 | |
boolean |
csShaderVariable.getValue(csVector2 value)
Retireve a csVector2. |
boolean |
csShaderVariable.setValue(csVector2 value)
Store a csVector2. |
Uses of csVector2 in crystalspace.jbind.impl.engine.camera |
Methods in crystalspace.jbind.impl.engine.camera with parameters of type csVector2 | |
void |
csCamera.invPerspective(csVector2 p,
float z,
csVector3 v)
|
void |
csCamera.perspective(csVector3 v,
csVector2 p)
|
Uses of csVector2 in crystalspace.jbind.impl.mesh.thing |
Methods in crystalspace.jbind.impl.mesh.thing with parameters of type csVector2 | |
void |
csThingFactoryState.setPolygonTextureMapping(csPolygonRange range,
csVector2 uv1,
csVector2 uv2,
csVector2 uv3)
|
void |
csThingFactoryState.setPolygonTextureMapping(csPolygonRange range,
csVector3 p1,
csVector2 uv1,
csVector3 p2,
csVector2 uv2,
csVector3 p3,
csVector2 uv3)
|
Uses of csVector2 in crystalspace.jbind.impl.video.halo |
Methods in crystalspace.jbind.impl.video.halo with parameters of type csVector2 | |
void |
csHalo.draw(float x,
float y,
float w,
float h,
float iIntensity,
csVector2[] iVertices)
|
Uses of csVector2 in crystalspace.jbind.impl.video.vbufmgr |
Methods in crystalspace.jbind.impl.video.vbufmgr that return csVector2 | |
csVector2[] |
csVertexBuffer.getTexels()
|
Methods in crystalspace.jbind.impl.video.vbufmgr with parameters of type csVector2 | |
boolean |
csVertexBufferManager.lockBuffer(iVertexBuffer buf,
csVector3[] verts,
csVector2[] texels,
csColor[] colors,
int buf_number,
csBox3 bbox)
|
Uses of csVector2 in crystalspace.jbind.interfaces.iengine.camera |
Methods in crystalspace.jbind.interfaces.iengine.camera with parameters of type csVector2 | |
void |
iCamera.perspective(csVector3 v,
csVector2 p)
Calculate perspective corrected point for this camera. |
void |
iCamera.invPerspective(csVector2 p,
float z,
csVector3 v)
Calculate inverse perspective corrected point for this camera. |
Uses of csVector2 in crystalspace.jbind.interfaces.igeom.clip2d |
Methods in crystalspace.jbind.interfaces.igeom.clip2d with parameters of type csVector2 | |
boolean |
iClipper2D.isInside(csVector2 v)
Return true if given point is inside (or on bound); of clipper polygon. |
Uses of csVector2 in crystalspace.jbind.interfaces.imesh.thing |
Methods in crystalspace.jbind.interfaces.imesh.thing with parameters of type csVector2 | |
void |
iThingFactoryState.setPolygonTextureMapping(csPolygonRange range,
csVector3 p1,
csVector2 uv1,
csVector3 p2,
csVector2 uv2,
csVector3 p3,
csVector2 uv3)
Set texture mapping of all polygons in the given range to use the given uv coordinates for the specified three vertices of every polygon. |
void |
iThingFactoryState.setPolygonTextureMapping(csPolygonRange range,
csVector2 uv1,
csVector2 uv2,
csVector2 uv3)
Set texture mapping of all polygons in the given range to use the given uv coordinates for the first three vertices of every polygon. |
Uses of csVector2 in crystalspace.jbind.interfaces.ivideo.halo |
Methods in crystalspace.jbind.interfaces.ivideo.halo with parameters of type csVector2 | |
void |
iHalo.draw(float x,
float y,
float w,
float h,
float iIntensity,
csVector2[] iVertices)
Draw the halo given a center point and an intensity. |
Uses of csVector2 in crystalspace.jbind.interfaces.ivideo.vbufmgr |
Methods in crystalspace.jbind.interfaces.ivideo.vbufmgr that return csVector2 | |
csVector2[] |
iVertexBuffer.getTexels()
Get the current array of texels. |
Methods in crystalspace.jbind.interfaces.ivideo.vbufmgr with parameters of type csVector2 | |
boolean |
iVertexBufferManager.lockBuffer(iVertexBuffer buf,
csVector3[] verts,
csVector2[] texels,
csColor[] colors,
int buf_number,
csBox3 bbox)
Lock this vertex buffer for use. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |