mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-19 11:21:39 +08:00
add const
This commit is contained in:

committed by
AleksandrPanov

parent
d1fe61a467
commit
39dabc1d48
@@ -125,8 +125,8 @@ public:
|
|||||||
const Ptr<Dictionary> &dictionary, int firstMarker = 0);
|
const Ptr<Dictionary> &dictionary, int firstMarker = 0);
|
||||||
|
|
||||||
CV_WRAP Size getGridSize() const;
|
CV_WRAP Size getGridSize() const;
|
||||||
CV_WRAP float getMarkerLength();
|
CV_WRAP float getMarkerLength() const;
|
||||||
CV_WRAP float getMarkerSeparation();
|
CV_WRAP float getMarkerSeparation() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
struct GridImpl;
|
struct GridImpl;
|
||||||
|
@@ -194,11 +194,11 @@ Size GridBoard::getGridSize() const {
|
|||||||
return Size(gridImpl->sizeX, gridImpl->sizeY);
|
return Size(gridImpl->sizeX, gridImpl->sizeY);
|
||||||
}
|
}
|
||||||
|
|
||||||
float GridBoard::getMarkerLength() {
|
float GridBoard::getMarkerLength() const {
|
||||||
return gridImpl->markerLength;
|
return gridImpl->markerLength;
|
||||||
}
|
}
|
||||||
|
|
||||||
float GridBoard::getMarkerSeparation() {
|
float GridBoard::getMarkerSeparation() const {
|
||||||
return gridImpl->markerSeparation;
|
return gridImpl->markerSeparation;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user