mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-31 20:02:29 +01:00
17 lines
474 B
Java
17 lines
474 B
Java
////////////////////////////////////////
|
|
// Programming project code
|
|
// UniBw M, 2022, 2023, 2024
|
|
// www.unibw.de/inf2
|
|
// (c) Mark Minas (mark.minas@unibw.de)
|
|
////////////////////////////////////////
|
|
|
|
package pp.util;
|
|
|
|
/**
|
|
* A directed straight line segment between two positions in the plane.
|
|
*
|
|
* @param from the start position of the segment
|
|
* @param to the end position of the segment
|
|
*/
|
|
public record Segment(Position from, Position to) implements SegmentLike {}
|