- dBoxBoxint 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. 
- dBoxTouchesBoxint 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. 
- dClosestLineSegmentPointsvoid 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. 
- dCollideint 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. 
- dCreateBoxdGeomID dCreateBox(dSpaceID space, dReal lx, dReal ly, dReal lz) 
- @brief Create a box geom with the provided side lengths. 
- dCreateCapsuledGeomID 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. 
- dCreateConvexdGeomID 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. 
- dCreateCylinderdGeomID 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. 
- dCreateGeomdGeomID 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. 
- dCreateGeomClassint 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. 
- dCreateGeomTransformdGeomID 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. 
- dCreateHeightfielddGeomID dCreateHeightfield(dSpaceID space, dHeightfieldDataID data, int bPlaceable) 
- @brief Creates a heightfield geom. 
- dCreatePlanedGeomID 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. 
- dCreateRaydGeomID 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. 
- dCreateSpheredGeomID dCreateSphere(dSpaceID space, dReal radius) 
- @brief Create a sphere geom of the given radius, and return its ID. 
- dGeomBoxGetLengthsvoid dGeomBoxGetLengths(dGeomID box, dVector3 result) 
- @brief Get the side lengths of a box. 
- dGeomBoxPointDepthdReal dGeomBoxPointDepth(dGeomID box, dReal x, dReal y, dReal z) 
- @brief Return the depth of a point in a box. 
- dGeomBoxSetLengthsvoid dGeomBoxSetLengths(dGeomID box, dReal lx, dReal ly, dReal lz) 
- @brief Set the side lengths of the given box. 
- dGeomCapsuleGetParamsvoid 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. 
- dGeomCapsulePointDepthdReal 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. 
- dGeomCapsuleSetParamsvoid 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. 
- dGeomClearOffsetvoid dGeomClearOffset(dGeomID geom) 
- @brief Clear any offset from the geom. 
- dGeomCopyOffsetPositionvoid dGeomCopyOffsetPosition(dGeomID geom, dVector3 pos) 
- @brief Copy the offset position vector of a geom. 
- dGeomCopyOffsetRotationvoid dGeomCopyOffsetRotation(dGeomID geom, dMatrix3 R) 
- @brief Copy the offset rotation matrix of a geom. 
- dGeomCopyPositionvoid 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 
- dGeomCopyRotationvoid dGeomCopyRotation(dGeomID geom, dMatrix3 R) 
- @brief Get the rotation matrix of a placeable geom. 
- dGeomCylinderGetParamsvoid 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. 
- dGeomCylinderSetParamsvoid 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. 
- dGeomDestroyvoid dGeomDestroy(dGeomID geom) 
- @brief Destroy a geom, removing it from any space. 
- dGeomDisablevoid dGeomDisable(dGeomID geom) 
- dGeomEnablevoid dGeomEnable(dGeomID geom) 
- dGeomGetAABBvoid dGeomGetAABB(dGeomID geom, dReal[6] aabb) 
- @brief Return the axis-aligned bounding box. 
- dGeomGetBodydBodyID dGeomGetBody(dGeomID geom) 
- @brief Get the body associated with a placeable geom.
@param geom the geom to query.
@sa dGeomSetBody
@ingroup collide 
- dGeomGetCategoryBitsc_ulong dGeomGetCategoryBits(dGeomID ) 
- @brief Get the "category" bitfield for the given geom. 
- dGeomGetClassint dGeomGetClass(dGeomID geom) 
- @brief Given a geom, this returns its class. 
- dGeomGetClassDatavoid* dGeomGetClassData(dGeomID ) 
- Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name. 
- dGeomGetCollideBitsc_ulong dGeomGetCollideBits(dGeomID ) 
- @brief Get the "collide" bitfield for the given geom. 
- dGeomGetDatavoid* dGeomGetData(dGeomID geom) 
- @brief Get the user-defined data pointer stored in the geom. 
- dGeomGetOffsetPositionconst(dReal)* dGeomGetOffsetPosition(dGeomID geom) 
- @brief Get the offset position vector of a geom. 
- dGeomGetOffsetQuaternionvoid dGeomGetOffsetQuaternion(dGeomID geom, dQuaternion result) 
- @brief Get the offset rotation quaternion of a geom. 
- dGeomGetOffsetRotationconst(dReal)* dGeomGetOffsetRotation(dGeomID geom) 
- @brief Get the offset rotation matrix of a geom. 
- dGeomGetPosRelPointvoid 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. 
- dGeomGetPositionconst(dReal)* dGeomGetPosition(dGeomID geom) 
- @brief Get the position vector of a placeable geom. 
- dGeomGetQuaternionvoid dGeomGetQuaternion(dGeomID geom, dQuaternion result) 
- @brief Get the rotation quaternion of a placeable geom. 
- dGeomGetRelPointPosvoid dGeomGetRelPointPos(dGeomID geom, dReal px, dReal py, dReal pz, dVector3 result) 
- @brief Get world position of a relative point on geom. 
- dGeomGetRotationconst(dReal)* dGeomGetRotation(dGeomID geom) 
- @brief Get the rotation matrix of a placeable geom. 
- dGeomGetSpacedSpaceID 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 
- dGeomHeightfieldDataBuildBytevoid 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. 
- dGeomHeightfieldDataBuildCallbackvoid 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. 
- dGeomHeightfieldDataBuildDoublevoid 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. 
- dGeomHeightfieldDataBuildShortvoid 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. 
- dGeomHeightfieldDataBuildSinglevoid 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. 
- dGeomHeightfieldDataCreatedHeightfieldDataID dGeomHeightfieldDataCreate() 
- @brief Creates a new empty dHeightfieldDataID. 
- dGeomHeightfieldDataDestroyvoid dGeomHeightfieldDataDestroy(dHeightfieldDataID d) 
- @brief Destroys a dHeightfieldDataID. 
- dGeomHeightfieldDataSetBoundsvoid dGeomHeightfieldDataSetBounds(dHeightfieldDataID d, dReal minHeight, dReal maxHeight) 
- @brief Manually set the minimum and maximum height bounds. 
- dGeomHeightfieldGetHeightfieldDatadHeightfieldDataID dGeomHeightfieldGetHeightfieldData(dGeomID g) 
- @brief Gets the dHeightfieldDataID bound to a heightfield geom. 
- dGeomHeightfieldSetHeightfieldDatavoid dGeomHeightfieldSetHeightfieldData(dGeomID g, dHeightfieldDataID d) 
- @brief Assigns a dHeightfieldDataID to a heightfield geom. 
- dGeomIsEnabledint dGeomIsEnabled(dGeomID geom) 
- @brief Check to see if a geom is enabled. 
- dGeomIsOffsetint dGeomIsOffset(dGeomID geom) 
- @brief Check to see whether the geom has an offset. 
- dGeomIsSpaceint 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 
- dGeomLowLevelControlint dGeomLowLevelControl(dGeomID geom, int controlClass, int controlCode, void* dataValue, int* dataSize) 
- @brief Execute low level control operation for geometry. 
- dGeomPlaneGetParamsvoid 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. 
- dGeomPlanePointDepthdReal 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. 
- dGeomPlaneSetParamsvoid 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. 
- dGeomRayGetvoid 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. 
- dGeomRayGetClosestHitint 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. 
- dGeomRayGetLengthdReal 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. 
- dGeomRayGetParamsvoid 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. 
- dGeomRaySetvoid 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. 
- dGeomRaySetClosestHitvoid 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. 
- dGeomRaySetLengthvoid 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. 
- dGeomRaySetParamsvoid 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. 
- dGeomSetBodyvoid dGeomSetBody(dGeomID geom, dBodyID gbody) 
- @brief Set the body associated with a placeable geom. 
- dGeomSetCategoryBitsvoid dGeomSetCategoryBits(dGeomID geom, c_ulong bits) 
- @brief Set the "category" bitfield for the given geom. 
- dGeomSetCollideBitsvoid dGeomSetCollideBits(dGeomID geom, c_ulong bits) 
- @brief Set the "collide" bitfield for the given geom. 
- dGeomSetConvexvoid 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. 
- dGeomSetDatavoid dGeomSetData(dGeomID geom, void* data) 
- @brief Set the user-defined data pointer stored in the geom. 
- dGeomSetOffsetPositionvoid dGeomSetOffsetPosition(dGeomID geom, dReal x, dReal y, dReal z) 
- @brief Set the local offset position of a geom from its body. 
- dGeomSetOffsetQuaternionvoid dGeomSetOffsetQuaternion(dGeomID geom, dQuaternion Q) 
- @brief Set the local offset rotation of a geom from its body. 
- dGeomSetOffsetRotationvoid dGeomSetOffsetRotation(dGeomID geom, dMatrix3 R) 
- @brief Set the local offset rotation matrix of a geom from its body. 
- dGeomSetOffsetWorldPositionvoid dGeomSetOffsetWorldPosition(dGeomID geom, dReal x, dReal y, dReal z) 
- @brief Set the offset position of a geom from its body. 
- dGeomSetOffsetWorldQuaternionvoid dGeomSetOffsetWorldQuaternion(dGeomID geom, dQuaternion ) 
- @brief Set the offset rotation of a geom from its body. 
- dGeomSetOffsetWorldRotationvoid dGeomSetOffsetWorldRotation(dGeomID geom, dMatrix3 R) 
- @brief Set the offset rotation of a geom from its body. 
- dGeomSetPositionvoid dGeomSetPosition(dGeomID geom, dReal x, dReal y, dReal z) 
- @brief Set the position vector of a placeable geom. 
- dGeomSetQuaternionvoid dGeomSetQuaternion(dGeomID geom, dQuaternion Q) 
- @brief Set the rotation of a placeable geom. 
- dGeomSetRotationvoid dGeomSetRotation(dGeomID geom, dMatrix3 R) 
- @brief Set the rotation matrix of a placeable geom. 
- dGeomSphereGetRadiusdReal dGeomSphereGetRadius(dGeomID sphere) 
- @brief Retrieves the radius of a sphere geom. 
- dGeomSpherePointDepthdReal dGeomSpherePointDepth(dGeomID sphere, dReal x, dReal y, dReal z) 
- @brief Calculate the depth of the a given point within a sphere. 
- dGeomSphereSetRadiusvoid dGeomSphereSetRadius(dGeomID sphere, dReal radius) 
- @brief Set the radius of a sphere geom. 
- dGeomTransformGetCleanupint 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. 
- dGeomTransformGetGeomdGeomID 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. 
- dGeomTransformGetInfoint 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. 
- dGeomTransformSetCleanupvoid 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. 
- dGeomTransformSetGeomvoid 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. 
- dGeomTransformSetInfovoid 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. 
- dGeomVectorFromWorldvoid dGeomVectorFromWorld(dGeomID geom, dReal px, dReal py, dReal pz, dVector3 result) 
- @brief Convert from world to geom-local coordinates. 
- dGeomVectorToWorldvoid dGeomVectorToWorld(dGeomID geom, dReal px, dReal py, dReal pz, dVector3 result) 
- @brief Convert from geom-local to world coordinates. 
- dInfiniteAABBvoid 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. 
- dSetColliderOverridevoid dSetColliderOverride(int i, int j, dColliderFn* fn) 
- @brief Sets a custom collider function for two geom classes. 
- dSpaceCollidevoid 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. 
- dSpaceCollide2void 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. * *