|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DVector3C | |
---|---|
org.ode4j.cpp.internal | USE NOT RECOMMENDED, SEE NOTE BELOW The classes in this package provide an API that is similar to the original C/C++ API. |
org.ode4j.math | |
org.ode4j.ode | Public API for ode4j. |
Uses of DVector3C in org.ode4j.cpp.internal |
---|
Methods in org.ode4j.cpp.internal that return DVector3C | |
---|---|
static DVector3C |
ApiCppBody.dBodyGetAngularVel(DBody b)
|
static DVector3C |
ApiCppBody.dBodyGetForce(DBody b)
|
static DVector3C |
ApiCppBody.dBodyGetLinearVel(DBody b)
|
static DVector3C |
ApiCppBody.dBodyGetPosition(DBody b)
|
static DVector3C |
ApiCppBody.dBodyGetTorque(DBody b)
|
static DVector3C |
ApiCppCollision.dGeomGetOffsetPosition(DGeom geom)
|
static DVector3C |
ApiCppCollision.dGeomGetPosition(DGeom geom)
|
Methods in org.ode4j.cpp.internal with parameters of type DVector3C | |
---|---|
static double |
ApiCppMathMatrix.dDot(DVector3C a,
DVector3 b,
int n)
get the dot product of two n*1 vectors. |
static DQuadTreeSpace |
ApiCppCollisionSpace.dQuadTreeSpaceCreate(DSpace space,
DVector3C Center,
DVector3C Extents,
int Depth)
|
Uses of DVector3C in org.ode4j.math |
---|
Classes in org.ode4j.math that implement DVector3C | |
---|---|
class |
DVector3
This class provides functionality for DVector3 math. |
Fields in org.ode4j.math declared as DVector3C | |
---|---|
static DVector3C |
DVector3.ZERO
|
Methods in org.ode4j.math that return DVector3C | |
---|---|
DVector3C |
DVector3.reAdd(DVector3C c)
|
Methods in org.ode4j.math with parameters of type DVector3C | |
---|---|
DVector3 |
DVector3.add(DVector3C v2)
Adds v2 to the current vector. |
DVector3 |
DVector3.addScaled(DVector3C v2,
double d)
Scales the first parameter with the second and then adds the result to the current vector. |
double |
DVector3.distance(DVector3C a)
Distance between this vector and a. |
double |
DVector3C.distance(DVector3C a)
|
double |
DVector3.dot(DVector3C b)
Return the 'dot' product of two vectors. |
double |
DVector3C.dot(DVector3C b)
|
double |
DMatrix3C.dotCol(int col,
DVector3C b)
|
double |
DMatrix3.dotCol(int col,
DVector3C v3)
Calculates the dot product of the the specified column of this matrix with the given vector. |
double |
DMatrix3C.dotRow(int row,
DVector3C b)
|
double |
DMatrix3.dotRow(int row,
DVector3C v3)
Calculates the dot product of the the specified row of this matrix with the given vector. |
void |
DVector3.eqCross(DVector3C b,
DVector3C c)
Set this vector = b x c. |
DVector3 |
DVector3.eqDiff(DVector3C v2,
DVector3C v3)
Sets the current vector v0 = v2 - v3. |
void |
DVector3.eqProd(DMatrix3C m,
DVector3C v2)
Calculates the ordinary matrix product for a 3x3 Matrix and a 3-Vector. |
DVector3 |
DVector3.eqSum(DMatrix3.DVector3ColView v2,
double s2,
DVector3C v3,
double s3)
Convenience function that performs: this = v2*s2 + v3*s3 |
DVector3 |
DVector3.eqSum(DVector3C v2,
DMatrix3.DVector3ColView v3,
double s3)
Convenience function that performs: this = v2 + v3*s3 |
DVector3 |
DVector3.eqSum(DVector3C v2,
double s2,
DVector3C v3,
double s3)
Convenience function that performs: this = v2*s2 + v3*s3 |
DVector3 |
DVector3.eqSum(DVector3C v2,
DVector3C v3)
Sets current vector = v2 + v3. |
DVector3 |
DVector3.eqSum(DVector3C v2,
DVector3C v3,
double s3)
Convenience function that performs: this = v2 + v3*s3 |
DVector3C |
DVector3.reAdd(DVector3C c)
|
DVector3 |
DVector3.reSub(DVector3C v2)
Return a new vector v0 = v(this) - v2. |
DVector3 |
DVector3C.reSub(DVector3C pos)
|
DVector3 |
DVector3.scale(DVector3C v2)
|
DVector3 |
DVector3.set(DVector3C v2)
|
DVector3 |
DVector3.sub(DVector3C v2)
|
Constructors in org.ode4j.math with parameters of type DVector3C | |
---|---|
DVector3(DVector3C v2)
|
Uses of DVector3C in org.ode4j.ode |
---|
Methods in org.ode4j.ode that return DVector3C | |
---|---|
DVector3C |
DBody.getAngularVel()
Get the angular velocity of a body. |
DVector3C |
DMassC.getC()
|
DVector3C |
DMass.getC()
|
DVector3C |
DRay.getDirection()
Get direction. |
DVector3C |
DBody.getForce()
Return the current accumulated force vector. |
DVector3C |
DBox.getLengths()
Get the side lengths of a box. |
DVector3C |
DBody.getLinearVel()
Get the linear velocity of a body. |
DVector3C |
DPlane.getNormal()
|
DVector3C |
DGeom.getOffsetPosition()
Get the offset position vector of a geom. |
DVector3C |
DBody.getPosition()
Get the position of a body. |
DVector3C |
DGeom.getPosition()
Get the position vector of a placeable geom. |
DVector3C |
DBody.getTorque()
Return the current accumulated torque vector. |
Methods in org.ode4j.ode with parameters of type DVector3C | |
---|---|
void |
DBody.addForce(DVector3C f)
Add force at centre of mass of body in absolute coordinates. |
void |
DBody.addForceAtPos(DVector3C f,
DVector3C p)
Add force at specified point in body in global coordinates. |
void |
DBody.addForceAtRelPos(DVector3C f,
DVector3C p)
Add force at specified point in body in local coordinates. |
void |
DBody.addRelForce(DVector3C f)
Add force at centre of mass of body in coordinates relative to body. |
void |
DBody.addRelForceAtPos(DVector3C f,
DVector3C p)
Add force at specified point in body in global coordinates. |
void |
DBody.addRelForceAtRelPos(DVector3C f,
DVector3C p)
Add force at specified point in body in local coordinates. |
void |
DBody.addRelTorque(DVector3C t)
Add torque at centre of mass of body in coordinates relative to body. |
void |
DBody.addTorque(DVector3C t)
Add torque at centre of mass of body in absolute coordinates. |
static DQuadTreeSpace |
OdeHelper.createQuadTreeSpace(DSpace space,
DVector3C Center,
DVector3C Extents,
int Depth)
|
static DQuadTreeSpace |
OdeHelper.createQuadTreeSpace(DVector3C Center,
DVector3C Extents,
int Depth)
|
static void |
OdeMath.dAddScaledVectors3(DVector3 res,
DVector3C a,
DVector3C b,
double a_scale,
double b_scale)
|
static void |
OdeMath.dAddVectorCross3(DVector3 a,
DVector3C b,
DVector3C c)
Cross product, set a += b x c. |
static double |
OdeMath.dCalcPointsDistance3(DVector3C a,
DVector3C b)
Deprecated. |
static void |
OdeMath.dCalcVectorCross3(double[] a,
int ofs,
DVector3C b,
DVector3C c)
Cross product, set a = b x c. |
static void |
OdeMath.dCalcVectorCross3(DVector3 a,
DVector3C b,
DVector3C c)
Cross product, set a = b x c. |
static double |
OdeMath.dCalcVectorDot3_14(DVector3C a,
DMatrix3C b,
int o2)
|
static double |
OdeMath.dCalcVectorDot3_14(DVector3C a,
double[] b,
int o2)
|
static double |
OdeMath.dCalcVectorDot3_41(DMatrix3C a,
int o1,
DVector3C b)
|
static double |
OdeMath.dCalcVectorDot3(double[] a,
int o1,
DVector3C b)
|
static double |
OdeMath.dCalcVectorDot3(DVector3C a,
double[] b,
int o2)
|
static double |
OdeMath.dCalcVectorDot3(DVector3C a,
DVector3C b)
Instead, please use a.dot(b). |
static void |
OdeMath.dCopyNegatedVector3(double[] a,
int ofs,
DVector3C b)
|
static void |
OdeMath.dCopyVector3(double[] a,
int ofs,
DVector3C b)
|
static void |
OdeMath.dCopyVector3(float[] a,
int ofs,
DVector3C b)
|
static void |
OdeMath.dCROSS(DVector3 a,
OdeMath.OP op,
DVector3C b,
DVector3C c)
Deprecated. Use dCalcVetorCross3, dAddVectorCross3 or dSubtractVectorCross3. |
static void |
OdeMath.dCROSSMAT(DMatrix3 A,
DVector3C a,
int skip,
int plus,
int minus)
Deprecated. |
static void |
OdeMath.dCROSSMAT(double[] A,
int ofs,
DVector3C a,
int skip,
int plus,
int minus)
Deprecated. |
static double |
OdeMath.dDISTANCE(DVector3C a,
DVector3C b)
Deprecated. |
static double |
OdeMath.dDOT(DVector3C a,
DVector3C b)
Deprecated. |
static double |
DMisc.dMaxDifference(DVector3C A,
DVector3C B)
|
static void |
OdeMath.dMultiply0_133(DVector3 A,
DVector3C B,
DMatrix3C C)
|
static void |
OdeMath.dMULTIPLY0_133(DVector3 A,
DVector3C B,
DMatrix3C C)
Deprecated. |
static void |
OdeMath.dMultiply0_331(DMatrix3 A,
DMatrix3C B,
DVector3C C)
|
static void |
OdeMath.dMULTIPLY0_331(DMatrix3 A,
DMatrix3C B,
DVector3C C)
Deprecated. |
static void |
OdeMath.dMultiply0_331(double[] A,
int a,
double[] B,
int b,
DVector3C C)
|
static void |
OdeMath.dMULTIPLY0_331(double[] A,
int a,
double[] B,
int b,
DVector3C C)
Deprecated. |
static void |
OdeMath.dMultiply0_331(DVector3 A,
DMatrix3C B,
DVector3C C)
|
static void |
OdeMath.dMULTIPLY0_331(DVector3 A,
DMatrix3C B,
DVector3C C)
Deprecated. |
static void |
DMatrix.dMultiply0(DVector3 a,
DMatrix3C B,
DVector3C c)
|
static void |
DMatrix.dMultiply0(DVector3 a,
DVector3C b,
DMatrix3C C)
Matrix multiplication. |
static void |
OdeMath.dMultiply1_331(DVector3 A,
DMatrix3C B,
DVector3C C)
|
static void |
OdeMath.dMULTIPLY1_331(DVector3 A,
DMatrix3C B,
DVector3C C)
Deprecated. |
static void |
DMatrix.dMultiply1(DVector3 a,
DMatrix3C B,
DVector3C c)
|
static void |
DMatrix.dMultiply2(DVector3 a,
DMatrix3C B,
DVector3C c)
|
static void |
OdeMath.dMultiplyAdd0_331(DVector3 A,
double[] B,
int b,
DVector3C C)
|
static void |
OdeMath.dMULTIPLYADD0_331(DVector3 A,
double[] B,
int b,
DVector3C C)
Deprecated. |
static void |
OdeMath.dPlaneSpace(DVector3C n,
DVector3 p,
DVector3 q)
Given a unit length "normal" vector n, generate vectors p and q vectors that are an orthonormal basis for the plane space perpendicular to n. |
static void |
DRotation.dRFromAxisAndAngle(DMatrix3 R,
DVector3C a,
double angle)
|
static void |
DRotation.dRFromZAxis(DMatrix3 R,
DVector3C a)
|
static void |
OdeMath.dSetCrossMatrixMinus(DMatrix3 A,
DVector3C a)
Set a 3x3 submatrix of A to a matrix such that submatrix(A)*b = a x b. |
static void |
OdeMath.dSetCrossMatrixMinus(double[] A,
int ofs,
DVector3C a,
int skip)
Set a 3x3 submatrix of A to a matrix such that submatrix(A)*b = a x b. |
static void |
OdeMath.dSetCrossMatrixPlus(DMatrix3 A,
DVector3C a)
Set a 3x3 submatrix of A to a matrix such that submatrix(A)*b = a x b. |
static void |
OdeMath.dSetCrossMatrixPlus(double[] A,
int ofs,
DVector3C a,
int skip)
set a 3x3 submatrix of A to a matrix such that submatrix(A)*b = a x b. |
static void |
OdeMath.dSubtractVectorCross3(DVector3 a,
DVector3C b,
DMatrix3C c)
|
static void |
OdeMath.dSubtractVectorCross3(DVector3 a,
DVector3C b,
DVector3C c)
Cross product, set a -= b x c. |
static void |
DMatrix.dVectorScale(DVector3 a,
DVector3C d)
In matlab syntax: a(1:n) = a(1:n) .* d(1:n) |
void |
DAABB.expand(DVector3C point)
Expand this AABB to include the given point. |
double |
DPlane.getPointDepth(DVector3C p)
|
double |
DSphere.getPointDepth(DVector3C p)
Calculate the depth of the a given point within a sphere. |
double |
DBox.getPointDepth(DVector3C p)
Return the depth of a point in a box. |
double |
DCapsule.getPointDepth(DVector3C a)
|
void |
DBody.getPointVel(DVector3C p,
DVector3 result)
Get velocity vector in global coords of a globally specified point on a body. |
void |
DBody.getPosRelPoint(DVector3C p,
DVector3 result)
Takes a point in global coordinates and returns the point's position in body-relative coordinates. |
void |
DBody.getRelPointPos(DVector3C p,
DVector3 result)
Get world position of a relative point on body. |
void |
DBody.getRelPointVel(DVector3C p,
DVector3 result)
Get velocity vector in global coords of a relative point on body. |
void |
DRay.set(DVector3C p,
DVector3C d)
Set origin and direction. |
void |
DPistonJoint.setAnchor(DVector3C a)
Set the joint anchor. |
void |
DPRJoint.setAnchor(DVector3C a)
Set anchor. |
void |
DHingeJoint.setAnchor(DVector3C a)
Set hinge anchor parameter. |
void |
DUniversalJoint.setAnchor(DVector3C a)
Set anchor. |
void |
DBallJoint.setAnchor(DVector3C a)
Set the joint anchor point. |
void |
DHinge2Joint.setAnchor(DVector3C a)
Set anchor. |
void |
DPUJoint.setAnchor(DVector3C a)
Set anchor. |
void |
DBallJoint.setAnchor2(DVector3C a)
Set the joint anchor point on body 2. |
void |
DPistonJoint.setAnchorOffset(DVector3C xyz,
double dx,
double dy,
double dz)
Set the Piston anchor as if the 2 bodies were already at [dx,dy, dz] apart. |
void |
DBody.setAngularVel(DVector3C v)
Set the angular velocity of a body. |
void |
DSliderJoint.setAxis(DVector3C a)
Set the joint axis. |
void |
DPistonJoint.setAxis(DVector3C a)
Set the joint axis. |
void |
DHingeJoint.setAxis(DVector3C a)
Set hinge axis. |
void |
DLMotorJoint.setAxis(int anum,
int rel,
DVector3C a)
Set the AMotor axes. |
void |
DAMotorJoint.setAxis(int anum,
int rel,
DVector3C a)
Set axis. |
void |
DPRJoint.setAxis1(DVector3C a)
Set the axis for the prismatic articulation. |
void |
DUniversalJoint.setAxis1(DVector3C a)
Set axis. |
void |
DHinge2Joint.setAxis1(DVector3C a)
Set axis. |
void |
DPUJoint.setAxis1(DVector3C a)
Set the axis for the first axis or the universal articulation. |
void |
DPRJoint.setAxis2(DVector3C a)
Set the axis for the rotoide articulation. |
void |
DUniversalJoint.setAxis2(DVector3C a)
Set axis. |
void |
DHinge2Joint.setAxis2(DVector3C a)
Set axis. |
void |
DPUJoint.setAxis2(DVector3C a)
Set the axis for the second axis or the universal articulation. |
void |
DPUJoint.setAxis3(DVector3C a)
Set the axis for the prismatic articulation. |
void |
DPUJoint.setAxisP(DVector3C a)
Set the axis for the prismatic articulation. |
void |
DMass.setC(DVector3C c)
|
void |
DBody.setFiniteRotationAxis(DVector3C a)
Sets the finite rotation axis for a body. |
void |
DBody.setForce(DVector3C f)
Set the body force accumulation vector. |
void |
DWorld.setGravity(DVector3C g)
Set the world's global gravity vector. |
void |
DBox.setLengths(DVector3C sides)
Set the side lengths of the given box. |
void |
DBody.setLinearVel(DVector3C v)
Set the linear velocity of a body. |
void |
DAABB.setMax(DVector3C max)
|
void |
DAABB.setMin(DVector3C min)
|
void |
DAABB.setMinMax(DVector3C v1,
DVector3C v2)
Determines the AABB from a box defined by the two vectors. |
void |
DPlane.setParams(DVector3C n,
double d)
|
void |
DBody.setPosition(DVector3C p)
Set position of a body. |
void |
DGeom.setPosition(DVector3C xyz)
Set the position vector of a placeable geom. |
void |
DBody.setTorque(DVector3C t)
Set the body torque accumulation vector. |
void |
DAABB.shiftPos(DVector3C pos)
Move this AABB by pos. |
void |
DMass.translate(DVector3C c)
|
void |
DBody.vectorFromWorld(DVector3C p,
DVector3 result)
Convert from world to local coordinates. |
void |
DBody.vectorToWorld(DVector3C p,
DVector3 result)
Convert from local to world coordinates. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |