Fix SimpleSmoother segment splitting behavior

git-svn-id: https://triangle.svn.codeplex.com/svn@75119 0e2699bc-83d4-4a8f-98e7-55e24ab8c7a5
This commit is contained in:
SND\wo80_cp
2014-07-02 20:18:10 +00:00
parent 665e20c11f
commit dd8f6c3918
2 changed files with 4 additions and 1 deletions
@@ -48,7 +48,7 @@ namespace TriangleNet.Meshing
/// </summary>
/// <remarks>
/// If the value is 0 (default), an unknown number of Steiner points may be inserted
/// to meet the other qulaity constraints.
/// to meet the other quality constraints.
/// </remarks>
public int SteinerPoints { get; set; }
}
@@ -35,6 +35,9 @@ namespace TriangleNet.Smoothing
{
var smoothedMesh = (Mesh)mesh;
// The smoother should respect the mesh segment splitting behavior.
this.options.SegmentSplitting = smoothedMesh.behavior.NoBisect;
// Take a few smoothing rounds.
for (int i = 0; i < limit; i++)
{