Aller au contenu

Message HrzProtocol.ShapeInformation

Defined in hrz/protocol/shape_editor/service.proto.

Fields

length: double

Length for polyline, perimeter for polygon. Note: Lengths do not take the DTM into account.

polyline_lengths: double``[]
segment_counts: uint32``[]

Number of segments of each polyline.

segment_lengths: double``[]
segment_bearings: double``[]

Bearing in radians, 0 points to the North, +pi/2 points to the East.

segment_angles: double``[]

Angle in radians between two successive segments of the same polyline. 0 is no rotation, +pi/2 is a right angle left turn.

area: double

Total area of the (multi-)polygon. Note: Areas do not take the DTM into account. Note: The value is meaningless if the polygon is degenerate or crosses the antimeridian.

polygon_areas: double``[]

First polygon is outer, the following ones are inners. The list can be empty if the polygon is degenerate or crosses the antimeridian.