• Advertisement
Sign in to follow this  

How to move a vertex along an edge to an arbitrary location?

This topic is 1856 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
To slide one of an edge's vertices along the edge: edge.vertex1.position += (edge.vertex2.position - edge.vertex1.position) * 0.5;

Share this post


Link to post
Share on other sites

Thanks. BTW, are there any good book recommendation for mesh manipulations, such as degenerate face elimination?

Just all about meshes/patches/nurbs... etc

Thanks

Jack

Share this post


Link to post
Share on other sites
I only know the book 'Real-time Collision Detection' has a chapter on geometric robustness, but most of what can be found in books is likely to be available in online papers as well.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement