Skip to content

[feature request] anchors for line's coordinates + length and area #1121

Description

@Akilon27

It would be interesting to have anchors to the coordinates that makes the line up.

I know it was already proposed in #640 and closed as not planned after the author refused the proposed syntax (which was very reasonable). Could you add it ?

The proposed syntax was : for a line name "line", "line.pt-1" for the first point and so on.

The advantages I see :

  • the line function resolves coordinates so no need to resolve them again if they are necessary elsewhere
  • it add the possibility to compute the line length (and if close: true, the area with the shoelace formula)

In the angle function, the measure can be accessed if a function is given to the label which is awesome, could the same be implemented for the length and area ?

Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions