Return the string representation of the shape
| 410 | |
| 411 | // Return the string representation of the shape |
| 412 | std::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 | } |
no outgoing calls
no test coverage detected