22 lines
499 B
Java
22 lines
499 B
Java
package com.dongni.collisionavoidance.config.properties;
|
|
|
|
import lombok.Data;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Represents the geometry part of a road in the YAML configuration.
|
|
*/
|
|
@Data
|
|
public class GeometryProperties {
|
|
/**
|
|
* The type of geometry, expected to be "LineString".
|
|
*/
|
|
private String type;
|
|
|
|
/**
|
|
* List of coordinates defining the geometry.
|
|
* For LineString, it's a list of [longitude, latitude] pairs.
|
|
*/
|
|
private List<List<Double>> coordinates;
|
|
} |