---
title: "Planes and Designs"
canonical: "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/designs.html"
source: "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/designs.md"
part: "Geometry"
chapter: "Finite Planes"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Geometry", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/index-geometry.md"}
  - {"title": "Finite Planes", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/index-finite-planes.md"}
prev: {"title": "Translation Planes", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/translation-planes.md"}
next: {"title": "Planes, Graphs, and Codes", "source": "https://docs.magma-maths.org/v2.30-1/Geometry/FinitePlanes/graph-code.md"}
intrinsics:
  - {"name": "Design", "signature": "Design(P): Plane -> Dsgn, SetIncPt, SetIncBlk"}
  - {"name": "FiniteAffinePlane", "signature": "FiniteAffinePlane(D): Inc -> Plane, PlanePtSet, PlaneLnSet"}
  - {"name": "FiniteProjectivePlane", "signature": "FiniteProjectivePlane(D): Inc -> Plane, PlanePtSet, PlaneLnSet"}
examples:
  - "ex-55665c"
---

# Planes and Designs

Projective and affine planes can be viewed as special kinds of designs. The following functions convert between designs and planes.

<a id="function-design-plane"></a>
## `Design(P): Plane -> Dsgn, SetIncPt, SetIncBlk`

The design corresponding to the points and lines of the plane $P$.

<a id="function-finiteaffineplane-inc"></a>
## `FiniteAffinePlane(D): Inc -> Plane, PlanePtSet, PlaneLnSet`

The affine plane corresponding to the incidence structure $D$.

<a id="function-finiteprojectiveplane-inc"></a>
## `FiniteProjectivePlane(D): Inc -> Plane, PlanePtSet, PlaneLnSet`

The projective plane corresponding to the incidence structure $D$.

<a id="example-ex-55665c"></a>
## `Example: Projective Plane from a Singer Difference Set (ex-55665c)`

The development of a Singer difference set provides a design which satisfies the projective plane axioms, and thus can be converted to a projective plane in Magma.

```magma
> sds := SingerDifferenceSet(2, 3);
> sds;
{ 0, 1, 3, 9 }
> sdv := Development(sds);
> sdv;
2-(13, 4, 1) Design with 13 blocks
> spp := FiniteProjectivePlane(sdv);
> spp: Maximal;
Projective Plane of order 3
Points: {@ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 @}
Lines:
    {0, 1, 3, 9},
    {1, 2, 4, 10},
    {2, 3, 5, 11},
    {3, 4, 6, 12},
    {0, 4, 5, 7},
    {1, 5, 6, 8},
    {2, 6, 7, 9},
    {3, 7, 8, 10},
    {4, 8, 9, 11},
    {5, 9, 10, 12},
    {0, 6, 10, 11},
    {1, 7, 11, 12},
    {0, 2, 8, 12}
> Universe(Support(spp));
Residue class ring of integers modulo 13
```
