isTrue static method

bool isTrue(
  1. int actualDimensionValue
)

Tests if the dimension value matches TRUE (i.e. has value 0, 1, 2 or TRUE).

@param actualDimensionValue a number that can be stored in the IntersectionMatrix . Possible values are {TRUE, FALSE, DONTCARE, 0, 1, 2}. @return true if the dimension value matches TRUE

Implementation

static bool isTrue(int actualDimensionValue) {
  if (actualDimensionValue >= 0 || actualDimensionValue == Dimension.TRUE) {
    return true;
  }
  return false;
}