MeasuredLine Class

Summary:

Module: aspose.gis.labeling.line

Full Name: aspose.gis.labeling.line.MeasuredLine

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
MeasuredLine(line)Initializes a new instance of the MeasuredLine class

Properties

NameTypeAccessDescription
distance_to_segmentSystem.Collections.Generic.IReadOnlyListr
is_closedboolr
lineSystem.Collections.Generic.IReadOnlyList<Aspose.Gis.Common.Coordinate>r
middle_of_linedoubler
segment_lengthsSystem.Collections.Generic.IReadOnlyListr
total_line_lengthdoubler

Methods

NameDescription
get_point_by_distance(distance_along_line)
get_segment_index(distance_along_line)

Constructor: MeasuredLine(line)

 MeasuredLine(line) 

Initializes a new instance of the MeasuredLine class

Parameters:

ParameterTypeDescription
lineSystem.Collections.Generic.IReadOnlyList<Aspose.Gis.Common.Coordinate>

Method: get_point_by_distance(distance_along_line)

 get_point_by_distance(distance_along_line) 

Parameters:

ParameterTypeDescription
distance_along_linedouble

Returns

TypeDescription
Coordinate

Method: get_segment_index(distance_along_line)

 get_segment_index(distance_along_line) 

Parameters:

ParameterTypeDescription
distance_along_linedouble

Returns

TypeDescription
int