Skip to main content
Question

point in the middle of a line

  • November 14, 2023
  • 2 replies
  • 158 views

Forum|alt.badge.img+1

Hello

I want to create a point in the middle of each line in my file. Each of these lines is made up of only 2 vertices. Can you guide me to achieve this. Thanks in advance

2 replies

geomancer
Evangelist
Forum|alt.badge.img+50
  • Evangelist
  • November 14, 2023

The CenterPointReplacer can do this for you.


geomancer
Evangelist
Forum|alt.badge.img+50
  • Evangelist
  • November 14, 2023

Or maybe you want to add a vertex in the middle of the line.

That you can do with a CoordinateExtractor, a VertexCreator, and some math.

image


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings