예제 #1
0
        public QualityMesher(Mesh mesh)
        {
            badsubsegs = new Queue <BadSubseg>();
            queue      = new BadTriQueue();

            this.mesh = mesh;
            behavior  = mesh.behavior;
        }
예제 #2
0
        public QualityMesher(Mesh mesh, Configuration config)
        {
            badsubsegs = new Queue <BadSubseg>();
            queue      = new BadTriQueue();

            this.mesh       = mesh;
            this.predicates = config.Predicates();

            this.behavior = mesh.behavior;

            newLocation = new NewLocation(mesh, predicates);

            newvertex_tri = new Triangle();
        }
예제 #3
0
        public QualityMesher(TriangleNetMesh triangleNetMesh, Configuration config)
        {
            logger = Log.Instance;

            badsubsegs = new Queue <BadSubseg>();
            queue      = new BadTriQueue();

            this._TriangleNetMesh = triangleNetMesh;
            this.predicates       = config.Predicates();

            this.behavior = triangleNetMesh.behavior;

            newLocation = new NewLocation(triangleNetMesh, predicates);

            newvertex_tri = new Triangle();
        }