1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 17:24:28 +08:00

add const

This commit is contained in:
Aleksandr Panov
2022-07-08 02:16:12 +03:00
committed by AleksandrPanov
parent d1fe61a467
commit 39dabc1d48
2 changed files with 4 additions and 4 deletions

View File

@@ -125,8 +125,8 @@ public:
const Ptr<Dictionary> &dictionary, int firstMarker = 0);
CV_WRAP Size getGridSize() const;
CV_WRAP float getMarkerLength();
CV_WRAP float getMarkerSeparation();
CV_WRAP float getMarkerLength() const;
CV_WRAP float getMarkerSeparation() const;
protected:
struct GridImpl;

View File

@@ -194,11 +194,11 @@ Size GridBoard::getGridSize() const {
return Size(gridImpl->sizeX, gridImpl->sizeY);
}
float GridBoard::getMarkerLength() {
float GridBoard::getMarkerLength() const {
return gridImpl->markerLength;
}
float GridBoard::getMarkerSeparation() {
float GridBoard::getMarkerSeparation() const {
return gridImpl->markerSeparation;
}