Пример #1
0
        public TriangleLocator(Mesh mesh, IPredicates predicates)
        {
            this.mesh       = mesh;
            this.predicates = predicates;

            sampler = new TriangleSampler(mesh);
        }
Пример #2
0
        public TriangleLocator(TriangleNetMesh triangleNetMesh, IPredicates predicates)
        {
            _TriangleNetMesh = triangleNetMesh;
            this.predicates  = predicates;

            sampler = new TriangleSampler(triangleNetMesh);
        }