Skip to content

Commit e680252

Browse files
committed
Remove dead ext2dBox::matchCoords method.
Signed-off-by: Christopher D. Leary <[email protected]>
1 parent 8df2de7 commit e680252

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/rcx/include/rcx/ext2dBox.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ class ext2dBox // assume cross-section on the z-direction
5454
bool dir);
5555

5656
void rotate();
57-
bool matchCoords(int* ll, int* ur) const;
5857
void printGeoms3D(FILE* fp,
5958
double h,
6059
double t,

src/rcx/src/ext2dBox.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ ext2dBox::ext2dBox(std::array<int, 2> ll,
4545
: _ll(ll), _ur(ur), _met(met), _id(id), _map(map), _dir(dir)
4646
{
4747
}
48-
bool ext2dBox::matchCoords(int* ll, int* ur) const
49-
{
50-
if ((ur[0] < _ll[0]) || (ll[0] > _ur[0]) || (ur[1] < _ll[1])
51-
|| (ll[1] > _ur[1]))
52-
return false;
53-
54-
return true;
55-
}
5648

5749
void ext2dBox::rotate()
5850
{

0 commit comments

Comments
 (0)