mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2026-10-07 06:18:25 +02:00
added contents
This commit is contained in:
16
Projekte/common/src/main/java/pp/util/Segment.java
Normal file
16
Projekte/common/src/main/java/pp/util/Segment.java
Normal file
@@ -0,0 +1,16 @@
|
||||
////////////////////////////////////////
|
||||
// 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 {}
|
||||
Reference in New Issue
Block a user