Uses of Class
org.jbox2d.common.Vec2
Packages that use Vec2
Package
Description
-
Uses of Vec2 in org.jbox2d.callbacks
Methods in org.jbox2d.callbacks that return Vec2Modifier and TypeMethodDescriptionDebugDraw.getScreenToWorld(float screenX, float screenY) takes the screen coordinates and returns the world coordinates.DebugDraw.getScreenToWorld(Vec2 argScreen) takes the screen coordinates (argScreen) and returns the world coordinatesDebugDraw.getWorldToScreen(float worldX, float worldY) Takes the world coordinates and returns the screen coordinates.DebugDraw.getWorldToScreen(Vec2 argWorld) takes the world coordinate (argWorld) and returns the screen coordinates.Methods in org.jbox2d.callbacks with parameters of type Vec2Modifier and TypeMethodDescriptionabstract voidDebugDraw.drawCircle(Vec2 center, float radius, Color3f color) Draw a circle.abstract voidvoidDebugDraw.drawPolygon(Vec2[] vertices, int vertexCount, Color3f color) Draw a closed polygon provided in CCW order.abstract voidDebugDraw.drawSegment(Vec2 p1, Vec2 p2, Color3f color) Draw a line segment.abstract voidDebugDraw.drawSolidCircle(Vec2 center, float radius, Vec2 axis, Color3f color) Draw a solid circle.abstract voidDebugDraw.drawSolidPolygon(Vec2[] vertices, int vertexCount, Color3f color) Draw a solid closed polygon provided in CCW order.voidDebugDraw.drawString(Vec2 pos, java.lang.String s, Color3f color) DebugDraw.getScreenToWorld(Vec2 argScreen) takes the screen coordinates (argScreen) and returns the world coordinatesvoidDebugDraw.getScreenToWorldToOut(float screenX, float screenY, Vec2 argWorld) takes the screen coordinates and puts the corresponding world coordinates in argWorld.voidDebugDraw.getScreenToWorldToOut(Vec2 argScreen, Vec2 argWorld) DebugDraw.getWorldToScreen(Vec2 argWorld) takes the world coordinate (argWorld) and returns the screen coordinates.voidDebugDraw.getWorldToScreenToOut(float worldX, float worldY, Vec2 argScreen) Takes the world coordinates and puts the corresponding screen coordinates in argScreen.voidDebugDraw.getWorldToScreenToOut(Vec2 argWorld, Vec2 argScreen) floatRayCastCallback.reportFixture(Fixture fixture, Vec2 point, Vec2 normal, float fraction) Called for each fixture found in the query. -
Uses of Vec2 in org.jbox2d.collision
Fields in org.jbox2d.collision declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2SeparationFunction.axisAprivate final Vec2SeparationFunction.axisBprivate final Vec2Distance.Simplex.case2private final Vec2Distance.Simplex.case22private final Vec2Distance.Simplex.case3private final Vec2Distance.Simplex.case33private Vec2Distance.closestPointprivate static Vec2Collision.dprivate Vec2Distance.dprivate final Vec2Collision.eprivate final Vec2Collision.e1private final Vec2Distance.Simplex.e12private final Vec2Distance.Simplex.e13private final Vec2Distance.Simplex.e23private final Vec2Collision.EPCollider.edge0private final Vec2Collision.EPCollider.edge1private final Vec2Collision.EPCollider.edge2private final Vec2Collision.localNormalfinal Vec2Manifold.localNormalnot use for Type::e_pointsfinal Vec2Manifold.localPointusage depends on manifold typefinal Vec2ManifoldPoint.localPointusage depends on manifold typeprivate final Vec2SeparationFunction.localPointAprivate final Vec2SeparationFunction.localPointA1private final Vec2SeparationFunction.localPointA2private final Vec2SeparationFunction.localPointBprivate final Vec2SeparationFunction.localPointB1private final Vec2SeparationFunction.localPointB2private final Vec2Collision.localTangentfinal Vec2AABB.lowerBoundBottom left vertex of bounding box.final Vec2SeparationFunction.m_axisfinal Vec2[]Distance.DistanceProxy.m_buffer(package private) final Vec2Collision.EPCollider.m_centroidBfinal Vec2SeparationFunction.m_localPoint(package private) final Vec2Collision.EPCollider.m_lowerLimit(package private) final Vec2Collision.EPCollider.m_normal(package private) final Vec2Collision.EPCollider.m_normal0(package private) final Vec2Collision.EPCollider.m_normal1(package private) final Vec2Collision.EPCollider.m_normal2(package private) final Vec2Collision.EPCollider.m_upperLimit(package private) Vec2Collision.EPCollider.m_v0(package private) Vec2Collision.EPCollider.m_v1(package private) Vec2Collision.EPCollider.m_v2(package private) Vec2Collision.EPCollider.m_v3final Vec2[]Distance.DistanceProxy.m_verticesprivate final Vec2Collision.EPCollider.nprivate final Vec2Collision.n(package private) final Vec2Collision.ReferenceFace.normalprivate Vec2Distance.normalfinal Vec2RayCastOutput.normalprivate final Vec2SeparationFunction.normalfinal Vec2WorldManifold.normalWorld vector pointing from A to B(package private) final Vec2[]Collision.TempPolygon.normalsprivate final Vec2Collision.Pfinal Vec2RayCastInput.p1final Vec2RayCastInput.p2private final Vec2Collision.EPCollider.perpprivate final Vec2Collision.planePointfinal Vec2DistanceOutput.pointAClosest point on shapeAprivate final Vec2SeparationFunction.pointAfinal Vec2DistanceOutput.pointBClosest point on shapeBprivate final Vec2SeparationFunction.pointBfinal Vec2[]WorldManifold.pointsWorld contact point (point of intersection)private final Vec2WorldManifold.pool3private final Vec2WorldManifold.pool4private final Vec2Collision.Q(package private) final Vec2Collision.ReferenceFace.sideNormal1(package private) final Vec2Collision.ReferenceFace.sideNormal2private final Vec2Collision.tangentprivate final Vec2Collision.EPCollider.tempprivate final Vec2Collision.tempprivate Vec2Distance.tempprivate final Vec2SeparationFunction.tempfinal Vec2AABB.upperBoundTop right vertex of bounding box.final Vec2Collision.ClipVertex.v(package private) final Vec2Collision.ReferenceFace.v1private final Vec2Collision.v11private final Vec2Collision.v12(package private) final Vec2Collision.ReferenceFace.v2(package private) final Vec2[]Collision.TempPolygon.verticesfinal Vec2Distance.SimplexVertex.wprivate final Vec2Distance.Simplex.w1private final Vec2Distance.Simplex.w2private final Vec2Distance.Simplex.w3final Vec2Distance.SimplexVertex.wAfinal Vec2Distance.SimplexVertex.wBMethods in org.jbox2d.collision that return Vec2Modifier and TypeMethodDescriptionfinal Vec2AABB.getCenter()Get the center of the AABBfinal Vec2AABB.getExtents()Get the extents of the AABB (half-widths).final Vec2Distance.DistanceProxy.getSupportVertex(Vec2 d) Get the supporting vertex in the given direction.final Vec2Distance.DistanceProxy.getVertex(int index) Get a vertex by index.Methods in org.jbox2d.collision with parameters of type Vec2Modifier and TypeMethodDescriptionstatic final intCollision.clipSegmentToLine(Collision.ClipVertex[] vOut, Collision.ClipVertex[] vIn, Vec2 normal, float offset, int vertexIndexA) Clipping for contact manifolds.final voidAABB.getCenterToOut(Vec2 out) voidDistance.Simplex.getClosestPoint(Vec2 out) this returns pooled objects.final voidAABB.getExtentsToOut(Vec2 out) final voidDistance.Simplex.getSearchDirection(Vec2 out) final intDistance.DistanceProxy.getSupport(Vec2 d) Get the supporting vertex index in the given direction.final Vec2Distance.DistanceProxy.getSupportVertex(Vec2 d) Get the supporting vertex in the given direction.final voidAABB.getVertices(Vec2[] argRay) voidDistance.Simplex.getWitnessPoints(Vec2 pA, Vec2 pB) Constructors in org.jbox2d.collision with parameters of type Vec2 -
Uses of Vec2 in org.jbox2d.collision.broadphase
Fields in org.jbox2d.collision.broadphase declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2[]DynamicTree.drawVecsprivate final Vec2DynamicTree.rprivate final Vec2DynamicTree.textVecMethods in org.jbox2d.collision.broadphase with parameters of type Vec2Modifier and TypeMethodDescriptionfinal voidCall MoveProxy as many times as you like, then when you are done call UpdatePairs to finalized the proxy pairs (for your time step).booleanMove a proxy with a swepted AABB.final boolean -
Uses of Vec2 in org.jbox2d.collision.shapes
Fields in org.jbox2d.collision.shapes declared as Vec2Modifier and TypeFieldDescriptionfinal Vec2MassData.centerThe position of the shape's centroid relative to the shape's origin.final Vec2PolygonShape.m_centroidLocal position of the shape centroid in parent body frame.final Vec2ChainShape.m_nextVertexfinal Vec2[]PolygonShape.m_normalsThe normals of the shape.final Vec2CircleShape.m_pfinal Vec2ChainShape.m_prevVertexfinal Vec2EdgeShape.m_vertex0optional adjacent vertex 1.final Vec2EdgeShape.m_vertex1edge vertex 1final Vec2EdgeShape.m_vertex2edge vertex 2final Vec2EdgeShape.m_vertex3optional adjacent vertex 2.Vec2[]ChainShape.m_verticesfinal Vec2[]PolygonShape.m_verticesThe vertices of the shape.private final Vec2EdgeShape.normalprivate final Vec2PolygonShape.pool1private final Vec2PolygonShape.pool2private final Vec2PolygonShape.pool3private final Vec2PolygonShape.pool4Methods in org.jbox2d.collision.shapes that return Vec2Modifier and TypeMethodDescriptionGet the centroid and apply the supplied transform.PolygonShape.centroidToOut(Transform xf, Vec2 out) Get the centroid and apply the supplied transform.Vec2[]PolygonShape.getNormals()Get the edge normal vectors.final Vec2CircleShape.getSupportVertex(Vec2 d) Get the supporting vertex in the given direction.final Vec2CircleShape.getVertex(int index) Get a vertex by index.final Vec2PolygonShape.getVertex(int index) Get a vertex by index.Vec2[]PolygonShape.getVertices()Get the vertices in local coordinates.Methods in org.jbox2d.collision.shapes with parameters of type Vec2Modifier and TypeMethodDescriptionPolygonShape.centroidToOut(Transform xf, Vec2 out) Get the centroid and apply the supplied transform.final voidPolygonShape.computeCentroidToOut(Vec2[] vs, int count, Vec2 out) voidChainShape.createChain(Vec2[] vertices, int count) Create a chain with isolated end vertices.voidChainShape.createLoop(Vec2[] vertices, int count) Create a loop.final intCircleShape.getSupport(Vec2 d) Get the supporting vertex index in the given direction.final Vec2CircleShape.getSupportVertex(Vec2 d) Get the supporting vertex in the given direction.voidfinal voidCreate a convex hull from the given array of points.final voidCreate a convex hull from the given array of points.final voidBuild vertices to represent an oriented box.voidChainShape.setNextVertex(Vec2 nextVertex) Establish connectivity to a vertex that follows the last vertex.voidChainShape.setPrevVertex(Vec2 prevVertex) Establish connectivity to a vertex that precedes the first vertex.booleanfinal booleanbooleanfinal booleanabstract booleanTest a point for containment in this shape. -
Uses of Vec2 in org.jbox2d.common
Fields in org.jbox2d.common declared as Vec2Modifier and TypeFieldDescriptionfinal Vec2Sweep.cCenter world positionsfinal Vec2Sweep.c0Center world positionsfinal Vec2OBBViewportTransform.OBB.centerfinal Vec2Mat22.exfinal Vec2OBBViewportTransform.OBB.extentsfinal Vec2Mat22.eyfinal Vec2Sweep.localCenterLocal center of mass positionfinal Vec2RaycastResult.normalfinal Vec2Transform.pThe translation caused by the transformprivate static Vec2Transform.poolMethods in org.jbox2d.common that return Vec2Modifier and TypeMethodDescriptionfinal Vec2Vec2.abs()Return a new vector that has positive components.static final Vec2final Vec2Return the sum of this vector and another; does not alter either one.final Vec2Vec2.addLocal(float x, float y) Adds values to this vector and returns result - alters this vector.final Vec2Add another vector to this one and returns result - alters this vector.static final Vec2final Vec2Vec2.clone()Return a copy of this vector.static final Vec2static final Vec2IViewportTransform.getCenter()center of the viewport.OBBViewportTransform.getCenter()IViewportTransform.getExtents()This is the half-width and half-height.OBBViewportTransform.getExtents()static final Vec2static final Vec2static final Vec2final Vec2Multiply a vector by this matrix.static final Vec2final Vec2Vec2.mul(float a) Return this vector multiplied by a scalar; does not alter this vector.static final Vec2final Vec2Vec2.mulLocal(float a) Multiply this vector by a number and return result - alters this vector.static final Vec2final Vec2Multiply a vector by the transpose of this matrix.static final Vec2final Vec2Vec2.negate()Return the negation of this vector; does not alter this vector.final Vec2Vec2.negateLocal()Flip the vector and return it - alters this vector.final Vec2Vec2.set(float x, float y) Set the vector component-wise.final Vec2Set this vector to another vector.final Vec2Vec2.skew()Get the skew vector such that dot(skew_vec, other) == cross(vec, other)final Vec2Solve A * x = b where A = this matrix.final Vec2Solve A * x = b, where b is a column vector.final Vec2Return the difference of this vector and another; does not alter either one.final Vec2Subtract another vector from this one and return result - alters this vector.Methods in org.jbox2d.common with parameters of type Vec2Modifier and TypeMethodDescriptionstatic final Vec2static final voidfinal Vec2Return the sum of this vector and another; does not alter either one.final Vec2Add another vector to this one and returns result - alters this vector.static final Vec2static final voidMathUtils.clampToOut(Vec2 a, Vec2 low, Vec2 high, Vec2 dest) static final Vec2static final Vec2static final floatstatic final voidVec2.crossToOut(float s, Vec2 a, Vec2 out) static final voidVec2.crossToOut(Vec2 a, float s, Vec2 out) static final voidVec2.crossToOutUnsafe(float s, Vec2 a, Vec2 out) static final voidVec2.crossToOutUnsafe(Vec2 a, float s, Vec2 out) static final floatstatic final floatMathUtils.distanceSquared(Vec2 v1, Vec2 v2) static final floatvoidIViewportTransform.getScreenToWorld(Vec2 argScreen, Vec2 argWorld) takes the screen coordinates (argScreen) and puts the corresponding world coordinates in argWorld.voidOBBViewportTransform.getScreenToWorld(Vec2 argScreen, Vec2 argWorld) voidIViewportTransform.getScreenVectorToWorld(Vec2 argScreen, Vec2 argWorld) Transforms the given directional screen vector back to the world direction.voidOBBViewportTransform.getScreenVectorToWorld(Vec2 argScreen, Vec2 argWorld) voidIViewportTransform.getWorldToScreen(Vec2 argWorld, Vec2 argScreen) takes the world coordinate (argWorld) puts the corresponding screen coordinate in argScreen.voidOBBViewportTransform.getWorldToScreen(Vec2 argWorld, Vec2 argScreen) voidIViewportTransform.getWorldVectorToScreen(Vec2 argWorld, Vec2 argScreen) Transforms the given directional vector by the viewport transform (not positional)voidOBBViewportTransform.getWorldVectorToScreen(Vec2 argWorld, Vec2 argScreen) voidvoidstatic final Vec2static final voidstatic final Vec2static final voidstatic final Vec2final Vec2Multiply a vector by this matrix.static final Vec2static final Vec2static final voidMat33.mul22ToOut(Mat33 A, Vec2 v, Vec2 out) static final voidMat33.mul22ToOutUnsafe(Mat33 A, Vec2 v, Vec2 out) static final voidfinal voidstatic final voidstatic final voidstatic final voidMat22.mulToOutUnsafe(Mat22 R, Vec2 v, Vec2 out) final voidMat22.mulToOutUnsafe(Vec2 v, Vec2 out) static final voidRot.mulToOutUnsafe(Rot q, Vec2 v, Vec2 out) static final voidTransform.mulToOutUnsafe(Transform T, Vec2 v, Vec2 out) static final Vec2final Vec2Multiply a vector by the transpose of this matrix.static final voidstatic final Vec2static final voidMat22.mulTransToOut(Mat22 R, Vec2 v, Vec2 out) final voidMat22.mulTransToOut(Vec2 v, Vec2 out) static final voidTransform.mulTransToOut(Transform T, Vec2 v, Vec2 out) static final voidMat22.mulTransToOutUnsafe(Mat22 R, Vec2 v, Vec2 out) static final voidTransform.mulTransToOutUnsafe(Transform T, Vec2 v, Vec2 out) static final voidRot.mulTransUnsafe(Rot q, Vec2 v, Vec2 out) static final voidVec2.negateToOut(Vec2 a, Vec2 out) final voidSet by column vectors.final voidSet this based on the position and angle.final Vec2Set this vector to another vector.voidsets the center of the viewport.voidvoidIViewportTransform.setExtents(Vec2 argExtents) This sets the half-width and half-height.voidOBBViewportTransform.setExtents(Vec2 argExtents) final voidGet the skew vector such that dot(skew_vec, other) == cross(vec, other)final Vec2Solve A * x = b where A = this matrix.final Vec2Solve A * x = b, where b is a column vector.final voidMat33.solve22ToOut(Vec2 b, Vec2 out) Solve A * x = b, where b is a column vector.final voidMat22.solveToOut(Vec2 b, Vec2 out) final Vec2Return the difference of this vector and another; does not alter either one.final Vec2Subtract another vector from this one and return result - alters this vector.Constructors in org.jbox2d.common with parameters of type Vec2 -
Uses of Vec2 in org.jbox2d.dynamics
Fields in org.jbox2d.dynamics declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2World.axisprivate final Vec2World.cAprivate final Vec2World.cBprivate final Vec2World.centerprivate final Vec2World.circCenterMovedprivate final Vec2Fixture.displacementBodyDef.linearVelocityThe linear velocity of the body in world co-ordinates.private final Vec2World.liquidOffsetfinal Vec2Body.m_forceprivate final Vec2World.m_gravityfinal Vec2Body.m_linearVelocityprivate final Vec2WorldRayCastWrapper.pointBodyDef.positionThe world position of the body.private final Vec2WorldRayCastWrapper.tempprivate final Vec2World.v1private final Vec2World.v2Methods in org.jbox2d.dynamics that return Vec2Modifier and TypeMethodDescriptionWorld.getGravity()Get the global gravity vector.final Vec2Body.getLinearVelocity()Get the linear velocity of the center of mass.final Vec2Body.getLinearVelocityFromLocalPoint(Vec2 localPoint) Get the world velocity of a local point.final Vec2Body.getLinearVelocityFromWorldPoint(Vec2 worldPoint) Get the world linear velocity of a world point attached to this body.final Vec2Body.getLocalCenter()Get the local position of the center of mass.final Vec2Body.getLocalPoint(Vec2 worldPoint) Gets a local point relative to the body's origin given a world point.final Vec2Body.getLocalVector(Vec2 worldVector) Gets a local vector given a world vector.final Vec2Body.getPosition()Get the world body origin position.final Vec2Body.getWorldCenter()Get the world position of the center of mass.final Vec2Body.getWorldPoint(Vec2 localPoint) Get the world coordinates of a point given the local coordinates.final Vec2Body.getWorldVector(Vec2 localVector) Get the world coordinates of a vector given the local coordinates.Methods in org.jbox2d.dynamics with parameters of type Vec2Modifier and TypeMethodDescriptionfinal voidBody.applyForce(Vec2 force, Vec2 point) Apply a force at a world point.final voidBody.applyForceToCenter(Vec2 force) Apply a force to the center of mass.final voidBody.applyLinearImpulse(Vec2 impulse, Vec2 point) Apply an impulse at a point.final Vec2Body.getLinearVelocityFromLocalPoint(Vec2 localPoint) Get the world velocity of a local point.final voidBody.getLinearVelocityFromLocalPointToOut(Vec2 localPoint, Vec2 out) final Vec2Body.getLinearVelocityFromWorldPoint(Vec2 worldPoint) Get the world linear velocity of a world point attached to this body.final voidBody.getLinearVelocityFromWorldPointToOut(Vec2 worldPoint, Vec2 out) final Vec2Body.getLocalPoint(Vec2 worldPoint) Gets a local point relative to the body's origin given a world point.final voidBody.getLocalPointToOut(Vec2 worldPoint, Vec2 out) final Vec2Body.getLocalVector(Vec2 worldVector) Gets a local vector given a world vector.final voidBody.getLocalVectorToOut(Vec2 worldVector, Vec2 out) final voidBody.getLocalVectorToOutUnsafe(Vec2 worldVector, Vec2 out) final Vec2Body.getWorldPoint(Vec2 localPoint) Get the world coordinates of a point given the local coordinates.final voidBody.getWorldPointToOut(Vec2 localPoint, Vec2 out) final Vec2Body.getWorldVector(Vec2 localVector) Get the world coordinates of a vector given the local coordinates.final voidBody.getWorldVectorToOut(Vec2 localVector, Vec2 out) final voidBody.getWorldVectorToOutUnsafe(Vec2 localVector, Vec2 out) voidWorld.raycast(RayCastCallback callback, Vec2 point1, Vec2 point2) Ray-cast the world for all fixtures in the path of the ray.voidWorld.setGravity(Vec2 gravity) Change the global gravity vector.final voidBody.setLinearVelocity(Vec2 v) Set the linear velocity of the center of mass.final voidBody.setTransform(Vec2 position, float angle) Set the position of the body's origin and rotation.voidbooleanTest a point for containment in this fixture.Constructors in org.jbox2d.dynamics with parameters of type Vec2ModifierConstructorDescriptionConstruct a world object.World(Vec2 gravity, IWorldPool pool) Construct a world object.World(Vec2 gravity, IWorldPool argPool, BroadPhaseStrategy broadPhaseStrategy) -
Uses of Vec2 in org.jbox2d.dynamics.contacts
Fields in org.jbox2d.dynamics.contacts declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2ContactSolver.aprivate final Vec2ContactSolver.bfinal Vec2Position.cprivate final Vec2ContactSolver.dprivate final Vec2ContactSolver.dv1private final Vec2ContactSolver.dv2(package private) final Vec2ContactPositionConstraint.localCenterA(package private) final Vec2ContactPositionConstraint.localCenterB(package private) final Vec2ContactPositionConstraint.localNormal(package private) final Vec2ContactPositionConstraint.localPoint(package private) Vec2[]ContactPositionConstraint.localPointsfinal Vec2ContactVelocityConstraint.normalfinal Vec2PositionSolverManifold.normalprivate final Vec2ContactSolver.Pprivate final Vec2ContactSolver.P1private final Vec2ContactSolver.P2final Vec2PositionSolverManifold.pointprivate final Vec2ContactSolver.rAfinal Vec2ContactVelocityConstraint.VelocityConstraintPoint.rAprivate final Vec2ContactSolver.rBfinal Vec2ContactVelocityConstraint.VelocityConstraintPoint.rBprivate final Vec2ContactSolver.tangentprivate final Vec2ContactSolver.tempprivate final Vec2ContactSolver.temp1private final Vec2ContactSolver.temp2final Vec2Velocity.vprivate final Vec2ContactSolver.x -
Uses of Vec2 in org.jbox2d.dynamics.joints
Fields in org.jbox2d.dynamics.joints declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2WheelJoint.dPulleyJointDef.groundAnchorAThe first ground anchor in world coordinates.PulleyJointDef.groundAnchorBThe second ground anchor in world coordinates.final Vec2Jacobian.linearAfinal Vec2DistanceJointDef.localAnchorAThe local anchor point relative to body1's origin.final Vec2FrictionJointDef.localAnchorAThe local anchor point relative to bodyA's origin.final Vec2PrismaticJointDef.localAnchorAThe local anchor point relative to body1's origin.PulleyJointDef.localAnchorAThe local anchor point relative to bodyA's origin.RevoluteJointDef.localAnchorAThe local anchor point relative to body1's origin.final Vec2RopeJointDef.localAnchorAThe local anchor point relative to bodyA's origin.final Vec2WeldJointDef.localAnchorAThe local anchor point relative to body1's origin.final Vec2WheelJointDef.localAnchorAThe local anchor point relative to body1's origin.final Vec2DistanceJointDef.localAnchorBThe local anchor point relative to body2's origin.final Vec2FrictionJointDef.localAnchorBThe local anchor point relative to bodyB's origin.final Vec2PrismaticJointDef.localAnchorBThe local anchor point relative to body2's origin.PulleyJointDef.localAnchorBThe local anchor point relative to bodyB's origin.RevoluteJointDef.localAnchorBThe local anchor point relative to body2's origin.final Vec2RopeJointDef.localAnchorBThe local anchor point relative to bodyB's origin.final Vec2WeldJointDef.localAnchorBThe local anchor point relative to body2's origin.final Vec2WheelJointDef.localAnchorBThe local anchor point relative to body2's origin.final Vec2PrismaticJointDef.localAxisAThe local translation axis in body1.final Vec2WheelJointDef.localAxisAThe local translation axis in body1.private final Vec2WheelJoint.m_axprivate final Vec2PrismaticJoint.m_axisprivate final Vec2WheelJoint.m_ayprivate final Vec2MouseJoint.m_Cprivate final Vec2PulleyJoint.m_groundAnchorAprivate final Vec2PulleyJoint.m_groundAnchorBprivate final Vec2MouseJoint.m_impulseprivate final Vec2GearJoint.m_JvACprivate final Vec2GearJoint.m_JvBDprivate final Vec2GearJoint.m_lcAprivate final Vec2GearJoint.m_lcBprivate final Vec2GearJoint.m_lcCprivate final Vec2GearJoint.m_lcDprivate final Vec2FrictionJoint.m_linearImpulseprivate final Vec2DistanceJoint.m_localAnchorAprivate final Vec2FrictionJoint.m_localAnchorAprivate final Vec2GearJoint.m_localAnchorAprotected final Vec2PrismaticJoint.m_localAnchorAprivate final Vec2PulleyJoint.m_localAnchorAprotected final Vec2RevoluteJoint.m_localAnchorAprivate final Vec2RopeJoint.m_localAnchorAprivate final Vec2WeldJoint.m_localAnchorAprivate final Vec2WheelJoint.m_localAnchorAprivate final Vec2DistanceJoint.m_localAnchorBprivate final Vec2FrictionJoint.m_localAnchorBprivate final Vec2GearJoint.m_localAnchorBprivate final Vec2MouseJoint.m_localAnchorBprotected final Vec2PrismaticJoint.m_localAnchorBprivate final Vec2PulleyJoint.m_localAnchorBprotected final Vec2RevoluteJoint.m_localAnchorBprivate final Vec2RopeJoint.m_localAnchorBprivate final Vec2WeldJoint.m_localAnchorBprivate final Vec2WheelJoint.m_localAnchorBprivate final Vec2GearJoint.m_localAnchorCprivate final Vec2GearJoint.m_localAnchorDprivate final Vec2GearJoint.m_localAxisCprivate final Vec2GearJoint.m_localAxisDprivate final Vec2DistanceJoint.m_localCenterAprivate final Vec2FrictionJoint.m_localCenterAprivate final Vec2PrismaticJoint.m_localCenterAprivate final Vec2PulleyJoint.m_localCenterAprivate final Vec2RevoluteJoint.m_localCenterAprivate final Vec2RopeJoint.m_localCenterAprivate final Vec2WeldJoint.m_localCenterAprivate final Vec2WheelJoint.m_localCenterAprivate final Vec2DistanceJoint.m_localCenterBprivate final Vec2FrictionJoint.m_localCenterBprivate final Vec2MouseJoint.m_localCenterBprivate final Vec2PrismaticJoint.m_localCenterBprivate final Vec2PulleyJoint.m_localCenterBprivate final Vec2RevoluteJoint.m_localCenterBprivate final Vec2RopeJoint.m_localCenterBprivate final Vec2WeldJoint.m_localCenterBprivate final Vec2WheelJoint.m_localCenterBprotected final Vec2PrismaticJoint.m_localXAxisAprivate final Vec2WheelJoint.m_localXAxisAprotected final Vec2PrismaticJoint.m_localYAxisAprivate final Vec2WheelJoint.m_localYAxisAprivate final Vec2PrismaticJoint.m_perpprivate final Vec2DistanceJoint.m_rAprivate final Vec2FrictionJoint.m_rAprivate final Vec2PulleyJoint.m_rAprivate final Vec2RevoluteJoint.m_rAprivate final Vec2RopeJoint.m_rAprivate final Vec2WeldJoint.m_rAprivate final Vec2DistanceJoint.m_rBprivate final Vec2FrictionJoint.m_rBprivate final Vec2MouseJoint.m_rBprivate final Vec2PulleyJoint.m_rBprivate final Vec2RevoluteJoint.m_rBprivate final Vec2RopeJoint.m_rBprivate final Vec2WeldJoint.m_rBprivate final Vec2MouseJoint.m_targetAprivate final Vec2DistanceJoint.m_uprivate final Vec2RopeJoint.m_uprivate final Vec2PulleyJoint.m_uAprivate final Vec2PulleyJoint.m_uBprivate Vec2[]ConstantVolumeJoint.normalsprivate final Vec2WheelJoint.rAprivate final Vec2WheelJoint.rBfinal Vec2MouseJointDef.targetThe initial world target point.Methods in org.jbox2d.dynamics.joints that return Vec2Modifier and TypeMethodDescriptionPulleyJoint.getGroundAnchorA()PulleyJoint.getGroundAnchorB()DistanceJoint.getLocalAnchorA()FrictionJoint.getLocalAnchorA()PrismaticJoint.getLocalAnchorA()PulleyJoint.getLocalAnchorA()RevoluteJoint.getLocalAnchorA()RopeJoint.getLocalAnchorA()WeldJoint.getLocalAnchorA()WheelJoint.getLocalAnchorA()DistanceJoint.getLocalAnchorB()FrictionJoint.getLocalAnchorB()PrismaticJoint.getLocalAnchorB()PulleyJoint.getLocalAnchorB()RevoluteJoint.getLocalAnchorB()RopeJoint.getLocalAnchorB()WeldJoint.getLocalAnchorB()WheelJoint.getLocalAnchorB()PrismaticJoint.getLocalAxisA()WheelJoint.getLocalAxisA()For serializationMouseJoint.getTarget()Methods in org.jbox2d.dynamics.joints with parameters of type Vec2Modifier and TypeMethodDescriptionvoidConstantVolumeJoint.getAnchorA(Vec2 argOut) No-opvoidDistanceJoint.getAnchorA(Vec2 argOut) voidFrictionJoint.getAnchorA(Vec2 argOut) voidGearJoint.getAnchorA(Vec2 argOut) abstract voidJoint.getAnchorA(Vec2 out) get the anchor point on bodyA in world coordinates.voidMouseJoint.getAnchorA(Vec2 argOut) voidPrismaticJoint.getAnchorA(Vec2 argOut) voidPulleyJoint.getAnchorA(Vec2 argOut) voidRevoluteJoint.getAnchorA(Vec2 argOut) voidRopeJoint.getAnchorA(Vec2 argOut) voidWeldJoint.getAnchorA(Vec2 argOut) voidWheelJoint.getAnchorA(Vec2 argOut) voidConstantVolumeJoint.getAnchorB(Vec2 argOut) No-opvoidDistanceJoint.getAnchorB(Vec2 argOut) voidFrictionJoint.getAnchorB(Vec2 argOut) voidGearJoint.getAnchorB(Vec2 argOut) abstract voidJoint.getAnchorB(Vec2 out) get the anchor point on bodyB in world coordinates.voidMouseJoint.getAnchorB(Vec2 argOut) voidPrismaticJoint.getAnchorB(Vec2 argOut) voidPulleyJoint.getAnchorB(Vec2 argOut) voidRevoluteJoint.getAnchorB(Vec2 argOut) voidRopeJoint.getAnchorB(Vec2 argOut) voidWeldJoint.getAnchorB(Vec2 argOut) voidWheelJoint.getAnchorB(Vec2 argOut) voidConstantVolumeJoint.getReactionForce(float inv_dt, Vec2 argOut) No-opvoidDistanceJoint.getReactionForce(float inv_dt, Vec2 argOut) Get the reaction force given the inverse time step.voidFrictionJoint.getReactionForce(float inv_dt, Vec2 argOut) voidGearJoint.getReactionForce(float inv_dt, Vec2 argOut) abstract voidJoint.getReactionForce(float inv_dt, Vec2 out) get the reaction force on body2 at the joint anchor in Newtons.voidMouseJoint.getReactionForce(float invDt, Vec2 argOut) voidPrismaticJoint.getReactionForce(float inv_dt, Vec2 argOut) voidPulleyJoint.getReactionForce(float inv_dt, Vec2 argOut) voidRevoluteJoint.getReactionForce(float inv_dt, Vec2 argOut) voidRopeJoint.getReactionForce(float inv_dt, Vec2 argOut) voidWeldJoint.getReactionForce(float inv_dt, Vec2 argOut) voidWheelJoint.getReactionForce(float inv_dt, Vec2 argOut) voidDistanceJointDef.initialize(Body b1, Body b2, Vec2 anchor1, Vec2 anchor2) Initialize the bodies, anchors, and length using the world anchors.voidFrictionJointDef.initialize(Body bA, Body bB, Vec2 anchor) Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.voidPrismaticJointDef.initialize(Body b1, Body b2, Vec2 anchor, Vec2 axis) Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.voidPulleyJointDef.initialize(Body b1, Body b2, Vec2 ga1, Vec2 ga2, Vec2 anchor1, Vec2 anchor2, float r) Initialize the bodies, anchors, lengths, max lengths, and ratio using the world anchors.voidRevoluteJointDef.initialize(Body b1, Body b2, Vec2 anchor) Initialize the bodies, anchors, and reference angle using the world anchor.voidWeldJointDef.initialize(Body bA, Body bB, Vec2 anchor) Initialize the bodies, anchors, and reference angle using a world anchor point.voidWheelJointDef.initialize(Body b1, Body b2, Vec2 anchor, Vec2 axis) void -
Uses of Vec2 in org.jbox2d.pooling
Methods in org.jbox2d.pooling that return Vec2 -
Uses of Vec2 in org.jbox2d.pooling.arrays
Methods in org.jbox2d.pooling.arrays that return Vec2Modifier and TypeMethodDescriptionVec2[]Vec2Array.get(int argLength) protected Vec2[]Vec2Array.getInitializedArray(int argLength) -
Uses of Vec2 in org.jbox2d.pooling.normal
Fields in org.jbox2d.pooling.normal with type parameters of type Vec2Methods in org.jbox2d.pooling.normal that return Vec2 -
Uses of Vec2 in org.jbox2d.serialization.pb
Methods in org.jbox2d.serialization.pb that return Vec2Methods in org.jbox2d.serialization.pb with parameters of type Vec2 -
Uses of Vec2 in org.jbox2d.testbed.framework
Fields in org.jbox2d.testbed.framework declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2TestbedTest.bombSpawnPointprivate final Vec2TestbedTest.cachedCameraPosprivate final Vec2TestbedModel.mouseprivate final Vec2TestbedTest.mouseWorldfinal Vec2ContactPoint.normalQueueItem.pprivate final Vec2TestbedTest.pprivate final Vec2TestbedTest.p1private final Vec2TestbedTest.p2final Vec2TestQueryCallback.pointfinal Vec2ContactPoint.positionprivate final Vec2TestbedTest.tangentprivate final Vec2TestbedTest.vprivate final Vec2TestbedTest.velMethods in org.jbox2d.testbed.framework that return Vec2Modifier and TypeMethodDescriptionTestbedTest.getCachedCameraPos()TestbedTest.getDefaultCameraPos()Override for a different default camera posTestbedModel.getMouse()TestbedTest.getWorldMouse()Gets the world position of the mouseMethods in org.jbox2d.testbed.framework with parameters of type Vec2Modifier and TypeMethodDescriptionvoidTestbedTest.completeBombSpawn(Vec2 p) voidTestbedTest.launchBomb(Vec2 position, Vec2 velocity) voidCalled for mouse-downvoidCalled when mouse is movedvoidCalled for mouse-upvoidTestbedTest.queueMouseDown(Vec2 p) voidTestbedTest.queueMouseMove(Vec2 p) voidTestbedTest.queueMouseUp(Vec2 p) voidTestbedTest.queueShiftMouseDown(Vec2 p) voidTestbedTest.setCachedCameraPos(Vec2 argPos) voidvoidSets the current testbed cameravoidvoidTestbedTest.shiftMouseDown(Vec2 p) Called when shift-mouse down occursvoidConstructors in org.jbox2d.testbed.framework with parameters of type Vec2 -
Uses of Vec2 in org.jbox2d.testbed.framework.j2d
Fields in org.jbox2d.testbed.framework.j2d declared as Vec2Modifier and TypeFieldDescriptionprivate final Vec2TestPanelJ2D.dragginMouseprivate final Vec2DebugDrawJ2D.saxisprivate final Vec2DebugDrawJ2D.sp1private final Vec2DebugDrawJ2D.sp2private final Vec2DebugDrawJ2D.tempprivate final Vec2DebugDrawJ2D.temp2Methods in org.jbox2d.testbed.framework.j2d with parameters of type Vec2Modifier and TypeMethodDescriptionvoidDebugDrawJ2D.drawCircle(Vec2 center, float radius, Color3f color) voidvoidDebugDrawJ2D.drawSegment(Vec2 p1, Vec2 p2, Color3f color) voidDebugDrawJ2D.drawSolidCircle(Vec2 center, float radius, Vec2 axis, Color3f color) voidDebugDrawJ2D.drawSolidPolygon(Vec2[] vertices, int vertexCount, Color3f color) private voidDebugDrawJ2D.generateCirle(Vec2 argCenter, float argRadius, Vec2[] argPoints, int argNumPoints) -
Uses of Vec2 in org.jbox2d.testbed.perf
Subclasses with type arguments of type Vec2 in org.jbox2d.testbed.perfFields in org.jbox2d.testbed.perf declared as Vec2Modifier and TypeFieldDescriptionPoolingPerf.mv(package private) final Vec2[]PoolingPerf.CirclePool.pool(package private) final Vec2[]PoolingPerf.CustStack.poolMethods in org.jbox2d.testbed.perf that return Vec2Modifier and TypeMethodDescriptionfinal Vec2PoolingPerf.CirclePool.get()final Vec2PoolingPerf.CustStack.get()protected Vec2PoolingPerf.TLVec2.initialValue()Methods in org.jbox2d.testbed.perf with parameters of type Vec2 -
Uses of Vec2 in org.jbox2d.testbed.tests
Fields in org.jbox2d.testbed.tests declared as Vec2Modifier and TypeFieldDescription(package private) Vec2RayCastTest.d(package private) Vec2EdgeShapesCallback.m_normal(package private) Vec2RayCastAnyCallback.m_normal(package private) Vec2RayCastClosestCallback.m_normal(package private) Vec2[]RayCastMultipleCallback.m_normals(package private) Vec2TheoJansen.m_offset(package private) Vec2EdgeShapesCallback.m_point(package private) Vec2RayCastAnyCallback.m_point(package private) Vec2RayCastClosestCallback.m_pointprivate Vec2[]ConvexHull.m_points(package private) Vec2[]RayCastMultipleCallback.m_points(package private) Vec2DistanceTest.m_positionB(package private) Vec2Breakable.m_velocity(package private) Vec2RayCastTest.point1(package private) Vec2RayCastTest.point2(package private) Vec2RayCastTest.pooledHead(package private) Vec2[]DistanceTest.vMethods in org.jbox2d.testbed.tests that return Vec2Modifier and TypeMethodDescriptionCircleStress.getDefaultCameraPos()DominoTower.getDefaultCameraPos()Methods in org.jbox2d.testbed.tests with parameters of type Vec2Modifier and TypeMethodDescription(package private) voidfloatEdgeShapesCallback.reportFixture(Fixture fixture, Vec2 point, Vec2 normal, float fraction) floatRayCastAnyCallback.reportFixture(Fixture fixture, Vec2 point, Vec2 normal, float fraction) floatRayCastClosestCallback.reportFixture(Fixture fixture, Vec2 point, Vec2 normal, float fraction) floatRayCastMultipleCallback.reportFixture(Fixture fixture, Vec2 point, Vec2 normal, float fraction)