# Access Functions

At the time an AG–Code is constructed a number of attributes describing its construction are stored along with the code. The functions in this section give the user access to these attributes.

## `Curve(C): Code -> Crv`

Given an algebraic–geometric code $C$, returns the curve from which $C$ was defined.

## `GeometricSupport(C): Code -> DivCrvElt`

Given an algebraic–geometric code $C$, return the sequence of places which forms the support for $C$.

## `Divisor(C): Code -> DivCrvElt`

Given an algebraic–geometric code $C$, return the divisor from which $C$ was constructed.

## `GoppaDesignedDistance(C): Code -> RngIntElt`

Given an algebraic–geometric code $C$ constructed from a divisor $D$, return the Goppa designed distance $n - deg(D)$.
