New rendering code check-in

git-svn-id: https://triangle.svn.codeplex.com/svn@75033 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
This commit is contained in:
SND\wo80_cp
2014-05-31 12:12:08 +00:00
parent a9de99f651
commit 70b25002dc
42 changed files with 2648 additions and 11 deletions
@@ -42,7 +42,7 @@ namespace TriangleNet.Meshing.Algorithm
if (Log.Verbose)
{
Log.Instance.Warning("A duplicate vertex appeared and was ignored.",
"Incremental.IncrementalDelaunay()");
"Incremental.Triangulate()");
}
v.type = VertexType.UndeadVertex;
mesh.undeads++;
@@ -78,6 +78,19 @@ namespace TriangleNet.Meshing
return mesh;
}
/// <summary>
/// Generates a structured mesh with bounds (0, 0, width, height).
/// </summary>
/// <param name="width">Width of the mesh (must be > 0).</param>
/// <param name="height">Height of the mesh (must be > 0).</param>
/// <param name="nx">Number of segments in x direction.</param>
/// <param name="ny">Number of segments in y direction.</param>
/// <returns>Mesh</returns>
public IMesh StructurdMesh(double width, double height, int nx, int ny)
{
return StructurdMesh(new Rectangle(0.0, 0.0, width, height), nx, ny);
}
/// <summary>
/// Generates a structured mesh.
/// </summary>
+1
View File
@@ -15,6 +15,7 @@ namespace TriangleNet.Meshing
Rectangle Bounds { get; }
void Renumber();
void Refine(QualityOptions quality);
}
}