Fix parsing vertex attributes
git-svn-id: https://triangle.svn.codeplex.com/svn@74522 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user