MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / to_string

Method to_string

src/collision/HeightField.cpp:412–428  ·  view source on GitHub ↗

Return the string representation of the shape

Source from the content-addressed store, hash-verified

410
411// Return the string representation of the shape
412std::string HeightField::to_string() const {
413
414 std::stringstream ss;
415
416 ss << "HeightFiel{" << std::endl;
417
418 ss << "nbColumns=" << mNbColumns << std::endl;
419 ss << ", nbRows=" << mNbRows << std::endl;
420 ss << ", width=" << mWidth << std::endl;
421 ss << ", length=" << mLength << std::endl;
422 ss << ", minHeight=" << mMinHeight << std::endl;
423 ss << ", maxHeight=" << mMaxHeight << std::endl;
424 ss << ", integerHeightScale=" << mIntegerHeightScale << std::endl;
425 ss << "}";
426
427 return ss.str();
428}

Callers 15

PhysicsWorldMethod · 0.45
createJointMethod · 0.45
setGravityMethod · 0.45
setMaterialMethod · 0.45
addColliderMethod · 0.45
setTransformMethod · 0.45
setLocalInertiaTensorMethod · 0.45
setLocalCenterOfMassMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected