|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DVector3 | |
---|---|
org.ode4j.cpp | 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.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 DVector3 in org.ode4j.cpp |
---|
Methods in org.ode4j.cpp with parameters of type DVector3 | |
---|---|
static void |
OdeCppMath.dNormalize3(DVector3 a)
Potentially asserts on zero vec. |
static void |
OdeCppMath.dPlaneSpace(DVector3 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 boolean |
OdeCppMath.dSafeNormalize3(DVector3 a)
|
Uses of DVector3 in org.ode4j.cpp.internal |
---|
Methods in org.ode4j.cpp.internal with parameters of type DVector3 | |
---|---|
static void |
ApiCppBody.dBodyCopyPosition(DBody body,
DVector3 pos)
|
void |
ApiCppBody.dBodyGetFiniteRotationAxis(DBody body,
DVector3 result)
|
static void |
ApiCppBody.dBodyGetPointVel(DBody b,
double px,
double py,
double pz,
DVector3 result)
|
static void |
ApiCppBody.dBodyGetPosRelPoint(DBody b,
double px,
double py,
double pz,
DVector3 result)
|
static void |
ApiCppBody.dBodyGetRelPointPos(DBody b,
double px,
double py,
double pz,
DVector3 result)
|
static void |
ApiCppBody.dBodyGetRelPointVel(DBody b,
double px,
double py,
double pz,
DVector3 result)
|
static void |
ApiCppBody.dBodyVectorFromWorld(DBody b,
double px,
double py,
double pz,
DVector3 result)
|
static void |
ApiCppBody.dBodyVectorToWorld(DBody b,
double px,
double py,
double pz,
DVector3 result)
|
static int |
ApiCppCollision.dBoxBox(DVector3 p1,
DMatrix3 R1,
DVector3 side1,
DVector3 p2,
DMatrix3 R2,
DVector3 side2,
DVector3 normal,
org.cpp4j.java.RefDouble depth,
org.cpp4j.java.RefInt return_code,
int flags,
DContactGeomBuffer contacts)
|
static boolean |
ApiCppCollision.dBoxTouchesBox(DVector3 p1,
DMatrix3 R1,
DVector3 side1,
DVector3 p2,
DMatrix3 R2,
DVector3 side2)
|
static double |
ApiCppMathMatrix.dDot(DVector3C a,
DVector3 b,
int n)
get the dot product of two n*1 vectors. |
static void |
ApiCppMathRotation.dDQfromW(DQuaternion dq,
DVector3 w,
DQuaternion q)
|
static void |
ApiCppCollision.dGeomBoxGetLengths(DBox box,
DVector3 result)
|
static void |
ApiCppCollision.dGeomCopyOffsetPosition(DGeom geom,
DVector3 pos)
|
static void |
ApiCppCollision.dGeomCopyPosition(DGeom geom,
DVector3 pos)
|
static void |
ApiCppCollision.dGeomRayGet(DRay ray,
DVector3 start,
DVector3 dir)
|
static void |
ApiCppJoint.dJointGetAMotorAxis(DAMotorJoint j,
int anum,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetBallAnchor(DBallJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetBallAnchor2(DBallJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetHinge2Anchor(DHinge2Joint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetHinge2Anchor2(DHinge2Joint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetHinge2Axis1(DHinge2Joint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetHinge2Axis2(DHinge2Joint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetHingeAnchor(DHingeJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetHingeAnchor2(DHingeJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetHingeAxis(DHingeJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetLMotorAxis(DLMotorJoint j,
int anum,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPistonAnchor(DPistonJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPistonAnchor2(DPistonJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPistonAxis(DPistonJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPRAnchor(DPRJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPRAxis1(DPRJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPRAxis2(DPRJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPUAnchor(DPUJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPUAxis1(DPUJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPUAxis2(DPUJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPUAxis3(DPUJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetPUAxisP(DPUJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetSliderAxis(DSliderJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetUniversalAnchor(DUniversalJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetUniversalAnchor2(DUniversalJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetUniversalAxis1(DUniversalJoint j,
DVector3 result)
|
static void |
ApiCppJoint.dJointGetUniversalAxis2(DUniversalJoint j,
DVector3 result)
|
static void |
ApiCppWorld.dWorldGetGravity(DWorld w,
DVector3 gravity)
|
static void |
ApiCppWorld.dWorldImpulseToForce(DWorld w,
double stepsize,
double ix,
double iy,
double iz,
DVector3 force)
|
Uses of DVector3 in org.ode4j.math |
---|
Methods in org.ode4j.math that return DVector3 | |
---|---|
DVector3 |
DVector3.add(double a,
double b,
double c)
|
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. |
DVector3 |
DVector3.clone()
|
DVector3 |
DVector3C.clone()
|
DVector3 |
DMatrix3C.columnAsNewVector(int column)
|
DVector3 |
DMatrix3.columnAsNewVector(int c)
Return a new dVector containing the specified column. |
DVector3 |
DVector3.eqDiff(DVector3C v2,
DVector3C v3)
Sets the current vector v0 = v2 - v3. |
DVector3 |
DVector3.eqSum(DMatrix3.DVector3ColView v2,
double s2,
DMatrix3.DVector3ColView v3,
double s3)
Convenience function that performs: this = v2*s2 + v3*s3 |
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 |
DVector3 |
DVector3.reScale(double d)
|
DVector3 |
DVector3C.reScale(double s)
|
DVector3 |
DVector3.reSub(DVector3C v2)
Return a new vector v0 = v(this) - v2. |
DVector3 |
DVector3C.reSub(DVector3C pos)
|
DVector3 |
DVector3.scale(double s)
|
DVector3 |
DVector3.scale(double a,
double b,
double c)
|
DVector3 |
DVector3.scale(DVector3C v2)
|
DVector3 |
DVector3.set(DMatrix3.DVector3ColView v2)
|
DVector3 |
DVector3.set(double[] v2)
|
DVector3 |
DVector3.set(double x,
double y,
double z)
|
DVector3 |
DVector3.set(DVector3C v2)
|
DVector3 |
DVector3.sub(double a,
double b,
double c)
|
DVector3 |
DVector3.sub(DVector3C v2)
|
Methods in org.ode4j.math with parameters of type DVector3 | |
---|---|
boolean |
DVector3.isEq(DVector3 a)
|
void |
DVector3View.set(DVector3 v2)
|
void |
DMatrix3.setCol(int i,
DVector3 v3)
|
void |
DMatrixN.setCol(int i,
DVector3 v3)
|
void |
DMatrix3.setOfs(int ofs,
DVector3 v3)
|
void |
DMatrixN.setOfs(int ofs,
DVector3 v3)
|
Uses of DVector3 in org.ode4j.ode |
---|
Fields in org.ode4j.ode declared as DVector3 | |
---|---|
DVector3 |
DJoint.DJointFeedback.f1
force applied to body 1 |
DVector3 |
DJoint.DJointFeedback.f2
force applied to body 2 |
DVector3 |
DContact.fdir1
|
DVector3 |
DContactGeom.normal
|
DVector3 |
DContactGeom.pos
|
DVector3 |
DJoint.DJointFeedback.t1
torque applied to body 1 |
DVector3 |
DJoint.DJointFeedback.t2
torque applied to body 2 |
Methods in org.ode4j.ode that return DVector3 | |
---|---|
DVector3 |
DAABBC.getCenter()
|
DVector3 |
DAABB.getCenter()
|
DVector3 |
DAABBC.getLengths()
|
DVector3 |
DAABB.getLengths()
|
Methods in org.ode4j.ode with parameters of type DVector3 | |
---|---|
void |
DGeom.copyOffsetPosition(DVector3 pos)
Copy the offset position vector of a geom. |
void |
DGeom.copyPosition(DVector3 pos)
Copy the position of a geom into a vector. |
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 void |
OdeMath.dCalcVectorCross3(DVector3 a,
DVector3C b,
DVector3C c)
Cross product, set a = b x c. |
static void |
OdeMath.dCROSS(DVector3 a,
OdeMath.OP op,
DVector3C b,
DVector3C c)
Deprecated. Use dCalcVetorCross3, dAddVectorCross3 or dSubtractVectorCross3. |
static void |
DMisc.dMakeRandomVector(DVector3 A,
double range)
Make a random vector with entries between +/- range. |
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(DVector3 A,
DMatrix3C B,
double[] C,
int c)
|
static void |
OdeMath.dMULTIPLY0_331(DVector3 A,
DMatrix3C B,
double[] C,
int 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,
double[] C,
int c)
|
static void |
OdeMath.dMULTIPLYADD0_331(DVector3 A,
double[] B,
int b,
double[] C,
int c)
Deprecated. |
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.dNormalize3(DVector3 a)
normalize 3x1 vectors (i.e. |
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 boolean |
OdeMath.dSafeNormalize3(DVector3 a)
Normalize 3x1 vectors (i.e. |
static void |
DMatrix.dSetValue(DVector3 a,
double value)
Set a vector/matrix to a specific value. |
static void |
DMatrix.dSolveCholesky(DMatrix3C L,
DVector3 x)
Solve for x: L*L'*x = b, and put the result back into x. |
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 |
DRay.get(DVector3 start,
DVector3 dir)
Get origin and direction. |
void |
DPistonJoint.getAnchor(DVector3 result)
Get the joint anchor. |
void |
DPRJoint.getAnchor(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DHingeJoint.getAnchor(DVector3 result)
Get the hinge anchor point, in world coordinates. |
void |
DUniversalJoint.getAnchor(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DBallJoint.getAnchor(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DHinge2Joint.getAnchor(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DPUJoint.getAnchor(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DPistonJoint.getAnchor2(DVector3 result)
Get the joint anchor wrt body 2. |
void |
DHingeJoint.getAnchor2(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DUniversalJoint.getAnchor2(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DBallJoint.getAnchor2(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DHinge2Joint.getAnchor2(DVector3 result)
Get the joint anchor point, in world coordinates. |
void |
DSliderJoint.getAxis(DVector3 result)
Get the slider axis. |
void |
DPistonJoint.getAxis(DVector3 result)
Get the prismatic axis (This is also the rotoide axis. |
void |
DHingeJoint.getAxis(DVector3 result)
Get axis. |
void |
DLMotorJoint.getAxis(int anum,
DVector3 result)
Get axis. |
void |
DAMotorJoint.getAxis(int anum,
DVector3 result)
Get the AMotor axes. |
void |
DPRJoint.getAxis1(DVector3 result)
Get the prismatic axis. |
void |
DUniversalJoint.getAxis1(DVector3 result)
Get axis. |
void |
DHinge2Joint.getAxis1(DVector3 result)
Get joint axis. |
void |
DPUJoint.getAxis1(DVector3 result)
Get the first axis of the universal component of the joint. |
void |
DPRJoint.getAxis2(DVector3 result)
Get the Rotoide axis. |
void |
DUniversalJoint.getAxis2(DVector3 result)
Get axis. |
void |
DHinge2Joint.getAxis2(DVector3 result)
Get joint axis. |
void |
DPUJoint.getAxis2(DVector3 result)
Get the second axis of the Universal component of the joint. |
void |
DPUJoint.getAxis3(DVector3 result)
Get the prismatic axis. |
void |
DPUJoint.getAxisP(DVector3 result)
Get the prismatic axis. |
void |
DBody.getFiniteRotationAxis(DVector3 result)
Get the finite rotation axis. |
void |
DWorld.getGravity(DVector3 g)
Get the gravity vector for a given world. |
void |
DBox.getLengths(DVector3 result)
Get the side lengths of a box. |
void |
DBody.getPointVel(double px,
double py,
double pz,
DVector3 result)
Get velocity vector in global coords of a globally specified point on a body. |
void |
DBody.getPointVel(DVector3C p,
DVector3 result)
Get velocity vector in global coords of a globally specified point on a body. |
void |
DBody.getPosRelPoint(double px,
double py,
double pz,
DVector3 result)
Takes a point in global coordinates and returns the point's position in body-relative coordinates. |
void |
DGeom.getPosRelPoint(double px,
double py,
double pz,
DVector3 result)
Takes a point in global coordinates and returns the point's position in geom-relative coordinates. |
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(double px,
double py,
double pz,
DVector3 result)
Get world position of a relative point on body. |
void |
DGeom.getRelPointPos(double px,
double py,
double pz,
DVector3 result)
Get world position of a relative point on geom. |
void |
DBody.getRelPointPos(DVector3C p,
DVector3 result)
Get world position of a relative point on body. |
void |
DBody.getRelPointVel(double px,
double py,
double pz,
DVector3 result)
Get velocity vector in global coords 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 |
DWorld.impulseToForce(double stepsize,
double ix,
double iy,
double iz,
DVector3 force)
Converts an impulse to a force. |
void |
DBody.vectorFromWorld(double px,
double py,
double pz,
DVector3 result)
Convert from world to local coordinates. |
void |
DGeom.vectorFromWorld(double px,
double py,
double pz,
DVector3 result)
Convert from world to geom-local coordinates. |
void |
DBody.vectorFromWorld(DVector3C p,
DVector3 result)
Convert from world to local coordinates. |
void |
DBody.vectorToWorld(double px,
double py,
double pz,
DVector3 result)
Convert from local to world coordinates. |
void |
DGeom.vectorToWorld(double px,
double py,
double pz,
DVector3 result)
Convert from geom-local to world coordinates. |
void |
DBody.vectorToWorld(DVector3C p,
DVector3 result)
Convert from local to world coordinates. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |