Position

Indicates a position with absolutes and/or relatives coordinates.

  1. struct PositionImpl(V)
  2. alias Position = PositionImpl!EntityPosition
    alias Position = PositionImpl!EntityPosition

Examples

auto pos = Position(Position.Point.fromString("~"), Position.Point.fromString("1"), Position.Point.fromString("~10"));
auto res = pos.from(BlockPosition(1, 10, 100));
assert(res == BlockPosition(1, 1, 110));

Meta