getCoord method

double getCoord(
  1. int dim, {
  2. Vector3? direction,
})

Implementation

double getCoord(int dim, {Vector3? direction}) {
  direction ??= ORIGIN;

  return getExtremumAlongDim(
    dim: dim,
    key: direction.getComponent(dim).toInt(),
  );
}