Posts tagged .net

String Extension Method to Convert a String to Title Case in VB .NET

If you are regularly doing an operation on a common type, extension methods are a great way to create shorthand functions for this. In this post I am sharing my string extension method to convert a string to Title Case (Pascal Case):

Delaunay Triangulation

Pseudo-code for triangulation: subroutine triangulate input : vertex list output : triangle list initialize the triangle list determine the supertriangle add supertriangle vertices to the end of the vertex list add the supertriangle to the triangle list for each sample point in the vertex list initialize the edge buffer for each triangle currently in the […]