Skip to content

Commit a872710

Browse files
author
Luis Ibanez
committed
STYLE: Documenting the behavior of the IsInside() method when the argument
region has zero size in any of its dimensions.
1 parent e0742b0 commit a872710

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Code/Common/itkImageRegion.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,10 @@ class ITK_EXPORT ImageRegion: public Region
224224
return true;
225225
}
226226

227-
/** Test if a region (the argument) is completely inside of this region */
227+
/** Test if a region (the argument) is completely inside of this region. If
228+
* the region that is passed as argument to this method, has a size of value
229+
* zero, then it will not be considered to be inside of the current region,
230+
* even its starting index is inside. */
228231
bool
229232
IsInside(const Self &region) const
230233
{

0 commit comments

Comments
 (0)