- dBoxBox
int dBoxBox(dVector3 p1, dMatrix3 R1, dVector3 side1, dVector3 p2, dMatrix3 R2, dVector3 side2, dVector3 normal, dReal* depth, int* return_code, int flags, dContactGeom* contact, int skip)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dBoxTouchesBox
int dBoxTouchesBox(dVector3 _p1, dMatrix3 R1, dVector3 side1, dVector3 _p2, dMatrix3 R2, dVector3 side2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dClosestLineSegmentPoints
void dClosestLineSegmentPoints(dVector3 a1, dVector3 a2, dVector3 b1, dVector3 b2, dVector3 cp1, dVector3 cp2)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCollide
int dCollide(dGeomID o1, dGeomID o2, int flags, dContactGeom* contact, int skip)
@brief Given two geoms o1 and o2 that potentially intersect,
generate contact information for them.
- dCreateBox
dGeomID dCreateBox(dSpaceID space, dReal lx, dReal ly, dReal lz)
@brief Create a box geom with the provided side lengths.
- dCreateCapsule
dGeomID dCreateCapsule(dSpaceID space, dReal radius, dReal length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateConvex
dGeomID dCreateConvex(dSpaceID space, dReal* _planes, uint _planecount, dReal* _points, uint _pointcount, uint* _polygons)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateCylinder
dGeomID dCreateCylinder(dSpaceID space, dReal radius, dReal length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateGeom
dGeomID dCreateGeom(int classnum)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateGeomClass
int dCreateGeomClass(dGeomClass* classptr)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateGeomTransform
dGeomID dCreateGeomTransform(dSpaceID space)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateHeightfield
dGeomID dCreateHeightfield(dSpaceID space, dHeightfieldDataID data, int bPlaceable)
@brief Creates a heightfield geom.
- dCreatePlane
dGeomID dCreatePlane(dSpaceID space, dReal a, dReal b, dReal c, dReal d)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateRay
dGeomID dCreateRay(dSpaceID space, dReal length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dCreateSphere
dGeomID dCreateSphere(dSpaceID space, dReal radius)
@brief Create a sphere geom of the given radius, and return its ID.
- dGeomBoxGetLengths
void dGeomBoxGetLengths(dGeomID box, dVector3 result)
@brief Get the side lengths of a box.
- dGeomBoxPointDepth
dReal dGeomBoxPointDepth(dGeomID box, dReal x, dReal y, dReal z)
@brief Return the depth of a point in a box.
- dGeomBoxSetLengths
void dGeomBoxSetLengths(dGeomID box, dReal lx, dReal ly, dReal lz)
@brief Set the side lengths of the given box.
- dGeomCapsuleGetParams
void dGeomCapsuleGetParams(dGeomID ccylinder, dReal* radius, dReal* length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomCapsulePointDepth
dReal dGeomCapsulePointDepth(dGeomID ccylinder, dReal x, dReal y, dReal z)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomCapsuleSetParams
void dGeomCapsuleSetParams(dGeomID ccylinder, dReal radius, dReal length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomClearOffset
void dGeomClearOffset(dGeomID geom)
@brief Clear any offset from the geom.
- dGeomCopyOffsetPosition
void dGeomCopyOffsetPosition(dGeomID geom, dVector3 pos)
@brief Copy the offset position vector of a geom.
- dGeomCopyOffsetRotation
void dGeomCopyOffsetRotation(dGeomID geom, dMatrix3 R)
@brief Copy the offset rotation matrix of a geom.
- dGeomCopyPosition
void dGeomCopyPosition(dGeomID geom, dVector3 pos)
@brief Copy the position of a geom into a vector.
@ingroup collide
@param geom the geom to query
@param pos a copy of the geom position
@sa dGeomGetPosition
- dGeomCopyRotation
void dGeomCopyRotation(dGeomID geom, dMatrix3 R)
@brief Get the rotation matrix of a placeable geom.
- dGeomCylinderGetParams
void dGeomCylinderGetParams(dGeomID cylinder, dReal* radius, dReal* length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomCylinderSetParams
void dGeomCylinderSetParams(dGeomID cylinder, dReal radius, dReal length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomDestroy
void dGeomDestroy(dGeomID geom)
@brief Destroy a geom, removing it from any space.
- dGeomDisable
void dGeomDisable(dGeomID geom)
- dGeomEnable
void dGeomEnable(dGeomID geom)
- dGeomGetAABB
void dGeomGetAABB(dGeomID geom, dReal[6] aabb)
@brief Return the axis-aligned bounding box.
- dGeomGetBody
dBodyID dGeomGetBody(dGeomID geom)
@brief Get the body associated with a placeable geom.
@param geom the geom to query.
@sa dGeomSetBody
@ingroup collide
- dGeomGetCategoryBits
c_ulong dGeomGetCategoryBits(dGeomID )
@brief Get the "category" bitfield for the given geom.
- dGeomGetClass
int dGeomGetClass(dGeomID geom)
@brief Given a geom, this returns its class.
- dGeomGetClassData
void* dGeomGetClassData(dGeomID )
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomGetCollideBits
c_ulong dGeomGetCollideBits(dGeomID )
@brief Get the "collide" bitfield for the given geom.
- dGeomGetData
void* dGeomGetData(dGeomID geom)
@brief Get the user-defined data pointer stored in the geom.
- dGeomGetOffsetPosition
const(dReal)* dGeomGetOffsetPosition(dGeomID geom)
@brief Get the offset position vector of a geom.
- dGeomGetOffsetQuaternion
void dGeomGetOffsetQuaternion(dGeomID geom, dQuaternion result)
@brief Get the offset rotation quaternion of a geom.
- dGeomGetOffsetRotation
const(dReal)* dGeomGetOffsetRotation(dGeomID geom)
@brief Get the offset rotation matrix of a geom.
- dGeomGetPosRelPoint
void dGeomGetPosRelPoint(dGeomID geom, dReal px, dReal py, dReal pz, dVector3 result)
@brief takes a point in global coordinates and returns
the point's position in geom-relative coordinates.
- dGeomGetPosition
const(dReal)* dGeomGetPosition(dGeomID geom)
@brief Get the position vector of a placeable geom.
- dGeomGetQuaternion
void dGeomGetQuaternion(dGeomID geom, dQuaternion result)
@brief Get the rotation quaternion of a placeable geom.
- dGeomGetRelPointPos
void dGeomGetRelPointPos(dGeomID geom, dReal px, dReal py, dReal pz, dVector3 result)
@brief Get world position of a relative point on geom.
- dGeomGetRotation
const(dReal)* dGeomGetRotation(dGeomID geom)
@brief Get the rotation matrix of a placeable geom.
- dGeomGetSpace
dSpaceID dGeomGetSpace(dGeomID )
@brief Query for the space containing a particular geom.
@param geom the geom to query
@returns The space that contains the geom, or NULL if the geom is
not contained by a space.
@ingroup collide
- dGeomHeightfieldDataBuildByte
void dGeomHeightfieldDataBuildByte(dHeightfieldDataID d, ubyte* pHeightData, int bCopyHeightData, dReal width, dReal depth, int widthSamples, int depthSamples, dReal scale, dReal offset, dReal thickness, int bWrap)
@brief Configures a dHeightfieldDataID to use height data in byte format.
- dGeomHeightfieldDataBuildCallback
void dGeomHeightfieldDataBuildCallback(dHeightfieldDataID d, void* pUserData, dHeightfieldGetHeight pCallback, dReal width, dReal depth, int widthSamples, int depthSamples, dReal scale, dReal offset, dReal thickness, int bWrap)
@brief Configures a dHeightfieldDataID to use a callback to
retrieve height data.
- dGeomHeightfieldDataBuildDouble
void dGeomHeightfieldDataBuildDouble(dHeightfieldDataID d, double* pHeightData, int bCopyHeightData, dReal width, dReal depth, int widthSamples, int depthSamples, dReal scale, dReal offset, dReal thickness, int bWrap)
@brief Configures a dHeightfieldDataID to use height data in
double precision floating point format.
- dGeomHeightfieldDataBuildShort
void dGeomHeightfieldDataBuildShort(dHeightfieldDataID d, short* pHeightData, int bCopyHeightData, dReal width, dReal depth, int widthSamples, int depthSamples, dReal scale, dReal offset, dReal thickness, int bWrap)
@brief Configures a dHeightfieldDataID to use height data in short format.
- dGeomHeightfieldDataBuildSingle
void dGeomHeightfieldDataBuildSingle(dHeightfieldDataID d, float* pHeightData, int bCopyHeightData, dReal width, dReal depth, int widthSamples, int depthSamples, dReal scale, dReal offset, dReal thickness, int bWrap)
@brief Configures a dHeightfieldDataID to use height data in
single precision floating point format.
- dGeomHeightfieldDataCreate
dHeightfieldDataID dGeomHeightfieldDataCreate()
@brief Creates a new empty dHeightfieldDataID.
- dGeomHeightfieldDataDestroy
void dGeomHeightfieldDataDestroy(dHeightfieldDataID d)
@brief Destroys a dHeightfieldDataID.
- dGeomHeightfieldDataSetBounds
void dGeomHeightfieldDataSetBounds(dHeightfieldDataID d, dReal minHeight, dReal maxHeight)
@brief Manually set the minimum and maximum height bounds.
- dGeomHeightfieldGetHeightfieldData
dHeightfieldDataID dGeomHeightfieldGetHeightfieldData(dGeomID g)
@brief Gets the dHeightfieldDataID bound to a heightfield geom.
- dGeomHeightfieldSetHeightfieldData
void dGeomHeightfieldSetHeightfieldData(dGeomID g, dHeightfieldDataID d)
@brief Assigns a dHeightfieldDataID to a heightfield geom.
- dGeomIsEnabled
int dGeomIsEnabled(dGeomID geom)
@brief Check to see if a geom is enabled.
- dGeomIsOffset
int dGeomIsOffset(dGeomID geom)
@brief Check to see whether the geom has an offset.
- dGeomIsSpace
int dGeomIsSpace(dGeomID geom)
@brief Determing if a geom is a space.
@param geom the geom to query
@returns Non-zero if the geom is a space, zero otherwise.
@ingroup collide
- dGeomLowLevelControl
int dGeomLowLevelControl(dGeomID geom, int controlClass, int controlCode, void* dataValue, int* dataSize)
@brief Execute low level control operation for geometry.
- dGeomPlaneGetParams
void dGeomPlaneGetParams(dGeomID plane, dVector4 result)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomPlanePointDepth
dReal dGeomPlanePointDepth(dGeomID plane, dReal x, dReal y, dReal z)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomPlaneSetParams
void dGeomPlaneSetParams(dGeomID plane, dReal a, dReal b, dReal c, dReal d)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRayGet
void dGeomRayGet(dGeomID ray, dVector3 start, dVector3 dir)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRayGetClosestHit
int dGeomRayGetClosestHit(dGeomID g)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRayGetLength
dReal dGeomRayGetLength(dGeomID ray)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRayGetParams
void dGeomRayGetParams(dGeomID g, int* FirstContact, int* BackfaceCull)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRaySet
void dGeomRaySet(dGeomID ray, dReal px, dReal py, dReal pz, dReal dx, dReal dy, dReal dz)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRaySetClosestHit
void dGeomRaySetClosestHit(dGeomID g, int closestHit)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRaySetLength
void dGeomRaySetLength(dGeomID ray, dReal length)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomRaySetParams
void dGeomRaySetParams(dGeomID g, int FirstContact, int BackfaceCull)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomSetBody
void dGeomSetBody(dGeomID geom, dBodyID gbody)
@brief Set the body associated with a placeable geom.
- dGeomSetCategoryBits
void dGeomSetCategoryBits(dGeomID geom, c_ulong bits)
@brief Set the "category" bitfield for the given geom.
- dGeomSetCollideBits
void dGeomSetCollideBits(dGeomID geom, c_ulong bits)
@brief Set the "collide" bitfield for the given geom.
- dGeomSetConvex
void dGeomSetConvex(dGeomID g, dReal* _planes, uint _count, dReal* _points, uint _pointcount, uint* _polygons)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomSetData
void dGeomSetData(dGeomID geom, void* data)
@brief Set the user-defined data pointer stored in the geom.
- dGeomSetOffsetPosition
void dGeomSetOffsetPosition(dGeomID geom, dReal x, dReal y, dReal z)
@brief Set the local offset position of a geom from its body.
- dGeomSetOffsetQuaternion
void dGeomSetOffsetQuaternion(dGeomID geom, dQuaternion Q)
@brief Set the local offset rotation of a geom from its body.
- dGeomSetOffsetRotation
void dGeomSetOffsetRotation(dGeomID geom, dMatrix3 R)
@brief Set the local offset rotation matrix of a geom from its body.
- dGeomSetOffsetWorldPosition
void dGeomSetOffsetWorldPosition(dGeomID geom, dReal x, dReal y, dReal z)
@brief Set the offset position of a geom from its body.
- dGeomSetOffsetWorldQuaternion
void dGeomSetOffsetWorldQuaternion(dGeomID geom, dQuaternion )
@brief Set the offset rotation of a geom from its body.
- dGeomSetOffsetWorldRotation
void dGeomSetOffsetWorldRotation(dGeomID geom, dMatrix3 R)
@brief Set the offset rotation of a geom from its body.
- dGeomSetPosition
void dGeomSetPosition(dGeomID geom, dReal x, dReal y, dReal z)
@brief Set the position vector of a placeable geom.
- dGeomSetQuaternion
void dGeomSetQuaternion(dGeomID geom, dQuaternion Q)
@brief Set the rotation of a placeable geom.
- dGeomSetRotation
void dGeomSetRotation(dGeomID geom, dMatrix3 R)
@brief Set the rotation matrix of a placeable geom.
- dGeomSphereGetRadius
dReal dGeomSphereGetRadius(dGeomID sphere)
@brief Retrieves the radius of a sphere geom.
- dGeomSpherePointDepth
dReal dGeomSpherePointDepth(dGeomID sphere, dReal x, dReal y, dReal z)
@brief Calculate the depth of the a given point within a sphere.
- dGeomSphereSetRadius
void dGeomSphereSetRadius(dGeomID sphere, dReal radius)
@brief Set the radius of a sphere geom.
- dGeomTransformGetCleanup
int dGeomTransformGetCleanup(dGeomID g)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomTransformGetGeom
dGeomID dGeomTransformGetGeom(dGeomID g)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomTransformGetInfo
int dGeomTransformGetInfo(dGeomID g)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomTransformSetCleanup
void dGeomTransformSetCleanup(dGeomID g, int mode)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomTransformSetGeom
void dGeomTransformSetGeom(dGeomID g, dGeomID obj)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomTransformSetInfo
void dGeomTransformSetInfo(dGeomID g, int mode)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dGeomVectorFromWorld
void dGeomVectorFromWorld(dGeomID geom, dReal px, dReal py, dReal pz, dVector3 result)
@brief Convert from world to geom-local coordinates.
- dGeomVectorToWorld
void dGeomVectorToWorld(dGeomID geom, dReal px, dReal py, dReal pz, dVector3 result)
@brief Convert from geom-local to world coordinates.
- dInfiniteAABB
void dInfiniteAABB(dGeomID geom, dReal[6] aabb)
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
- dSetColliderOverride
void dSetColliderOverride(int i, int j, dColliderFn* fn)
@brief Sets a custom collider function for two geom classes.
- dSpaceCollide
void dSpaceCollide(dSpaceID space, void* data, dNearCallback* callback)
@brief Determines which pairs of geoms in a space may potentially intersect,
and calls the callback function for each candidate pair.
- dSpaceCollide2
void dSpaceCollide2(dGeomID space1, dGeomID space2, void* data, dNearCallback* callback)
@brief Determines which geoms from one space may potentially intersect with
geoms from another space, and calls the callback function for each candidate
pair.
D bindings for ODE * * C header port by Daniel "q66" Kolesa <quaker66@gmail.com> * * Open Dynamics Engine, Copyright (C) 2001-2003 Russell L. Smith. * All rights reserved. Email: russ@q12.org Web: www.q12.org * * This library is free software; you can redistribute it and/or * modify it under the terms of EITHER: * (1) The GNU Lesser General Public License as published by the Free * Software Foundation; either version 2.1 of the License, or (at * your option) any later version. The text of the GNU Lesser * General Public License is included with this library in the * file LICENSE.TXT. * (2) The BSD-style license that is included with this library in * the file LICENSE-BSD.TXT. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the files * LICENSE.TXT and LICENSE-BSD.TXT for more details. * *