Compound points =============== A compound point ties together horizontal coordinates (2D) and a vertical coordinate (1D) to fully locate a point in 3D. A ``CompoundPoint`` can be constructed by calling ``CompoundPoint::create``, which has the following signature: .. code-block:: php public static function create( Compound $crs, GeographicPoint|ProjectedPoint $horizontalPoint, VerticalPoint $verticalPoint, ?DateTimeInterface $epoch = null ): CompoundPoint Example: .. code-block:: php getHorizontalPoint(); // GeographicPoint|ProjectedPoint $vertical = $point->getVerticalPoint(); // VerticalPoint $epoch = $point->getCoordinateEpoch(); // DateTimeImmutable|null $crs = $point->getCRS(); // Compound $asString = (string) $point; // '((216692, 771274), (1345))'