syntax = "proto2"; import "modules/common_msgs/basic_msgs/geometry.proto"; package apollo.hdmap; // Polygon, not necessary convex. message Polygon { repeated apollo.common.PointENU point = 1; } // Straight line segment. message LineSegment { repeated apollo.common.PointENU point = 1; } // Generalization of a line. message CurveSegment { oneof curve_type { LineSegment line_segment = 1; } optional double s = 6; // start position (s-coordinate) optional apollo.common.PointENU start_position = 7; optional double heading = 8; // start orientation optional double length = 9; } // An object similar to a line but that need not be straight. message Curve { repeated CurveSegment segment = 1; }