from __future__ import annotations
from dataclasses import dataclass, field
from decimal import Decimal
from .link_ref_structure import LinkRefStructure
from .point_ref_structure import PointRefStructure
from .projection_version_structure import ProjectionVersionStructure

__NAMESPACE__ = "http://www.netex.org.uk/netex"


@dataclass(slots=True, kw_only=True)
class PointProjectionVersionStructure(ProjectionVersionStructure):
    class Meta:
        name = "PointProjection_VersionStructure"

    projected_point_ref: None | PointRefStructure = field(
        default=None,
        metadata={
            "name": "ProjectedPointRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    project_to_point_ref: None | PointRefStructure = field(
        default=None,
        metadata={
            "name": "ProjectToPointRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    project_to_link_ref: None | LinkRefStructure = field(
        default=None,
        metadata={
            "name": "ProjectToLinkRef",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )
    distance: None | Decimal = field(
        default=None,
        metadata={
            "name": "Distance",
            "type": "Element",
            "namespace": "http://www.netex.org.uk/netex",
        }
    )