Class SmoothedHoleFill
This fills a hole in a mesh by doing a trivial fill, optionally offsetting along a fixed vector,
then doing a remesh, then a laplacian smooth, then a second remesh.
Inheritance
SmoothedHoleFill
Namespace: gs
Assembly: cs.temp.dll.dll
Syntax
public class SmoothedHoleFill
Constructors
SmoothedHoleFill(DMesh3, EdgeLoop)
Declaration
public SmoothedHoleFill(DMesh3 mesh, EdgeLoop fillLoop = null)
Parameters
Type |
Name |
Description |
DMesh3 |
mesh |
|
EdgeLoop |
fillLoop |
|
Fields
BorderHintTris
Declaration
public List<int> BorderHintTris
Field Value
Declaration
public Action<Remesher, bool> ConfigureRemesherF
Field Value
ConstrainToHoleInterior
If this is true, we don't modify any triangles outside hole (often results in lower-quality fill)
Declaration
public bool ConstrainToHoleInterior
Field Value
EnableLaplacianSmooth
Declaration
public bool EnableLaplacianSmooth
Field Value
FillLoop
Declaration
Field Value
Type |
Description |
EdgeLoop |
|
FillTriangles
Final fill triangles. May include triangles outside initial fill loop, if ConstrainToHoleInterior=false
Declaration
public int[] FillTriangles
Field Value
FillVertices
Declaration
public int[] FillVertices
Field Value
InitialRemeshPasses
Declaration
public int InitialRemeshPasses
Field Value
Mesh
Declaration
Field Value
OffsetDirection
Declaration
public Vector3d OffsetDirection
Field Value
Type |
Description |
Vector3d |
|
OffsetDistance
Declaration
public double OffsetDistance
Field Value
RemeshAfterSmooth
Declaration
public bool RemeshAfterSmooth
Field Value
RemeshBeforeSmooth
Declaration
public bool RemeshBeforeSmooth
Field Value
SmoothAlpha
Declaration
public double SmoothAlpha
Field Value
SmoothSolveIterations
Declaration
public int SmoothSolveIterations
Field Value
TargetEdgeLength
Declaration
public double TargetEdgeLength
Field Value
Methods
Apply()
Declaration
Returns