There exist natural mathematical constructions to form a projective plane from
an affine plane and vice versa. The functions in the this section
provide a quick and easy way to do this in Magma.
AffinePlane(P, l) : ProjPl, PlaneLn -> AffPl, Map
The affine plane obtained by removing the line l from the projective plane P, plus the embedding map from the affine plane to P.
The projective completion of the affine plane P, plus the embedding map from P to the projective plane.
> A := AffinePlane(3); > P := ProjectiveEmbedding(A); > P; Projective Plane of order 3 > A2 := AffinePlane(P, Random(LineSet(P))); > A2; Affine Plane of order 3 > iso, map := IsIsomorphic(A, A2); > is_iso, map := IsIsomorphic(A, A2); > is_iso; true > map; Mapping from: PlaneAff: A to PlaneAff: A2