Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

removing duplicates, updating pointers

Status
Not open for further replies.

Maurader

Technical User
May 8, 2002
59
0
0
CA
I have an array of points, which form the vertices a triangles. I also have an array of triangles, each of which has a 3 pointers pointing to 3 elements of the array. The original array contains duplicate points, as one point may be the vertex of more than one triangle. I need to delete all duplicate points from the array, while updating the pointers of the triangles to point to the vertex that was not deleted. Is there a way I can do this?

Thanks,

Simon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top