@novorender/web_app / RoadCrossSection
Interface: RoadCrossSection
Cross section of a road
Properties
codes
readonly codes: number[];
Layer codes, this array matches the 3d and 2d points
Defined in
@novorender/measure/modules/road/index.ts:23
labels
readonly labels: string[];
Layer names, this array matches the 3d and 2d points
Defined in
@novorender/measure/modules/road/index.ts:16
points
readonly points: ReadonlyVec3[];
3d points between the different layers [ditch, should, road, center]
Defined in
@novorender/measure/modules/road/index.ts:9
points2D
readonly points2D: ReadonlyVec2[];
2d points between the different layers [ditch, should, road, center] projected on a plane along the center line
Defined in
@novorender/measure/modules/road/index.ts:14
slopes
readonly slopes: object;
Slope from centerline to shoulder [left, Right]
left
left: object;
left.end
end: ReadonlyVec3;
left.slope
slope: number;
left.start
start: ReadonlyVec3;
right
right: object;
right.end
end: ReadonlyVec3;
right.slope
slope: number;
right.start
start: ReadonlyVec3;