Function AStar.arePointsConnected

Returns whether the two given points are directly connected by a segment. If bidirectional is false, returns whether movement from id to to_id is possible through this segment.

bool arePointsConnected (
  const(long) id,
  const(long) to_id,
  const(bool) bidirectional = true
) nothrow @nogc const;