Skip to main content
Solved

Creating 3d lines from 3d points

  • September 20, 2018
  • 1 reply
  • 47 views

Forum|alt.badge.img

I want to connect the orange and green points together to form 3d polylines (I'm in effect wanting to create a ray). The orange points represent a point on the ground and the green points represent the point in space where an image was taken of the point on the ground.

Best answer by david_r

If there's a common ID between the green and orange points, you can for example do:

  • CoordinateExtractor on the green points
  • FeatureMerger on the common ID, the orange points as the Requestor
  • After the Merged output, use a VertexCreator to add the vertex from the green point to the orange point, thereby making a line.

You could also consider using the NeighborFinder for an alternative solution.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

david_r
Celebrity
  • 8394 replies
  • Best Answer
  • September 20, 2018

If there's a common ID between the green and orange points, you can for example do:

  • CoordinateExtractor on the green points
  • FeatureMerger on the common ID, the orange points as the Requestor
  • After the Merged output, use a VertexCreator to add the vertex from the green point to the orange point, thereby making a line.

You could also consider using the NeighborFinder for an alternative solution.