Class RegionRemesher
Inheritance
RegionRemesher
Namespace: g3
Assembly: cs.temp.dll.dll
Syntax
public class RegionRemesher : Remesher
Constructors
RegionRemesher(DMesh3, IEnumerable<Int32>)
Declaration
public RegionRemesher(DMesh3 mesh, IEnumerable<int> regionTris)
Parameters
RegionRemesher(DMesh3, Int32[])
Declaration
public RegionRemesher(DMesh3 mesh, int[] regionTris)
Parameters
Fields
BaseMesh
Declaration
Field Value
Region
Declaration
Field Value
ReinsertDuplicateTriBehavior
Declaration
public MeshEditor.DuplicateTriBehavior ReinsertDuplicateTriBehavior
Field Value
ReinsertSubToBaseMapV
Declaration
public IndexMap ReinsertSubToBaseMapV
Field Value
Properties
CurrentBaseTriangles
list of sub-region triangles. This is either the input regionTris,
or the submesh triangles after they are re-inserted.
Declaration
public int[] CurrentBaseTriangles { get; }
Property Value
Methods
BackPropropagate(Boolean)
Declaration
public bool BackPropropagate(bool bAllowSubmeshRepairs = true)
Parameters
Type |
Name |
Description |
Boolean |
bAllowSubmeshRepairs |
|
Returns
QuickRemesh(DMesh3, Int32[], Double, Double, Double, Int32, IProjectionTarget, RegionRemesher.QuickRemeshFlags)
Declaration
public static RegionRemesher QuickRemesh(DMesh3 mesh, int[] tris, double minEdgeLen, double maxEdgeLen, double smoothSpeed, int rounds, IProjectionTarget target, RegionRemesher.QuickRemeshFlags flags = RegionRemesher.QuickRemeshFlags.PreventNormalFlips)
Parameters
Returns
QuickRemesh(DMesh3, Int32[], Double, Double, Int32, IProjectionTarget, RegionRemesher.QuickRemeshFlags)
Declaration
public static RegionRemesher QuickRemesh(DMesh3 mesh, int[] tris, double targetEdgeLen, double smoothSpeed, int rounds, IProjectionTarget target, RegionRemesher.QuickRemeshFlags flags = RegionRemesher.QuickRemeshFlags.PreventNormalFlips)
Parameters
Returns
RepairPossibleNonManifoldEdges()
Declaration
public void RepairPossibleNonManifoldEdges()
SetSubmeshGroupID(Int32)
set group ID for entire submesh
Declaration
public void SetSubmeshGroupID(int gid)
Parameters
Type |
Name |
Description |
Int32 |
gid |
|