Skip to content

[mxcad_2d API documentation] (../README. md)/[2d] (../modules/2d. md)/PointSegmentRelation

Interface: PointSegmentRelation ​

2d.PointSegmentRelation

Click to obtain the data structure associated with line segments

Table of contents ​

Properties ​

Properties ​

allOffsetLines ​

• allOffsetLines: McGePoint3d[][]

Coordinate points of all offset lines (arranged in a specific order [maximum offset line, minimum offset line, second largest offset line, second smallest offset line,...])


clickPoint ​

• clickPoint: McGePoint3d

Accurate points on line segments


elementIndex ​

• elementIndex: number

Offset element index


segmentIndex ​

• segmentIndex: number

Line segment index