Fix parsing vertex attributes

git-svn-id: https://triangle.svn.codeplex.com/svn@74522 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
This commit is contained in:
SND\wo80_cp
2014-02-07 21:23:00 +00:00
parent 729e5e692b
commit e80534ac05
2 changed files with 3 additions and 14 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ namespace TriangleNet.IO
{
if (line.Length > 3 + j)
{
attribs[j] = double.Parse(line[3 + j]);
attribs[j] = double.Parse(line[3 + j], nfi);
}
}
+2 -13
View File
@@ -30,20 +30,9 @@ namespace TriangleNet.Tools
}
/// <summary>
/// Spread regional attributes and/or area constraints (from a .poly file)
/// throughout the mesh.
/// Apply given action to each triangle of selected region.
/// </summary>
/// <param name="attribute"></param>
/// <param name="area"></param>
/// <remarks>
/// This procedure operates in two phases. The first phase spreads an
/// attribute and/or an area constraint through a (segment-bounded) region.
/// The triangles are marked to ensure that each triangle is added to the
/// virus pool only once, so the procedure will terminate.
///
/// The second phase uninfects all infected triangles, returning them to
/// normal.
/// </remarks>
/// <param name="func"></param>
void ProcessRegion(Action<Triangle> func)
{
Otri testtri = default(Otri);