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:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user