0
Drawing arrows
This discussion was imported from CodePlex
AnotherBor wrote at 2014-01-03 14:58:
Hi,
I have a question about LineVisual3D.
Is there a way to add tiny arrow head at the end of the line segment(s)?
I have a question about LineVisual3D.
Is there a way to add tiny arrow head at the end of the line segment(s)?
objo wrote at 2014-01-07 22:43:
I think this must be implemented in a new class similar to the LinesVisual3D. Each segment should then be defined by 3 triangles, and the 3 extra coordinates should be calculated a similar way as in LineGeometryBuilder.CreatePositions
AnotherBor wrote at 2014-01-08 02:18:
Yeah I figured that out but was just hoping so much that you say something like "there is this innocent looking property which you could use to..." :D
I checked how LineGeometryBuilder does the computations and it's beyond what I can tackle in my time frame allotted for this.
I checked how LineGeometryBuilder does the computations and it's beyond what I can tackle in my time frame allotted for this.
a5r wrote at 2014-01-08 22:21:
Petzold line class has this functionality. Maybe you can reuse it for your own needs.
AnotherBor wrote at 2014-01-09 04:45:
Yes it is an option but if I remember well Petzold line class is about 25% slower than Helix (with lines only, compared in the PointsAndLinesDemo by looking at the FPS counter).
I will try it out if arrows become a must in my project. For now lines are ok.
I will try it out if arrows become a must in my project. For now lines are ok.
everytimer wrote at 2014-07-21 09:19:
Could someone provide an example using Petzold line to display a visual arrow? Thank you very much
Customer support service by UserEcho