@johnmorrisdotca/kyogijo-stadiums 0.5.0 → 0.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -0
- package/NOTICE.md +179 -3
- package/README.md +43 -11
- package/dist/arenas-entry.d.ts +4 -0
- package/dist/arenas-entry.js +3 -0
- package/dist/arenas.d.ts +125 -0
- package/dist/arenas.data.d.ts +2 -0
- package/dist/arenas.data.js +3763 -0
- package/dist/arenas.js +72 -0
- package/dist/atlas-entry.d.ts +3 -1
- package/dist/atlas-entry.js +3 -2
- package/dist/atlas.d.ts +37 -19
- package/dist/atlas.js +92 -7
- package/dist/background.js +2 -1
- package/dist/budo/describe.d.ts +13 -0
- package/dist/budo/describe.js +120 -0
- package/dist/budo/dojo.api.d.ts +64 -0
- package/dist/budo/dojo.api.js +46 -0
- package/dist/budo/dojo.d.ts +72 -0
- package/dist/budo/dojo.js +300 -0
- package/dist/budo/judo.d.ts +61 -0
- package/dist/budo/judo.js +109 -0
- package/dist/budo/karate.d.ts +29 -0
- package/dist/budo/karate.js +80 -0
- package/dist/budo/kendo.d.ts +18 -0
- package/dist/budo/kendo.js +44 -0
- package/dist/budo/kimarite.d.ts +19 -0
- package/dist/budo/kimarite.js +33 -0
- package/dist/budo/kit.d.ts +16 -0
- package/dist/budo/kit.js +24 -0
- package/dist/budo/kyudo.d.ts +28 -0
- package/dist/budo/kyudo.js +66 -0
- package/dist/budo/looks.d.ts +28 -0
- package/dist/budo/looks.js +58 -0
- package/dist/budo/parts.d.ts +32 -0
- package/dist/budo/parts.js +10 -0
- package/dist/budo/plan.d.ts +64 -0
- package/dist/budo/plan.js +139 -0
- package/dist/budo/room.d.ts +133 -0
- package/dist/budo/room.js +111 -0
- package/dist/budo/sumo.d.ts +31 -0
- package/dist/budo/sumo.js +71 -0
- package/dist/budo/tatami.d.ts +55 -0
- package/dist/budo/tatami.js +156 -0
- package/dist/budo/types.d.ts +192 -0
- package/dist/budo/types.js +2 -0
- package/dist/budo-entry.d.ts +22 -0
- package/dist/budo-entry.js +13 -0
- package/dist/budo.board.d.ts +28 -0
- package/dist/budo.board.js +81 -0
- package/dist/budo.score.d.ts +18 -0
- package/dist/budo.score.js +52 -0
- package/dist/budo.style.d.ts +6 -0
- package/dist/budo.style.js +67 -0
- package/dist/charts.baseball.js +1 -1
- package/dist/charts.js +4 -4
- package/dist/charts.soccer.js +3 -3
- package/dist/charts.types.d.ts +10 -0
- package/dist/colour.d.ts +4 -4
- package/dist/colour.js +4 -4
- package/dist/crowd.d.ts +11 -1
- package/dist/crowd.draw.js +15 -9
- package/dist/crowd.js +17 -2
- package/dist/draw.js +156 -31
- package/dist/element-entry.d.ts +2 -0
- package/dist/element-entry.js +1 -0
- package/dist/element.d.ts +2 -2
- package/dist/element.js +2 -1
- package/dist/emblems-source.d.ts +50 -0
- package/dist/emblems-source.js +56 -0
- package/dist/eras.d.ts +3 -1
- package/dist/eras.js +8 -3
- package/dist/features.js +73 -0
- package/dist/field.data.d.ts +16 -0
- package/dist/field.data.js +50 -0
- package/dist/fields.kit.d.ts +2 -2
- package/dist/fields.types.d.ts +9 -3
- package/dist/formations.js +18 -7
- package/dist/formations.sports.d.ts +8 -0
- package/dist/formations.sports.js +251 -0
- package/dist/frames.providers.js +9 -1
- package/dist/halls.d.ts +65 -0
- package/dist/halls.js +122 -0
- package/dist/heat.js +17 -10
- package/dist/heat.zones.d.ts +4 -2
- package/dist/heat.zones.js +55 -3
- package/dist/homeside.js +7 -0
- package/dist/index.d.ts +15 -3
- package/dist/index.js +8 -1
- package/dist/layers-entry.d.ts +2 -1
- package/dist/layers-entry.js +1 -0
- package/dist/layers.d.ts +2 -1
- package/dist/layers.env.d.ts +10 -1
- package/dist/layers.env.js +33 -3
- package/dist/layers.js +30 -11
- package/dist/layers.types.d.ts +9 -2
- package/dist/leagues/budo.d.ts +196 -0
- package/dist/leagues/budo.js +105 -0
- package/dist/leagues/hockey.js +41 -19
- package/dist/leagues/sources.js +21 -0
- package/dist/leagues/types.d.ts +1 -1
- package/dist/leagues.d.ts +4 -1
- package/dist/leagues.js +102 -2
- package/dist/lineup.codes.d.ts +23 -0
- package/dist/lineup.codes.js +122 -0
- package/dist/logo.d.ts +25 -0
- package/dist/logo.js +47 -0
- package/dist/outline.d.ts +1 -1
- package/dist/outline.js +17 -3
- package/dist/pageant.js +7 -3
- package/dist/pointer-entry.d.ts +2 -0
- package/dist/pointer-entry.js +2 -0
- package/dist/pointer.d.ts +113 -0
- package/dist/pointer.js +151 -0
- package/dist/pool.d.ts +7 -7
- package/dist/pool.figures.d.ts +57 -55
- package/dist/pool.figures.js +59 -55
- package/dist/pool.js +7 -7
- package/dist/pool.labels.js +2 -1
- package/dist/ranges.names.js +6 -0
- package/dist/road.draw.js +3 -2
- package/dist/road.js +2 -1
- package/dist/road.types.d.ts +3 -0
- package/dist/rules.d.ts +138 -0
- package/dist/rules.js +511 -0
- package/dist/rules.types.d.ts +4 -0
- package/dist/rules.types.js +64 -0
- package/dist/score.d.ts +3 -0
- package/dist/score.js +23 -1
- package/dist/situation.d.ts +135 -0
- package/dist/situation.draw.d.ts +34 -0
- package/dist/situation.draw.js +202 -0
- package/dist/situation.js +337 -0
- package/dist/situation.style.d.ts +2 -0
- package/dist/situation.style.js +45 -0
- package/dist/situation.types.d.ts +77 -0
- package/dist/situation.types.js +3 -0
- package/dist/situation.widgets.d.ts +39 -0
- package/dist/situation.widgets.js +129 -0
- package/dist/strings.d.ts +175 -1
- package/dist/strings.js +364 -20
- package/dist/style.js +9 -2
- package/dist/surfaces/artistic.d.ts +3 -3
- package/dist/surfaces/artistic.js +3 -3
- package/dist/surfaces/baseball.js +2 -0
- package/dist/surfaces/basketball.js +1 -1
- package/dist/surfaces/budo.d.ts +6 -0
- package/dist/surfaces/budo.js +104 -0
- package/dist/surfaces/dive.d.ts +3 -3
- package/dist/surfaces/dive.js +3 -3
- package/dist/surfaces/football.js +7 -0
- package/dist/surfaces/hockey.js +3 -2
- package/dist/surfaces/polo.d.ts +4 -4
- package/dist/surfaces/polo.js +5 -5
- package/dist/surfaces/pool.d.ts +1 -1
- package/dist/surfaces/pool.js +3 -3
- package/dist/surfaces/surface.d.ts +32 -0
- package/dist/surfaces/venue.d.ts +1 -1
- package/dist/surfaces/venue.js +1 -1
- package/dist/target-entry.d.ts +2 -0
- package/dist/target-entry.js +2 -0
- package/dist/target.d.ts +200 -0
- package/dist/target.js +525 -0
- package/dist/team.common.d.ts +1 -1
- package/dist/team.common.js +3 -3
- package/dist/team.formation.d.ts +3 -1
- package/dist/team.formation.js +3 -3
- package/dist/team.layers.d.ts +2 -2
- package/dist/team.layers.js +4 -1
- package/dist/team.lineup.d.ts +27 -0
- package/dist/team.lineup.js +207 -0
- package/dist/team.network.js +6 -5
- package/dist/team.shape.js +5 -5
- package/dist/team.types.d.ts +40 -1
- package/dist/tenants.data.js +848 -0
- package/dist/turn-entry.d.ts +2 -2
- package/dist/turn-entry.js +1 -1
- package/dist/turn.camera.d.ts +16 -3
- package/dist/turn.camera.js +53 -7
- package/dist/turn.dom.js +11 -9
- package/dist/turn.kit.d.ts +2 -2
- package/dist/turn.style.js +4 -3
- package/dist/types.d.ts +43 -7
- package/dist/units.js +7 -0
- package/dist/uprights.budo.d.ts +17 -0
- package/dist/uprights.budo.js +87 -0
- package/dist/uprights.js +10 -1
- package/dist/uprights.pools.js +4 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/zones-entry.d.ts +2 -0
- package/dist/zones-entry.js +2 -0
- package/package.json +39 -3
package/dist/pool.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export interface SwimPlan extends Common {
|
|
|
35
35
|
/** The length between the touch panels and the width across the lanes and the spaces, in metres. */
|
|
36
36
|
length: number;
|
|
37
37
|
width: number;
|
|
38
|
-
/** The lanes from the top of the drawing down: lane 1 (or 0) is at the bottom, on the right when one faces the course from the start (
|
|
38
|
+
/** The lanes from the top of the drawing down: lane 1 (or 0) is at the bottom, on the right when one faces the course from the start (Part Two 15.8.6). */
|
|
39
39
|
lanes: LanePlan[];
|
|
40
40
|
/** The metres of space outside the first and the last lane. */
|
|
41
41
|
space: number;
|
|
@@ -99,7 +99,7 @@ export declare const poolSize: (plan: PoolPlan) => {
|
|
|
99
99
|
};
|
|
100
100
|
/** The look the options ask for. @throws Error for a look or a deck the pool does not have. */
|
|
101
101
|
export declare function commonOf(style: PoolStyle): Common;
|
|
102
|
-
/** The colour of rope `i` of `n + 1`: green outside, yellow round the middle, blue between (
|
|
102
|
+
/** The colour of rope `i` of `n + 1`: green outside, yellow round the middle, blue between (Part Two 15.7.6.1 and 15.7.6.3 for eight lanes; 15.7.6.2 for ten). */
|
|
103
103
|
export declare function ropeColour(i: number, lanes: number): RopeColour;
|
|
104
104
|
/** The width of a swimming pool of this length and this many lanes, the space outside the first and the last lane, and the width of those two lanes. */
|
|
105
105
|
export declare function laneWidths(course: "long" | "short", lanes: number, temporary: boolean): {
|
|
@@ -114,20 +114,20 @@ export declare function lanesOf(width: number, lanes: number, space: number): {
|
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* The swimming pool the options ask for: `pool.course` (`long`, 50 m, or `short`, 25 m) and `pool.lanes` (8 by default). The width is the rules' for that many lanes: 25 m for eight in a 50 m
|
|
117
|
-
* pool (
|
|
117
|
+
* pool (Part Two 15.6.1), 25 m for ten with lanes 0 and 9 of 2.4 m (Part Two 15.6.2.1), or 26 m for a temporary pool (Part Two 15.6.2.2), and lanes of 2.5 m with spaces of 0.5 m for the other pools.
|
|
118
118
|
* @throws RangeError for a lane count that is not 1 to 10, @throws Error for an unknown look.
|
|
119
119
|
*/
|
|
120
120
|
export declare function swimPlan(o: Pick<SurfaceOptions, "pool" | "sport">, defaults?: Partial<Pick<VenuePool, "course" | "kind" | "lanes">>): SwimPlan;
|
|
121
|
-
/** The water polo field the options ask for: 25 by 20 m (
|
|
121
|
+
/** The water polo field the options ask for: 25 by 20 m (Part Six 20.2.2). */
|
|
122
122
|
export declare function poloPlan(o: Pick<SurfaceOptions, "pool">): PoloPlan;
|
|
123
123
|
/**
|
|
124
124
|
* The diving well the options ask for. The springboards (1 m and 3 m, `pool.boards` of each, 2 by default so that a synchronised pair stands side by side) stand along the left wall, 3 m boards outside, each the preferred
|
|
125
|
-
* distance (Appendix 2, B and C) from the wall and from the next; the platforms (5, 7.5 and 10 m by default) stand towards the right wall, the tallest the distance B from it and each lower one the distance C of the
|
|
125
|
+
* distance (Part Four, Appendix 2, B and C) from the wall and from the next; the platforms (5, 7.5 and 10 m by default) stand towards the right wall, the tallest the distance B from it and each lower one the distance C of the
|
|
126
126
|
* platform above it from that one. The well is 25 m across, wider if the boards need more room than that.
|
|
127
127
|
* @throws RangeError for a platform the rules do not have or a count of boards that is not 1 to 4.
|
|
128
128
|
*/
|
|
129
129
|
export declare function divePlan(o: Pick<SurfaceOptions, "pool">): DivePlan;
|
|
130
|
-
/** The artistic swimming area the options ask for: 30 by 20 m for the Olympic Games and the World Championships, or the least, 25 by 15 m with a 12 by 12 m deep part (
|
|
130
|
+
/** The artistic swimming area the options ask for: 30 by 20 m for the Olympic Games and the World Championships, or the least, 25 by 15 m with a 12 by 12 m deep part (Part Seven 12.2.2, 12.1.1). */
|
|
131
131
|
export declare function artisticPlan(o: Pick<SurfaceOptions, "pool">): ArtisticPlan;
|
|
132
132
|
/** The pool the options ask for, of the sport's kind. */
|
|
133
133
|
export declare function poolPlan(o: Pick<SurfaceOptions, "sport" | "pool">): PoolPlan;
|
|
@@ -165,7 +165,7 @@ export interface VenueLayout {
|
|
|
165
165
|
}
|
|
166
166
|
/**
|
|
167
167
|
* The pools of a hall (`pool.venue`) laid out to scale. A pool with an `x` and a `y` stands there; the others are set in rows, left to right, each `apart` metres (10, the distance the rules prefer between
|
|
168
|
-
* a swimming pool and a diving well,
|
|
168
|
+
* a swimming pool and a diving well, Part Two 15.15.1; never less than the 8 they require) from the one before, and a new row when a row would be longer than 125 m.
|
|
169
169
|
* @throws RangeError when two pools are nearer each other than `apart`, for the pools given places.
|
|
170
170
|
*/
|
|
171
171
|
export declare function venueLayout(style: PoolStyle): VenueLayout | undefined;
|
package/dist/pool.figures.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The swimming pool. Lengths are metres; widths run across the course and depths down. `lane` is the width of a lane and the distance between the centres of two (
|
|
3
|
-
*
|
|
4
|
-
* with spaces of 0.5 m (a 26 m wide temporary pool).
|
|
2
|
+
* The swimming pool (Part Two, Article 15). Lengths are metres; widths run across the course and depths down. `lane` is the width of a lane and the distance between the centres of two (Part Two 15.13.2,
|
|
3
|
+
* 15.6.1); a 10-lane pool for the World Championships has lanes 0 and 9 2.4 m wide with spaces of 0.1 m outside them in a permanent pool (Part Two 15.6.2.1), or all lanes 2.5 m
|
|
4
|
+
* with spaces of 0.5 m (a 26 m wide temporary pool, Part Two 15.6.2.2).
|
|
5
5
|
*/
|
|
6
6
|
export declare const SWIMMING: {
|
|
7
|
-
/** The lengths between the touch panels: 50.000 m and 25.000 m (
|
|
7
|
+
/** The lengths between the touch panels: 50.000 m and 25.000 m (Part Two 15.1.1.1 and 15.1.2.1, was FR 2.1.1 and FR 2.1.2; June 2025: CR 16.1.1.1 and 16.1.1.2). */
|
|
8
8
|
readonly longCourse: 50;
|
|
9
9
|
readonly shortCourse: 25;
|
|
10
|
-
/** A lane is at least 2.5 m wide (
|
|
10
|
+
/** A lane is at least 2.5 m wide (Part Two 15.6.3, was FR 2.5; June 2025: CR 16.1.6); the first and the last may be 2.4 m wide, in the World Championships' permanent pool (Part Two 15.6.2.1) and at all other competitions (15.6.3). */
|
|
11
11
|
readonly lane: 2.5;
|
|
12
12
|
readonly edgeLane: 2.4;
|
|
13
|
-
/** The spaces outside the first and the last lane: Olympic Games, 2.5 m each side (
|
|
13
|
+
/** The spaces outside the first and the last lane: Olympic Games, 2.5 m each side (Part Two 15.6.1); World Championships' permanent pool 0.1 m (15.6.2.1), temporary pool 0.5 m (15.6.2.2). */
|
|
14
14
|
readonly spaceOlympic: 2.5;
|
|
15
15
|
readonly spacePermanentWorld: 0.1;
|
|
16
16
|
readonly spaceTemporaryWorld: 0.5;
|
|
17
|
-
/** The space of a pool of the minimum standard: the 25 by 21 m, 8-lane pool of
|
|
17
|
+
/** The space of a pool of the minimum standard: the 25 by 21 m, 8-lane pool of Appendix 6 of Part Two (Article 17.6) is 8 lanes of 2.5 m and two spaces, which makes the spaces 0.5 m (arithmetic, not a stated figure). */
|
|
18
18
|
readonly spaceMinimum: 0.5;
|
|
19
|
-
/** Lane ropes: floats end to end, 0.
|
|
19
|
+
/** Lane ropes: floats end to end, "between 0.1 metres (at maximum) and 0.15 metres (at minimum)" across (Part Two 15.7.4: unverified, the sentence contradicts itself; June 2025 edition value: 0.10 to 0.15 m, 0.15 m at the Olympic Games and the World Championships, CR 16.1.7.1 and 16.2.7.1; 0.15 m is drawn). */
|
|
20
20
|
readonly floatDiameter: 0.15;
|
|
21
|
-
/** The floats within 5.0 m of each end wall are red (
|
|
21
|
+
/** The floats within 5.0 m of each end wall are red (Part Two 15.7.7); those at 15 m from each end wall, and at 25 m in a 50 m pool, are distinct in colour (Part Two 15.7.9 and 15.7.10). */
|
|
22
22
|
readonly redEnds: 5;
|
|
23
23
|
readonly markAt15: 15;
|
|
24
24
|
readonly markAt25: 25;
|
|
25
25
|
/** How long a run of floats of a distinct colour is drawn: the rules do not say, a run of four floats is ours (drawn). */
|
|
26
26
|
readonly markRun: 0.6;
|
|
27
|
-
/** Lane markings on the floor: 0.2 to 0.3 m wide, 46.0 m long in a 50 m pool and 21.0 m in a 25 m one, ending 2.0 m from the end wall in a cross line 1.0 m long (
|
|
27
|
+
/** Lane markings on the floor: 0.2 to 0.3 m wide, 46.0 m long in a 50 m pool and 21.0 m in a 25 m one, ending 2.0 m from the end wall in a cross line 1.0 m long (Part Two 15.13.1 and 15.13.2, was FR 2.14; June 2025: CR 16.2.15). */
|
|
28
28
|
readonly laneLine: {
|
|
29
29
|
readonly width: 0.25;
|
|
30
30
|
readonly longLength: 46;
|
|
@@ -32,7 +32,7 @@ export declare const SWIMMING: {
|
|
|
32
32
|
readonly endGap: 2;
|
|
33
33
|
readonly cross: 1;
|
|
34
34
|
};
|
|
35
|
-
/** Target lines on the end walls: the width of the lane line, down the wall to 3 m at most, with a cross line 0.5 m long 0.3 m below the water (
|
|
35
|
+
/** Target lines on the end walls: the width of the lane line, down the wall to 3 m at most, with a cross line 0.5 m long 0.3 m below the water (Part Two 15.13.3); cross lines 0.5 m long at 15 m from each end (Part Two 15.13.4, pools built from 1 January 2006). */
|
|
36
36
|
readonly target: {
|
|
37
37
|
readonly width: 0.25;
|
|
38
38
|
readonly maxDepth: 3;
|
|
@@ -40,15 +40,15 @@ export declare const SWIMMING: {
|
|
|
40
40
|
readonly crossBelowSurface: 0.3;
|
|
41
41
|
readonly crossAt15: 0.5;
|
|
42
42
|
};
|
|
43
|
-
/** The starting platform: at least 0.5 m by 0.
|
|
43
|
+
/** The starting platform: at least 0.5 m by 0.5 m, 0.5 to 0.75 m above the water (Part Two 15.8.1). The June 2025 edition asked 0.5 by 0.6 m at the Olympic Games and the World Championships (CR 16.2.8); February 2026 asks at least 0.5 by 0.5 m everywhere, which is what is drawn. */
|
|
44
44
|
readonly block: {
|
|
45
45
|
readonly width: 0.5;
|
|
46
|
-
readonly length: 0.
|
|
46
|
+
readonly length: 0.5;
|
|
47
47
|
readonly heightLeast: 0.5;
|
|
48
48
|
readonly heightMost: 0.75;
|
|
49
49
|
readonly height: 0.7;
|
|
50
50
|
};
|
|
51
|
-
/** Touch panels: 2.4 m wide and 0.9 m high, 0.3 m above the water and 0.6 m below it, with a 0.025 m black border (CR 16.3.4). */
|
|
51
|
+
/** Touch panels: 2.4 m wide and 0.9 m high, 0.3 m above the water and 0.6 m below it, with a 0.025 m black border (Part Two 15.16.4.1, 15.16.4.2 and 15.16.4.5; June 2025: CR 16.3.4). */
|
|
52
52
|
readonly pad: {
|
|
53
53
|
readonly width: 2.4;
|
|
54
54
|
readonly height: 0.9;
|
|
@@ -56,19 +56,19 @@ export declare const SWIMMING: {
|
|
|
56
56
|
readonly below: 0.6;
|
|
57
57
|
readonly border: 0.025;
|
|
58
58
|
};
|
|
59
|
-
/** Backstroke turn flags: flagged ropes 1.8 m above the water on standards 5.0 m from each end wall; a flag is a triangle of 0.40 m sides, 0.25 m apart (
|
|
59
|
+
/** Backstroke turn flags: flagged ropes 1.8 m above the water on standards 5.0 m from each end wall; a flag is a triangle of 0.40 m sides, 0.25 m apart (Part Two 15.9.1 and 15.9.2, was FR 2.9; June 2025: CR 16.1.10). */
|
|
60
60
|
readonly flags: {
|
|
61
61
|
readonly at: 5;
|
|
62
62
|
readonly height: 1.8;
|
|
63
63
|
readonly side: 0.4;
|
|
64
64
|
readonly apart: 0.25;
|
|
65
65
|
};
|
|
66
|
-
/** The false start rope: not less than 1.2 m above the water, on standards 15.0 m in front of the starting end (CR 16.1.12,
|
|
66
|
+
/** The false start rope: not less than 1.2 m above the water, on standards 15.0 m in front of the starting end (was FR 2.11; June 2025 edition value, CR 16.1.12). Unverified: the February 2026 text has no clause for it (Part Two Article 15 has false start detection equipment, 15.16.3.4, and no rope). */
|
|
67
67
|
readonly falseStart: {
|
|
68
68
|
readonly at: 15;
|
|
69
69
|
readonly height: 1.2;
|
|
70
70
|
};
|
|
71
|
-
/** Depth: 1.35 m from 1.0 to at least 6.0 m from an end wall that has starting platforms, 1.0 m elsewhere (CR 16.1.4); the Olympic Games and the World Championships 2.5 m, the 25 m World Championships 2.0 m (2.5 m preferred
|
|
71
|
+
/** Depth: 1.35 m from 1.0 to at least 6.0 m from an end wall that has starting platforms, 1.0 m elsewhere (Part Two 15.4.3 and 15.8.4; June 2025: CR 16.1.4); the Olympic Games and the World Championships 2.5 m (15.4.1), the 25 m World Championships 2.0 m (2.5 m preferred, 15.4.2); a pool shared with artistic swimming 3 m is the June 2025 edition value (CR 16.2.4) and unverified: Part Two Article 15.4 no longer says it (Part Seven 12.1.1 and 12.2.2 ask 3.0 m for the artistic swimming area). */
|
|
72
72
|
readonly depth: {
|
|
73
73
|
readonly least: 1;
|
|
74
74
|
readonly atBlocks: 1.35;
|
|
@@ -78,77 +78,78 @@ export declare const SWIMMING: {
|
|
|
78
78
|
readonly shortWorld: 2;
|
|
79
79
|
readonly shared: 3;
|
|
80
80
|
};
|
|
81
|
-
/** The wall: a slip-resistant surface 0.8 m below the water (
|
|
81
|
+
/** The wall: a slip-resistant surface 0.8 m below the water (Part Two 15.5.1); a rest ledge not less than 1.2 m below the surface, 0.1 to 0.15 m wide (Part Two 15.5.2). */
|
|
82
82
|
readonly wall: {
|
|
83
83
|
readonly slipResistant: 0.8;
|
|
84
84
|
readonly ledgeDepth: 1.2;
|
|
85
85
|
};
|
|
86
|
-
/** The distance between a swimming pool and a diving well in the same area: 8 m, 10 m preferred, in pools built from 1 January 2014 (CR 16.2.17). */
|
|
86
|
+
/** The distance between a swimming pool and a diving well in the same area: 8 m, 10 m preferred, in pools built from 1 January 2014 (Part Two 15.15.1; June 2025: CR 16.2.17). */
|
|
87
87
|
readonly poolsApart: 8;
|
|
88
88
|
readonly poolsApartPreferred: 10;
|
|
89
89
|
/** The deck beyond the pool, our figure: the rules do not set one (drawn). */
|
|
90
90
|
readonly deck: 2.5;
|
|
91
91
|
};
|
|
92
|
-
/** The widths of the pools the rules draw, as
|
|
92
|
+
/** The widths of the pools the rules draw, as Appendices 1 to 9 of Part Two (Article 17) name them (the pool's width by its length and lanes): 50 by 25 (8 or 10 lanes), 50 by 26 (10 lanes, temporary), 25 by 21 (8), 25 by 25 and 25 by 26 (10). */
|
|
93
93
|
export declare const SWIMMING_WIDTHS: {
|
|
94
94
|
readonly permanent: 25;
|
|
95
95
|
readonly temporary: 26;
|
|
96
96
|
readonly shortEight: 21;
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
|
-
* The water polo field of play, in metres (
|
|
100
|
-
* the water at least 1.80 m
|
|
99
|
+
* The water polo field of play, in metres (Part Six, Articles 20 and 21). The field is 25.00 by 20.00 m, the distance between the two goal lines and between the two side lines (Part Six 20.2.2.1 and 20.2.2.2);
|
|
100
|
+
* the water at least 2.00 m deep everywhere (Part Six 20.2.4 and 20.8.2.1). The June 2025 edition asked 1.80 m, and 2.00 m at the Olympic Games and the World Championships (CR 18.1.3 and 18.2.2).
|
|
101
101
|
*/
|
|
102
102
|
export declare const WATER_POLO: {
|
|
103
103
|
readonly length: 25;
|
|
104
104
|
readonly width: 20;
|
|
105
|
-
readonly depth:
|
|
106
|
-
|
|
107
|
-
/** The marks on both sides of the field: white for the goal line and the half distance line, red 2 m from each goal line, yellow 6 m from it, and a red mark 5 m from it for the penalty throw (Appendix 4, 20.4.1.5). */
|
|
105
|
+
readonly depth: 2;
|
|
106
|
+
/** The marks on both sides of the field: white for the goal line and the half distance line, red 2 m from each goal line, yellow 6 m from it, and a red mark 5 m from it for the penalty throw (Part Six 21.7.1.1 to 21.7.1.5; June 2025: Appendix 4, 20.4.1.5). */
|
|
108
107
|
readonly twoMetre: 2;
|
|
109
108
|
readonly fiveMetre: 5;
|
|
110
109
|
readonly sixMetre: 6;
|
|
111
|
-
/** The sides of the field are marked red from the goal line to 2 m, yellow from 2 to 6 m and green from 6 m to the half distance line, which is white (Appendix 4, 20.4.1.5
|
|
110
|
+
/** The sides of the field are marked red from the goal line to 2 m, yellow from 2 to 6 m and green from 6 m to the half distance line, which is white (Part Six 21.7.2.2 and 21.7.1.5; June 2025: Appendix 4, 20.4.1.5 and CR 18.3.1). */
|
|
112
111
|
readonly half: 12.5;
|
|
113
|
-
/** Boundary lines 2 m long from the goal posts, marked red, make the goal areas (
|
|
112
|
+
/** Boundary lines 2 m long from the goal posts, marked red, make the goal areas (Part Six 20.4 and 21.7.2.1.2; June 2025: Appendix 4, 20.4.1.2). */
|
|
114
113
|
readonly goalAreaLine: 2;
|
|
115
|
-
/** The goal: posts and crossbar of 75 mm (
|
|
114
|
+
/** The goal: posts and crossbar of 75 to 80 mm square, white (Part Six 21.6.2.2 and 21.6.2.4; 80 mm is drawn); 3.0 m between the inner sides of the posts (21.6.3.2); the crossbar's underside 0.9 m above the water (21.6.4.2); a goal at least 0.30 m deep from the goal line to the rear of the net (21.6.5). */
|
|
116
115
|
readonly goal: {
|
|
117
116
|
readonly width: 3;
|
|
118
117
|
readonly post: 0.08;
|
|
119
118
|
readonly crossbarHeight: 0.9;
|
|
120
119
|
readonly netClear: 0.3;
|
|
121
120
|
};
|
|
122
|
-
/** The excluded players' re-entry area, 2.0
|
|
121
|
+
/** The excluded players' re-entry area, 2.0 m wide along the goal line and 1.0 to 1.1 m long along the side line (Part Six 20.7.2; 1.08 m is drawn, inside the range), behind the goal line on the side of the team benches, opposite the official table (20.7.1 and 21.11); June 2025: CR 18.3.4 and Appendix 4, 20.4.1.6. */
|
|
123
122
|
readonly reEntry: {
|
|
124
123
|
readonly length: 2;
|
|
125
124
|
readonly depth: 1.08;
|
|
126
125
|
readonly fromCorner: 2;
|
|
127
126
|
};
|
|
128
|
-
/** The area for flying substitutions, not less than 0.50 m wide, on the side of the team benches, from the goal line in front of the bench to the
|
|
127
|
+
/** The area for flying substitutions, not less than 0.50 m wide, on the side of the team benches, from the goal line in front of the bench to the halfway line (Part Six 20.6.1 to 20.6.3; June 2025: CR 18.1.8). */
|
|
129
128
|
readonly substitution: 0.5;
|
|
130
|
-
/** The referees' platforms: 1 m wide and 0.70 m above the water, on both sides of the field, colour coded like the lane ropes (CR 18.3.2). */
|
|
129
|
+
/** The referees' platforms: 1 m wide and 0.70 m above the water, on both sides of the field, colour coded like the lane ropes (Part Six 21.9.3.1 to 21.9.3.3; June 2025: CR 18.3.2). */
|
|
131
130
|
readonly platform: {
|
|
132
131
|
readonly width: 1;
|
|
133
132
|
readonly height: 0.7;
|
|
134
133
|
};
|
|
135
|
-
/** The
|
|
134
|
+
/** The lane ropes of a water polo field are 0.06 to 0.12 m across, at least 0.10 m at the Olympic Games and the World Championships (Part Six 21.7.4.2; June 2025: CR 18.1.7 and 18.2.6); 0.10 m is drawn. */
|
|
136
135
|
readonly rope: 0.1;
|
|
137
136
|
/** The deck beyond the pool, ours (drawn). */
|
|
138
137
|
readonly deck: 3;
|
|
139
|
-
/** The official table: the secretariat sits at a table behind the referees (CR 18.3.6); its size is ours (drawn). */
|
|
138
|
+
/** The official table: the secretariat sits at a table behind the referees' platform (Part Six 21.10.1; June 2025: CR 18.3.6); its size is ours (drawn). */
|
|
140
139
|
readonly table: {
|
|
141
140
|
readonly length: 6;
|
|
142
141
|
readonly depth: 1.2;
|
|
143
142
|
};
|
|
144
143
|
};
|
|
145
|
-
/** How many lines cross a diving well for the Olympic Games and the World Championships (CR 13.2.7). A count, so it is kept out of the table of lengths. */
|
|
144
|
+
/** How many lines cross a diving well for the Olympic Games and the World Championships (Part Four 15.6.3.1; June 2025: CR 13.2.7). A count, so it is kept out of the table of lengths. */
|
|
146
145
|
export declare const DIVING_LINES = 3;
|
|
147
146
|
/**
|
|
148
|
-
* Diving, in metres (Part Four of the Competition Regulations, Article
|
|
149
|
-
*
|
|
150
|
-
* of the springboard or platform (
|
|
151
|
-
* at the side, `C` to the next plummet, `D` to the wall ahead, `H` the depth of water at the plummet; each as [minimum, preferred].
|
|
147
|
+
* Diving, in metres (Part Four of the Competition Regulations, Article 15 and Appendix 2, "Diving facility specifications", which is Article 17.2 of Part Four). A springboard is 4.88 m long and 0.50 m wide
|
|
148
|
+
* (Part Four 15.3.2), 1 m or 3 m above the water (Appendix 2); a platform of the length, width and height of the table (Part Four 15.4.3 and Appendix 2). Every distance is measured from the plummet, the vertical line
|
|
149
|
+
* through the middle of the front edge of the springboard or platform (Part Four 15.1.1). `A` is from the plummet back to the pool wall (for a platform on concrete: how far its front edge projects beyond the wall, Part Four 15.4.9),
|
|
150
|
+
* `B` to the pool wall at the side, `C` to the next plummet (the platforms' widths: Part Four 15.2.2), `D` to the wall ahead, `H` the depth of water at the plummet; each as [minimum, preferred]. A depth of 5 m under the boards is
|
|
151
|
+
* what a pool built after 1 January 2025 should have if possible (Part Four 15.1.2.1). The minima of `H` are the February 2026 table's (3.40, 3.70, 3.20, 3.50, 3.70, 4.10 and 4.50 m, with 5.00 m preferred everywhere); the June 2025 edition
|
|
152
|
+
* had 3.50, 3.80, 3.30, 3.60, 3.80, 4.30 and 5.00 m ("Table Diving Facilities"). The other figures of the table, A to D, are the same in both editions.
|
|
152
153
|
*/
|
|
153
154
|
export declare const DIVING: {
|
|
154
155
|
readonly springboard: {
|
|
@@ -223,41 +224,42 @@ export declare const DIVING: {
|
|
|
223
224
|
readonly platform75: readonly [11, 11];
|
|
224
225
|
readonly platform10: readonly [13.5, 13.5];
|
|
225
226
|
};
|
|
226
|
-
/** H, the depth of water at the plummet: 3.
|
|
227
|
+
/** H, the depth of water at the plummet, minimum and preferred: February 2026 gives 3.40 m (1 m board), 3.70 (3 m), 3.20 (1 m platform), 3.50 (3 m), 3.70 (5 m), 4.10 (7.5 m) and 4.50 m (10 m), with 5.00 m preferred (Part Four, Appendix 2); the June 2025 edition's minima were 3.50, 3.80, 3.30, 3.60, 3.80, 4.30 and 5.00 m. */
|
|
227
228
|
readonly H: {
|
|
228
|
-
readonly springboard1: readonly [3.
|
|
229
|
-
readonly springboard3: readonly [3.
|
|
230
|
-
readonly platform1: readonly [3.
|
|
231
|
-
readonly platform3: readonly [3.
|
|
232
|
-
readonly platform5: readonly [3.
|
|
233
|
-
readonly platform75: readonly [4.
|
|
234
|
-
readonly platform10: readonly [5, 5];
|
|
229
|
+
readonly springboard1: readonly [3.4, 5];
|
|
230
|
+
readonly springboard3: readonly [3.7, 5];
|
|
231
|
+
readonly platform1: readonly [3.2, 5];
|
|
232
|
+
readonly platform3: readonly [3.5, 5];
|
|
233
|
+
readonly platform5: readonly [3.7, 5];
|
|
234
|
+
readonly platform75: readonly [4.1, 5];
|
|
235
|
+
readonly platform10: readonly [4.5, 5];
|
|
235
236
|
};
|
|
236
|
-
/** The depth of water is never less than 1.8 m anywhere in the diving pool (13.1.3.9); 5 m under the boards for
|
|
237
|
+
/** The depth of water is never less than 1.8 m anywhere in the diving pool (Part Four 15.1.3; June 2025: 13.1.3.9); 5 m under the boards for facilities built after 1 January 2025, if possible (Part Four 15.1.2.1). The June 2025 edition also made 5 m the rule at the Olympic Games and the World Championships (13.1.3.1); unverified in February 2026, whose Article 15.6 only applies Articles 15.2 to 15.5 there, with the minima of Appendix 2. */
|
|
237
238
|
readonly depthLeast: 1.8;
|
|
238
239
|
readonly depthBoards: 5;
|
|
239
|
-
/** The least distance between adjacent platforms: 0.25 m (Appendix 2, notes). */
|
|
240
|
+
/** The least distance between adjacent platforms: 0.25 m (Part Four, Appendix 2, notes). */
|
|
240
241
|
readonly platformsApart: 0.25;
|
|
241
|
-
/** Lane markings of a diving well for the Olympic Games and the World Championships: three lines across the well, 21.0 m long in a 25 m wide well, 2.5 m apart, the first directly under the plummet of the 3 m springboard (13.2.7). */
|
|
242
|
+
/** Lane markings of a diving well for the Olympic Games and the World Championships: three lines across the well, 21.0 m long in a 25 m wide well, 2.5 m apart, the first directly under the plummet of the 3 m springboard (Part Four 15.6.3.1, 15.6.3.1.1 and 15.6.3.1.2, with the dimensions of Part Two 15.13.1; June 2025: 13.2.7). */
|
|
242
243
|
readonly lines: {
|
|
243
244
|
readonly length: 21;
|
|
244
245
|
readonly apart: 2.5;
|
|
245
246
|
readonly width: 0.25;
|
|
246
247
|
};
|
|
247
|
-
/** The pool: 25 m across, as the swimming pool's width (
|
|
248
|
+
/** The pool: 25 m across, as the swimming pool's width (Part Four 15.6.3.1 asks for lines running the width of the well, with the dimensions of the swimming pool's lane markings), and the length ahead of the boards, ours; the rules set the clearances above, not the size of the well (drawn). */
|
|
248
249
|
readonly well: {
|
|
249
250
|
readonly width: 25;
|
|
250
251
|
readonly length: 21;
|
|
251
252
|
};
|
|
252
|
-
/** Judges sit along both sides of the pool
|
|
253
|
+
/** Judges sit side by side in a straight line along both sides of the pool (Part Four 15.5.1.1); the June 2025 edition (13.1.7.1.3) put them in line with or behind the front of the boards, never ahead of the plummet line. Unverified: Part Four 15.5.1.4 of February 2026 reads "No Judge may be seated alongside or behind the direct line of the front edge", which is the opposite on its face and is taken as a slip for "ahead of". */
|
|
253
254
|
readonly judges: {
|
|
254
255
|
readonly seat: 0.9;
|
|
255
256
|
};
|
|
256
257
|
};
|
|
257
258
|
/**
|
|
258
|
-
* Artistic swimming, in metres (Part Seven, Article
|
|
259
|
-
* 15 by 25 m, of which 12 by 12 m is at least 3.0 m deep and the rest at least 2.0 m (
|
|
260
|
-
* 0.6 m high and not more than 2 m from the pool's edge (
|
|
259
|
+
* Artistic swimming, in metres (Part Seven, Article 12). The routine area for the Olympic Games and the World Championships is at least 30.0 by 20.0 m, 3.0 m deep (Part Seven 12.2.2); elsewhere at least
|
|
260
|
+
* 15 by 25 m, of which 12 by 12 m is at least 3.0 m deep and the rest at least 2.0 m (Part Seven 12.1.1). The starting platform at least 0.7 m high at the Olympic Games and the World Championships, 1.0 m recommended (Part Seven 12.2.4),
|
|
261
|
+
* 0.5 m least elsewhere, 1.0 m recommended (12.1.6); the Technical Officials' platform (the judges') at least 0.6 m high and not more than 2 m from the pool's edge (12.2.5). A practice warm-up pool at least 25 by 25 m or 30 by 20 m,
|
|
262
|
+
* 3 m deep (12.2.6). June 2025: Article 27, 27.2.2 and 27.2.3, 27.1.2, 27.2.7 and 27.1.7, 27.2.8, 27.2.9.
|
|
261
263
|
*/
|
|
262
264
|
export declare const ARTISTIC: {
|
|
263
265
|
readonly olympic: {
|
|
@@ -278,7 +280,7 @@ export declare const ARTISTIC: {
|
|
|
278
280
|
readonly width: 20;
|
|
279
281
|
readonly depth: 3;
|
|
280
282
|
};
|
|
281
|
-
/** The lane markings of the pool, or contrasting lines in one direction along its length if there are none (27.2.4). */
|
|
283
|
+
/** The lane markings of the pool, or contrasting lines in one direction along its length if there are none (Part Seven 12.1.3; June 2025: 27.2.4). */
|
|
282
284
|
readonly line: 0.25;
|
|
283
285
|
readonly start: {
|
|
284
286
|
readonly heightOlympic: 0.7;
|
package/dist/pool.figures.js
CHANGED
|
@@ -1,98 +1,101 @@
|
|
|
1
|
-
// The pools of the aquatic sports, from World Aquatics' Competition Regulations (in force as from
|
|
2
|
-
// is cited
|
|
3
|
-
// Part Six,
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
//
|
|
1
|
+
// The pools of the aquatic sports, from World Aquatics' Competition Regulations (in force as from February 2026), in metres, the unit the rules print them in. A rule
|
|
2
|
+
// is cited by its part and its number in that edition (Part Two, Swimming Rules, Article 15 for the swimming pool; Part Four, Article 15 and Appendix 2 for diving;
|
|
3
|
+
// Part Six, Articles 20 and 21 for water polo; Part Seven, Article 12 for artistic swimming): "Part Two 15.6.2.1" is clause 15.6.2.1 of Part Two. The part is always
|
|
4
|
+
// named, because Parts Two and Four both have an Article 15. The numbers changed from the edition in force as from 25 June 2025 (Part Two Article 16, Part Four
|
|
5
|
+
// Article 13, Part Six Article 18 and Appendix 4, Part Seven Article 27); a figure that is that edition's and that the February 2026 text does not repeat is marked "June 2025
|
|
6
|
+
// edition value" and says what the new text gives. The same rules were the Facilities Rules FR 2 to FR 8 of the 2017-2021 and 2021-2025 editions; the old number is given where a reader of
|
|
7
|
+
// those editions would look for it ("was FR 2.9"). The diagrams of the rules (the appendices) are pictures and were not read: nothing here is measured from one. Where the rules
|
|
8
|
+
// give no figure and the drawing needs one, the figure is named `drawn` and is ours.
|
|
7
9
|
/**
|
|
8
|
-
* The swimming pool. Lengths are metres; widths run across the course and depths down. `lane` is the width of a lane and the distance between the centres of two (
|
|
9
|
-
*
|
|
10
|
-
* with spaces of 0.5 m (a 26 m wide temporary pool).
|
|
10
|
+
* The swimming pool (Part Two, Article 15). Lengths are metres; widths run across the course and depths down. `lane` is the width of a lane and the distance between the centres of two (Part Two 15.13.2,
|
|
11
|
+
* 15.6.1); a 10-lane pool for the World Championships has lanes 0 and 9 2.4 m wide with spaces of 0.1 m outside them in a permanent pool (Part Two 15.6.2.1), or all lanes 2.5 m
|
|
12
|
+
* with spaces of 0.5 m (a 26 m wide temporary pool, Part Two 15.6.2.2).
|
|
11
13
|
*/
|
|
12
14
|
export const SWIMMING = {
|
|
13
|
-
/** The lengths between the touch panels: 50.000 m and 25.000 m (
|
|
15
|
+
/** The lengths between the touch panels: 50.000 m and 25.000 m (Part Two 15.1.1.1 and 15.1.2.1, was FR 2.1.1 and FR 2.1.2; June 2025: CR 16.1.1.1 and 16.1.1.2). */
|
|
14
16
|
longCourse: 50,
|
|
15
17
|
shortCourse: 25,
|
|
16
|
-
/** A lane is at least 2.5 m wide (
|
|
18
|
+
/** A lane is at least 2.5 m wide (Part Two 15.6.3, was FR 2.5; June 2025: CR 16.1.6); the first and the last may be 2.4 m wide, in the World Championships' permanent pool (Part Two 15.6.2.1) and at all other competitions (15.6.3). */
|
|
17
19
|
lane: 2.5,
|
|
18
20
|
edgeLane: 2.4,
|
|
19
|
-
/** The spaces outside the first and the last lane: Olympic Games, 2.5 m each side (
|
|
21
|
+
/** The spaces outside the first and the last lane: Olympic Games, 2.5 m each side (Part Two 15.6.1); World Championships' permanent pool 0.1 m (15.6.2.1), temporary pool 0.5 m (15.6.2.2). */
|
|
20
22
|
spaceOlympic: 2.5,
|
|
21
23
|
spacePermanentWorld: 0.1,
|
|
22
24
|
spaceTemporaryWorld: 0.5,
|
|
23
|
-
/** The space of a pool of the minimum standard: the 25 by 21 m, 8-lane pool of
|
|
25
|
+
/** The space of a pool of the minimum standard: the 25 by 21 m, 8-lane pool of Appendix 6 of Part Two (Article 17.6) is 8 lanes of 2.5 m and two spaces, which makes the spaces 0.5 m (arithmetic, not a stated figure). */
|
|
24
26
|
spaceMinimum: 0.5,
|
|
25
|
-
/** Lane ropes: floats end to end, 0.
|
|
27
|
+
/** Lane ropes: floats end to end, "between 0.1 metres (at maximum) and 0.15 metres (at minimum)" across (Part Two 15.7.4: unverified, the sentence contradicts itself; June 2025 edition value: 0.10 to 0.15 m, 0.15 m at the Olympic Games and the World Championships, CR 16.1.7.1 and 16.2.7.1; 0.15 m is drawn). */
|
|
26
28
|
floatDiameter: 0.15,
|
|
27
|
-
/** The floats within 5.0 m of each end wall are red (
|
|
29
|
+
/** The floats within 5.0 m of each end wall are red (Part Two 15.7.7); those at 15 m from each end wall, and at 25 m in a 50 m pool, are distinct in colour (Part Two 15.7.9 and 15.7.10). */
|
|
28
30
|
redEnds: 5,
|
|
29
31
|
markAt15: 15,
|
|
30
32
|
markAt25: 25,
|
|
31
33
|
/** How long a run of floats of a distinct colour is drawn: the rules do not say, a run of four floats is ours (drawn). */
|
|
32
34
|
markRun: 0.6,
|
|
33
|
-
/** Lane markings on the floor: 0.2 to 0.3 m wide, 46.0 m long in a 50 m pool and 21.0 m in a 25 m one, ending 2.0 m from the end wall in a cross line 1.0 m long (
|
|
35
|
+
/** Lane markings on the floor: 0.2 to 0.3 m wide, 46.0 m long in a 50 m pool and 21.0 m in a 25 m one, ending 2.0 m from the end wall in a cross line 1.0 m long (Part Two 15.13.1 and 15.13.2, was FR 2.14; June 2025: CR 16.2.15). */
|
|
34
36
|
laneLine: { width: 0.25, longLength: 46, shortLength: 21, endGap: 2, cross: 1 },
|
|
35
|
-
/** Target lines on the end walls: the width of the lane line, down the wall to 3 m at most, with a cross line 0.5 m long 0.3 m below the water (
|
|
37
|
+
/** Target lines on the end walls: the width of the lane line, down the wall to 3 m at most, with a cross line 0.5 m long 0.3 m below the water (Part Two 15.13.3); cross lines 0.5 m long at 15 m from each end (Part Two 15.13.4, pools built from 1 January 2006). */
|
|
36
38
|
target: { width: 0.25, maxDepth: 3, cross: 0.5, crossBelowSurface: 0.3, crossAt15: 0.5 },
|
|
37
|
-
/** The starting platform: at least 0.5 m by 0.
|
|
38
|
-
block: { width: 0.5, length: 0.
|
|
39
|
-
/** Touch panels: 2.4 m wide and 0.9 m high, 0.3 m above the water and 0.6 m below it, with a 0.025 m black border (CR 16.3.4). */
|
|
39
|
+
/** The starting platform: at least 0.5 m by 0.5 m, 0.5 to 0.75 m above the water (Part Two 15.8.1). The June 2025 edition asked 0.5 by 0.6 m at the Olympic Games and the World Championships (CR 16.2.8); February 2026 asks at least 0.5 by 0.5 m everywhere, which is what is drawn. */
|
|
40
|
+
block: { width: 0.5, length: 0.5, heightLeast: 0.5, heightMost: 0.75, height: 0.7 },
|
|
41
|
+
/** Touch panels: 2.4 m wide and 0.9 m high, 0.3 m above the water and 0.6 m below it, with a 0.025 m black border (Part Two 15.16.4.1, 15.16.4.2 and 15.16.4.5; June 2025: CR 16.3.4). */
|
|
40
42
|
pad: { width: 2.4, height: 0.9, above: 0.3, below: 0.6, border: 0.025 },
|
|
41
|
-
/** Backstroke turn flags: flagged ropes 1.8 m above the water on standards 5.0 m from each end wall; a flag is a triangle of 0.40 m sides, 0.25 m apart (
|
|
43
|
+
/** Backstroke turn flags: flagged ropes 1.8 m above the water on standards 5.0 m from each end wall; a flag is a triangle of 0.40 m sides, 0.25 m apart (Part Two 15.9.1 and 15.9.2, was FR 2.9; June 2025: CR 16.1.10). */
|
|
42
44
|
flags: { at: 5, height: 1.8, side: 0.4, apart: 0.25 },
|
|
43
|
-
/** The false start rope: not less than 1.2 m above the water, on standards 15.0 m in front of the starting end (CR 16.1.12,
|
|
45
|
+
/** The false start rope: not less than 1.2 m above the water, on standards 15.0 m in front of the starting end (was FR 2.11; June 2025 edition value, CR 16.1.12). Unverified: the February 2026 text has no clause for it (Part Two Article 15 has false start detection equipment, 15.16.3.4, and no rope). */
|
|
44
46
|
falseStart: { at: 15, height: 1.2 },
|
|
45
|
-
/** Depth: 1.35 m from 1.0 to at least 6.0 m from an end wall that has starting platforms, 1.0 m elsewhere (CR 16.1.4); the Olympic Games and the World Championships 2.5 m, the 25 m World Championships 2.0 m (2.5 m preferred
|
|
47
|
+
/** Depth: 1.35 m from 1.0 to at least 6.0 m from an end wall that has starting platforms, 1.0 m elsewhere (Part Two 15.4.3 and 15.8.4; June 2025: CR 16.1.4); the Olympic Games and the World Championships 2.5 m (15.4.1), the 25 m World Championships 2.0 m (2.5 m preferred, 15.4.2); a pool shared with artistic swimming 3 m is the June 2025 edition value (CR 16.2.4) and unverified: Part Two Article 15.4 no longer says it (Part Seven 12.1.1 and 12.2.2 ask 3.0 m for the artistic swimming area). */
|
|
46
48
|
depth: { least: 1, atBlocks: 1.35, blocksFrom: 1, blocksTo: 6, olympic: 2.5, shortWorld: 2, shared: 3 },
|
|
47
|
-
/** The wall: a slip-resistant surface 0.8 m below the water (
|
|
49
|
+
/** The wall: a slip-resistant surface 0.8 m below the water (Part Two 15.5.1); a rest ledge not less than 1.2 m below the surface, 0.1 to 0.15 m wide (Part Two 15.5.2). */
|
|
48
50
|
wall: { slipResistant: 0.8, ledgeDepth: 1.2 },
|
|
49
|
-
/** The distance between a swimming pool and a diving well in the same area: 8 m, 10 m preferred, in pools built from 1 January 2014 (CR 16.2.17). */
|
|
51
|
+
/** The distance between a swimming pool and a diving well in the same area: 8 m, 10 m preferred, in pools built from 1 January 2014 (Part Two 15.15.1; June 2025: CR 16.2.17). */
|
|
50
52
|
poolsApart: 8,
|
|
51
53
|
poolsApartPreferred: 10,
|
|
52
54
|
/** The deck beyond the pool, our figure: the rules do not set one (drawn). */
|
|
53
55
|
deck: 2.5,
|
|
54
56
|
};
|
|
55
|
-
/** The widths of the pools the rules draw, as
|
|
57
|
+
/** The widths of the pools the rules draw, as Appendices 1 to 9 of Part Two (Article 17) name them (the pool's width by its length and lanes): 50 by 25 (8 or 10 lanes), 50 by 26 (10 lanes, temporary), 25 by 21 (8), 25 by 25 and 25 by 26 (10). */
|
|
56
58
|
export const SWIMMING_WIDTHS = { permanent: 25, temporary: 26, shortEight: 21 };
|
|
57
59
|
/**
|
|
58
|
-
* The water polo field of play, in metres (
|
|
59
|
-
* the water at least 1.80 m
|
|
60
|
+
* The water polo field of play, in metres (Part Six, Articles 20 and 21). The field is 25.00 by 20.00 m, the distance between the two goal lines and between the two side lines (Part Six 20.2.2.1 and 20.2.2.2);
|
|
61
|
+
* the water at least 2.00 m deep everywhere (Part Six 20.2.4 and 20.8.2.1). The June 2025 edition asked 1.80 m, and 2.00 m at the Olympic Games and the World Championships (CR 18.1.3 and 18.2.2).
|
|
60
62
|
*/
|
|
61
63
|
export const WATER_POLO = {
|
|
62
64
|
length: 25,
|
|
63
65
|
width: 20,
|
|
64
|
-
depth:
|
|
65
|
-
|
|
66
|
-
/** The marks on both sides of the field: white for the goal line and the half distance line, red 2 m from each goal line, yellow 6 m from it, and a red mark 5 m from it for the penalty throw (Appendix 4, 20.4.1.5). */
|
|
66
|
+
depth: 2,
|
|
67
|
+
/** The marks on both sides of the field: white for the goal line and the half distance line, red 2 m from each goal line, yellow 6 m from it, and a red mark 5 m from it for the penalty throw (Part Six 21.7.1.1 to 21.7.1.5; June 2025: Appendix 4, 20.4.1.5). */
|
|
67
68
|
twoMetre: 2,
|
|
68
69
|
fiveMetre: 5,
|
|
69
70
|
sixMetre: 6,
|
|
70
|
-
/** The sides of the field are marked red from the goal line to 2 m, yellow from 2 to 6 m and green from 6 m to the half distance line, which is white (Appendix 4, 20.4.1.5
|
|
71
|
+
/** The sides of the field are marked red from the goal line to 2 m, yellow from 2 to 6 m and green from 6 m to the half distance line, which is white (Part Six 21.7.2.2 and 21.7.1.5; June 2025: Appendix 4, 20.4.1.5 and CR 18.3.1). */
|
|
71
72
|
half: 12.5,
|
|
72
|
-
/** Boundary lines 2 m long from the goal posts, marked red, make the goal areas (
|
|
73
|
+
/** Boundary lines 2 m long from the goal posts, marked red, make the goal areas (Part Six 20.4 and 21.7.2.1.2; June 2025: Appendix 4, 20.4.1.2). */
|
|
73
74
|
goalAreaLine: 2,
|
|
74
|
-
/** The goal: posts and crossbar of 75 mm (
|
|
75
|
+
/** The goal: posts and crossbar of 75 to 80 mm square, white (Part Six 21.6.2.2 and 21.6.2.4; 80 mm is drawn); 3.0 m between the inner sides of the posts (21.6.3.2); the crossbar's underside 0.9 m above the water (21.6.4.2); a goal at least 0.30 m deep from the goal line to the rear of the net (21.6.5). */
|
|
75
76
|
goal: { width: 3, post: 0.08, crossbarHeight: 0.9, netClear: 0.3 },
|
|
76
|
-
/** The excluded players' re-entry area, 2.0
|
|
77
|
+
/** The excluded players' re-entry area, 2.0 m wide along the goal line and 1.0 to 1.1 m long along the side line (Part Six 20.7.2; 1.08 m is drawn, inside the range), behind the goal line on the side of the team benches, opposite the official table (20.7.1 and 21.11); June 2025: CR 18.3.4 and Appendix 4, 20.4.1.6. */
|
|
77
78
|
reEntry: { length: 2, depth: 1.08, fromCorner: 2 },
|
|
78
|
-
/** The area for flying substitutions, not less than 0.50 m wide, on the side of the team benches, from the goal line in front of the bench to the
|
|
79
|
+
/** The area for flying substitutions, not less than 0.50 m wide, on the side of the team benches, from the goal line in front of the bench to the halfway line (Part Six 20.6.1 to 20.6.3; June 2025: CR 18.1.8). */
|
|
79
80
|
substitution: 0.5,
|
|
80
|
-
/** The referees' platforms: 1 m wide and 0.70 m above the water, on both sides of the field, colour coded like the lane ropes (CR 18.3.2). */
|
|
81
|
+
/** The referees' platforms: 1 m wide and 0.70 m above the water, on both sides of the field, colour coded like the lane ropes (Part Six 21.9.3.1 to 21.9.3.3; June 2025: CR 18.3.2). */
|
|
81
82
|
platform: { width: 1, height: 0.7 },
|
|
82
|
-
/** The
|
|
83
|
+
/** The lane ropes of a water polo field are 0.06 to 0.12 m across, at least 0.10 m at the Olympic Games and the World Championships (Part Six 21.7.4.2; June 2025: CR 18.1.7 and 18.2.6); 0.10 m is drawn. */
|
|
83
84
|
rope: 0.1,
|
|
84
85
|
/** The deck beyond the pool, ours (drawn). */
|
|
85
86
|
deck: 3,
|
|
86
|
-
/** The official table: the secretariat sits at a table behind the referees (CR 18.3.6); its size is ours (drawn). */
|
|
87
|
+
/** The official table: the secretariat sits at a table behind the referees' platform (Part Six 21.10.1; June 2025: CR 18.3.6); its size is ours (drawn). */
|
|
87
88
|
table: { length: 6, depth: 1.2 },
|
|
88
89
|
};
|
|
89
|
-
/** How many lines cross a diving well for the Olympic Games and the World Championships (CR 13.2.7). A count, so it is kept out of the table of lengths. */
|
|
90
|
+
/** How many lines cross a diving well for the Olympic Games and the World Championships (Part Four 15.6.3.1; June 2025: CR 13.2.7). A count, so it is kept out of the table of lengths. */
|
|
90
91
|
export const DIVING_LINES = 3;
|
|
91
92
|
/**
|
|
92
|
-
* Diving, in metres (Part Four of the Competition Regulations, Article
|
|
93
|
-
*
|
|
94
|
-
* of the springboard or platform (
|
|
95
|
-
* at the side, `C` to the next plummet, `D` to the wall ahead, `H` the depth of water at the plummet; each as [minimum, preferred].
|
|
93
|
+
* Diving, in metres (Part Four of the Competition Regulations, Article 15 and Appendix 2, "Diving facility specifications", which is Article 17.2 of Part Four). A springboard is 4.88 m long and 0.50 m wide
|
|
94
|
+
* (Part Four 15.3.2), 1 m or 3 m above the water (Appendix 2); a platform of the length, width and height of the table (Part Four 15.4.3 and Appendix 2). Every distance is measured from the plummet, the vertical line
|
|
95
|
+
* through the middle of the front edge of the springboard or platform (Part Four 15.1.1). `A` is from the plummet back to the pool wall (for a platform on concrete: how far its front edge projects beyond the wall, Part Four 15.4.9),
|
|
96
|
+
* `B` to the pool wall at the side, `C` to the next plummet (the platforms' widths: Part Four 15.2.2), `D` to the wall ahead, `H` the depth of water at the plummet; each as [minimum, preferred]. A depth of 5 m under the boards is
|
|
97
|
+
* what a pool built after 1 January 2025 should have if possible (Part Four 15.1.2.1). The minima of `H` are the February 2026 table's (3.40, 3.70, 3.20, 3.50, 3.70, 4.10 and 4.50 m, with 5.00 m preferred everywhere); the June 2025 edition
|
|
98
|
+
* had 3.50, 3.80, 3.30, 3.60, 3.80, 4.30 and 5.00 m ("Table Diving Facilities"). The other figures of the table, A to D, are the same in both editions.
|
|
96
99
|
*/
|
|
97
100
|
export const DIVING = {
|
|
98
101
|
springboard: { length: 4.88, width: 0.5 },
|
|
@@ -112,30 +115,31 @@ export const DIVING = {
|
|
|
112
115
|
C: { springboard1: [2, 2], springboard3: [2.2, 2.6], platform1: [1.85, 2.15], platform3: [2.2, 2.35], platform5: [2.85, 2.85], platform75: [2.75, 2.75], platform10: [3, 3] },
|
|
113
116
|
/** D, from the plummet to the pool wall ahead: 9.00 (1 m), 10.25 (3 m), 8.00, 9.50, 10.25, 11.00 and 13.50 m for the platforms. */
|
|
114
117
|
D: { springboard1: [9, 9], springboard3: [10.25, 10.25], platform1: [8, 8], platform3: [9.5, 9.5], platform5: [10.25, 10.25], platform75: [11, 11], platform10: [13.5, 13.5] },
|
|
115
|
-
/** H, the depth of water at the plummet: 3.
|
|
116
|
-
H: { springboard1: [3.
|
|
117
|
-
/** The depth of water is never less than 1.8 m anywhere in the diving pool (13.1.3.9); 5 m under the boards for
|
|
118
|
+
/** H, the depth of water at the plummet, minimum and preferred: February 2026 gives 3.40 m (1 m board), 3.70 (3 m), 3.20 (1 m platform), 3.50 (3 m), 3.70 (5 m), 4.10 (7.5 m) and 4.50 m (10 m), with 5.00 m preferred (Part Four, Appendix 2); the June 2025 edition's minima were 3.50, 3.80, 3.30, 3.60, 3.80, 4.30 and 5.00 m. */
|
|
119
|
+
H: { springboard1: [3.4, 5], springboard3: [3.7, 5], platform1: [3.2, 5], platform3: [3.5, 5], platform5: [3.7, 5], platform75: [4.1, 5], platform10: [4.5, 5] },
|
|
120
|
+
/** The depth of water is never less than 1.8 m anywhere in the diving pool (Part Four 15.1.3; June 2025: 13.1.3.9); 5 m under the boards for facilities built after 1 January 2025, if possible (Part Four 15.1.2.1). The June 2025 edition also made 5 m the rule at the Olympic Games and the World Championships (13.1.3.1); unverified in February 2026, whose Article 15.6 only applies Articles 15.2 to 15.5 there, with the minima of Appendix 2. */
|
|
118
121
|
depthLeast: 1.8,
|
|
119
122
|
depthBoards: 5,
|
|
120
|
-
/** The least distance between adjacent platforms: 0.25 m (Appendix 2, notes). */
|
|
123
|
+
/** The least distance between adjacent platforms: 0.25 m (Part Four, Appendix 2, notes). */
|
|
121
124
|
platformsApart: 0.25,
|
|
122
|
-
/** Lane markings of a diving well for the Olympic Games and the World Championships: three lines across the well, 21.0 m long in a 25 m wide well, 2.5 m apart, the first directly under the plummet of the 3 m springboard (13.2.7). */
|
|
125
|
+
/** Lane markings of a diving well for the Olympic Games and the World Championships: three lines across the well, 21.0 m long in a 25 m wide well, 2.5 m apart, the first directly under the plummet of the 3 m springboard (Part Four 15.6.3.1, 15.6.3.1.1 and 15.6.3.1.2, with the dimensions of Part Two 15.13.1; June 2025: 13.2.7). */
|
|
123
126
|
lines: { length: 21, apart: 2.5, width: 0.25 },
|
|
124
|
-
/** The pool: 25 m across, as the swimming pool's width (
|
|
127
|
+
/** The pool: 25 m across, as the swimming pool's width (Part Four 15.6.3.1 asks for lines running the width of the well, with the dimensions of the swimming pool's lane markings), and the length ahead of the boards, ours; the rules set the clearances above, not the size of the well (drawn). */
|
|
125
128
|
well: { width: 25, length: 21 },
|
|
126
|
-
/** Judges sit along both sides of the pool
|
|
129
|
+
/** Judges sit side by side in a straight line along both sides of the pool (Part Four 15.5.1.1); the June 2025 edition (13.1.7.1.3) put them in line with or behind the front of the boards, never ahead of the plummet line. Unverified: Part Four 15.5.1.4 of February 2026 reads "No Judge may be seated alongside or behind the direct line of the front edge", which is the opposite on its face and is taken as a slip for "ahead of". */
|
|
127
130
|
judges: { seat: 0.9 },
|
|
128
131
|
};
|
|
129
132
|
/**
|
|
130
|
-
* Artistic swimming, in metres (Part Seven, Article
|
|
131
|
-
* 15 by 25 m, of which 12 by 12 m is at least 3.0 m deep and the rest at least 2.0 m (
|
|
132
|
-
* 0.6 m high and not more than 2 m from the pool's edge (
|
|
133
|
+
* Artistic swimming, in metres (Part Seven, Article 12). The routine area for the Olympic Games and the World Championships is at least 30.0 by 20.0 m, 3.0 m deep (Part Seven 12.2.2); elsewhere at least
|
|
134
|
+
* 15 by 25 m, of which 12 by 12 m is at least 3.0 m deep and the rest at least 2.0 m (Part Seven 12.1.1). The starting platform at least 0.7 m high at the Olympic Games and the World Championships, 1.0 m recommended (Part Seven 12.2.4),
|
|
135
|
+
* 0.5 m least elsewhere, 1.0 m recommended (12.1.6); the Technical Officials' platform (the judges') at least 0.6 m high and not more than 2 m from the pool's edge (12.2.5). A practice warm-up pool at least 25 by 25 m or 30 by 20 m,
|
|
136
|
+
* 3 m deep (12.2.6). June 2025: Article 27, 27.2.2 and 27.2.3, 27.1.2, 27.2.7 and 27.1.7, 27.2.8, 27.2.9.
|
|
133
137
|
*/
|
|
134
138
|
export const ARTISTIC = {
|
|
135
139
|
olympic: { length: 30, width: 20, depth: 3 },
|
|
136
140
|
minimum: { length: 25, width: 15, deepLength: 12, deepWidth: 12, deepDepth: 3, depth: 2 },
|
|
137
141
|
warmUp: { length: 30, width: 20, depth: 3 },
|
|
138
|
-
/** The lane markings of the pool, or contrasting lines in one direction along its length if there are none (27.2.4). */
|
|
142
|
+
/** The lane markings of the pool, or contrasting lines in one direction along its length if there are none (Part Seven 12.1.3; June 2025: 27.2.4). */
|
|
139
143
|
line: 0.25,
|
|
140
144
|
start: { heightOlympic: 0.7, heightRecommended: 1, heightLeast: 0.5 },
|
|
141
145
|
judges: { height: 0.6, fromEdge: 2 },
|