SegmentLabelFormatOptions: {
    defaultFormatter: SegmentLabelFormatter;
    end: Vector3;
    length: number;
    shape: entities.Shape;
    start: Vector3;
}

Type declaration

  • defaultFormatter: SegmentLabelFormatter

    The default formatter for segments.

  • end: Vector3

    The coordinate of the segment end.

  • length: number

    The length of the segment or line, in CRS units.

  • shape: entities.Shape

    The shape the lable belongs to.

  • start: Vector3

    The coordinate of the segment start.