/dports/lang/yorick/yorick-y_2_2_04/hex/ |
H A D | yhex.c | 97 mesh->mesh.orient= 0; in new_YHX() 98 mesh->mesh.stride= 0; in new_YHX() 104 mesh->mesh.block= 0; in new_YHX() 132 ary= mesh->mesh.xyz? Pointee(mesh->mesh.xyz) : 0; in free_YHX() 133 mesh->mesh.xyz= 0; in free_YHX() 135 ary= mesh->mesh.bound? Pointee(mesh->mesh.bound) : 0; in free_YHX() 136 mesh->mesh.bound= 0; in free_YHX() 138 ary= mesh->mesh.bnds? Pointee(mesh->mesh.bnds) : 0; in free_YHX() 139 mesh->mesh.bnds= 0; in free_YHX() 141 ary= mesh->mesh.blks? Pointee(mesh->mesh.blks) : 0; in free_YHX() [all …]
|
/dports/graphics/nanort/nanort-b1feea8/examples/common/ |
H A D | obj-loader.cc | 221 mesh.name = shapes[i].name; in LoadObj() 252 mesh.material_ids[f] = in LoadObj() 412 mesh.pivot_xform[0][0] = 1.0f; in LoadObj() 413 mesh.pivot_xform[0][1] = 0.0f; in LoadObj() 414 mesh.pivot_xform[0][2] = 0.0f; in LoadObj() 415 mesh.pivot_xform[0][3] = 0.0f; in LoadObj() 417 mesh.pivot_xform[1][0] = 0.0f; in LoadObj() 418 mesh.pivot_xform[1][1] = 1.0f; in LoadObj() 419 mesh.pivot_xform[1][2] = 0.0f; in LoadObj() 420 mesh.pivot_xform[1][3] = 0.0f; in LoadObj() [all …]
|
/dports/devel/ignition-common/ignitionrobotics-ign-common-a5c4d5a35bb8/graphics/src/ |
H A D | Mesh_TEST.cc | 36 EXPECT_TRUE(mesh != NULL); in TEST_F() 38 mesh->SetName("new_mesh"); in TEST_F() 41 mesh->SetPath("."); in TEST_F() 42 EXPECT_EQ(mesh->Path(), "."); in TEST_F() 80 EXPECT_EQ(mesh->Min(), v0); in TEST_F() 81 EXPECT_EQ(mesh->Max(), v0); in TEST_F() 87 mesh->AABB(c, min, max); in TEST_F() 94 mesh->SetScale(scale); in TEST_F() 99 mesh->Scale(scale); in TEST_F() 106 mesh->Translate(t0); in TEST_F() [all …]
|
/dports/math/py-numpy-stl/numpy-stl-2.11.3/tests/ |
H A D | test_rotate.py | 5 from stl.mesh import Mesh 76 mesh.vectors, 83 mesh.vectors, 90 mesh.vectors, 114 mesh.vectors, 153 mesh.translate([0.0, 0.0, 0.0]) 170 mesh.translate([1.0, 2.0, 3.0]) 187 mesh.transform(numpy.eye(4)) 190 assert numpy.allclose(mesh.areas, 0.5) 208 mesh.transform(tr) [all …]
|
/dports/devel/py-trimesh/trimesh-3.5.25/trimesh/ |
H A D | repair.py | 27 def fix_winding(mesh): argument 83 mesh.faces = faces 131 mesh.faces[flip] = np.fliplr(mesh.faces[flip]) 135 elif mesh.volume < 0.0: 137 mesh.invert() 163 fix_winding(mesh) 196 def fill_holes(mesh): argument 238 if mesh.is_watertight: 318 if mesh.visual.defined and mesh.visual.kind == 'face': 324 mesh.faces = np.vstack((mesh._data['faces'], new_faces[valid])) [all …]
|
/dports/math/freefem++/FreeFem-sources-4.6/src/medit/ |
H A D | picking.c | 403 if (mesh->nbb && mesh->typage == 1) infoData(sc, mesh, k, LTria); in infoEntity() 418 if (mesh->nbb && mesh->typage == 1) infoData(sc, mesh, k, LQuad); in infoEntity() 433 if (mesh->nbb && mesh->typage == 1) infoData(sc, mesh, k, LTets); in infoEntity() 449 if (mesh->nbb && mesh->typage == 1) infoData(sc, mesh, k, LHexa); in infoEntity() 479 if (nbmax < mesh->nt + mesh->nq + mesh->ntet + mesh->nhex) { in getColorRange() 653 base = mesh->nt + mesh->nq; in displayTets() 702 base = mesh->nt + mesh->nq + mesh->ntet; in displayHexa() 881 mesh = cv.mesh[sc->idmesh]; in pickingScene() 926 } else if (item <= mesh->nt + mesh->nq + mesh->ntet) { in pickingScene() 929 } else if (item <= mesh->nt + mesh->nq + mesh->ntet + mesh->nhex) { in pickingScene() [all …]
|
/dports/science/medit/medit-2012.02.05_5/sources/ |
H A D | picking.c | 367 if ( mesh->nbb && mesh->typage == 1 ) infoData(sc,mesh,k,LTria); in infoEntity() 380 if ( mesh->nbb && mesh->typage == 1 ) infoData(sc,mesh,k,LQuad); in infoEntity() 393 if ( mesh->nbb && mesh->typage == 1 ) infoData(sc,mesh,k,LTets); in infoEntity() 407 if ( mesh->nbb && mesh->typage == 1 ) infoData(sc,mesh,k,LHexa); in infoEntity() 433 if ( nbmax < mesh->nt+mesh->nq+mesh->ntet+mesh->nhex ) { in getColorRange() 584 base = mesh->nt + mesh->nq; in displayTets() 629 base = mesh->nt + mesh->nq + mesh->ntet; in displayHexa() 800 mesh = cv.mesh[sc->idmesh]; in pickingScene() 850 else if ( item <= mesh->nt+mesh->nq+mesh->ntet ) { in pickingScene() 854 else if ( item <= mesh->nt+mesh->nq+mesh->ntet+mesh->nhex ) { in pickingScene() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/hxt/tetMesh/src/ |
H A D | hxt_tetRepair.c | 32 HXT_CHECK( hxtAlignedMalloc(&mesh->tetrahedra.neigh, mesh->tetrahedra.size*4*sizeof(uint64_t)) ); in hxtTetAdjacencies() 237 mesh->tetrahedra.node = newNode; in hxtTetReorder() 298 if(mesh->tetrahedra.node==NULL && mesh->tetrahedra.num!=0) { in hxtTetVerify() 302 if(mesh->tetrahedra.neigh==NULL && mesh->tetrahedra.num!=0) in hxtTetVerify() 314 if(mesh->tetrahedra.flag && getDeletedFlag(mesh, i)){ in hxtTetVerify() 354 if(mesh->tetrahedra.neigh) { in hxtTetVerify() 373 if(mesh->tetrahedra.flag && getDeletedFlag(mesh, neigh)) { in hxtTetVerify() 415 …if(mesh->tetrahedra.flag && (getFacetConstraint(mesh, i,j)!=0) ^ (getFacetConstraint(mesh, neigh, … in hxtTetVerify() 449 setDeletedFlag(mesh, i); in hxtRemoveGhosts() 500 status = hxtTetrahedraReserve(mesh, totalHullCount+mesh->tetrahedra.num); in hxtAddGhosts() [all …]
|
H A D | hxt_tetColor.c | 49 HXT_CHECK( hxtAlignedMalloc(&mesh->tetrahedra.color, sizeof(uint32_t)*mesh->tetrahedra.size) ); in hxtColorMesh() 50 memset(mesh->tetrahedra.color, 0, sizeof(uint32_t) * mesh->tetrahedra.size); in hxtColorMesh() 60 if(mesh->tetrahedra.color[i]==0){ in hxtColorMesh() 100 mesh->tetrahedra.color[i]-=2; in hxtColorMesh() 103 mesh->tetrahedra.color[i]--; in hxtColorMesh() 116 if(mesh->triangles.color == NULL) { in hxtMapColorsToBrep() 259 memset(mesh->brep.numSurfacesPerVolume, 0, sizeof(uint32_t) * mesh->brep.numVolumes); in hxtMapColorsToBrep() 349 mesh->tetrahedra.color[i] = volumeMap[mesh->tetrahedra.color[i]]; in hxtMapColorsToBrep() 366 if(mesh->tetrahedra.color[i]>=mesh->brep.numVolumes) { in setFlagsToProcessOnlyVolumesInBrep() 367 setProcessedFlag(mesh, i); in setFlagsToProcessOnlyVolumesInBrep() [all …]
|
/dports/math/octave-forge-secs2d/secs2d-0.0.8/inst/Utilities/ |
H A D | Uscharfettergummel3.m | 39 ## [mesh.p,mesh.e,mesh.t] = Ustructmesh([0:1/3:1],[0:1/3:1],1,1:4); 40 ## mesh = Umeshproperties(mesh); 166 %! [mesh.p,mesh.e,mesh.t] = Ustructmesh([0:1/3:1],[0:1/3:1],1,1:4); 167 %! mesh = Umeshproperties(mesh); 184 %! mesh = Umeshproperties(mesh); 201 %! mesh = Umeshproperties(mesh); 218 %! mesh = Umeshproperties(mesh); 235 %! mesh = Umeshproperties(mesh); 253 %! mesh = Umeshproperties(mesh); 270 %! [mesh.p,mesh.e,mesh.t] = Ustructmesh([0:.1:1],[0:.1:1],1,1:4); [all …]
|
/dports/math/freefem++/FreeFem-sources-4.6/examples/bamg/square/ |
H A D | dotest | 1 rm -f *[0s].mesh 11 echo ${bamg} -g square_g.mesh -o square_0.mesh $quad 12 ${bamg} -g square_g.mesh -o square_0.mesh $quad 15 echo ${bamg} -g square_g.mesh -o square_0.mesh $quad 16 ${bamg} -splitpbedge -g square_g.mesh -o square_s.mesh $quad 20 ${bamg} -g circle_g.mesh -o circle_0.mesh $quad 24 ${bamg} -g octogone_g.mesh -o octogone_0.mesh $quad 28 ${bamg} -g square_raf_g.mesh -o square_raf_0.mesh $quad 32 ${bamg} -splitpbedge -g square_raf_g.mesh -o square_raf_s.mesh $quad 36 ${bamg} -g square_raf_g.mesh -o square_raf_ani_0.mesh -M square_raf_ani_g.mtr $quad [all …]
|
/dports/graphics/nanort/nanort-b1feea8/examples/uv_raster/ |
H A D | main.cc | 252 mesh->uv_face_indices.resize(mesh->triangulated_indices.size()); in SetupVerticesForUVRaster() 253 std::iota(mesh->uv_face_indices.begin(), mesh->uv_face_indices.end(), 0); in SetupVerticesForUVRaster() 346 mesh.vertices.clear(); in LoadObj() 355 mesh.face_ids.clear(); in LoadObj() 371 mesh.face_index_offsets.push_back(mesh.face_indices.size()); in LoadObj() 417 mesh.material_ids.push_back(shapes[s].mesh.material_ids[f]); in LoadObj() 418 mesh.material_ids.push_back(shapes[s].mesh.material_ids[f]); in LoadObj() 448 mesh.material_ids.push_back(shapes[s].mesh.material_ids[f]); in LoadObj() 666 example::Mesh mesh; in main() local 677 ret = example::SaveObj("uvmesh.obj", mesh.uv_vertices, mesh.facevarying_uvs, in main() [all …]
|
/dports/science/quantum-espresso/q-e-qe-6.7.0/atomic/src/ |
H A D | import_upf.f90 | 65 grid%mesh = upf%mesh 67 grid%r (1:grid%mesh) = upf%r (1:upf%mesh) 68 grid%rab(1:grid%mesh) = upf%rab(1:upf%mesh) 69 grid%r2 (1:grid%mesh) = grid%r(1:grid%mesh)**2 150 rhoc(1:grid%mesh) = upf%rho_atc(1:upf%mesh)*fpi*grid%r2(1:upf%mesh) 155 rhos (1:grid%mesh,1) = upf%rho_at (1:upf%mesh) 165 vpsloc(1:grid%mesh) = upf%vloc(1:upf%mesh) 197 mesh=upf_%mesh 230 pawset_%aeccharge(1:mesh) = upf_%paw%ae_rho_atc(1:mesh)*fpi*upf_%r(1:mesh)**2 231 pawset_%psccharge(1:mesh) = upf_%rho_atc(1:mesh)*fpi*upf_%r(1:mesh)**2 [all …]
|
/dports/archivers/draco/draco-1.4.3/maya/draco_maya_tests/ |
H A D | draco_maya_wrapper_test.py | 62 mesh = DrcMesh() 63 mesh.faces = [0, 1, 2] 64 mesh.faces_num = 1 66 mesh.vertices_num = 3 71 self.drc.encode(mesh, file) 77 mesh = DrcMesh() 78 mesh.faces = [0, 1, 2] 79 mesh.faces_num = 1 81 mesh.vertices_num = 3 84 self.drc.encode(mesh, file) [all …]
|
/dports/math/openmesh/OpenMesh-8.1/src/Unittests/ |
H A D | unittests_subdivider_adaptive.cc | 70 MyMesh mesh; in TEST_F() local 71 mesh.request_vertex_status(); in TEST_F() 72 mesh.request_edge_status(); in TEST_F() 73 mesh.request_face_status(); in TEST_F() 75 mesh.request_face_normals(); in TEST_F() 97 mesh.add_face(face_vhandles); in TEST_F() 104 mesh.add_face(face_vhandles); in TEST_F() 111 mesh.add_face(face_vhandles); in TEST_F() 185 MyMesh mesh; in TEST_F() local 187 mesh.request_edge_status(); in TEST_F() [all …]
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/src/compositor/ |
H A D | mesh.c | 235 …mesh->vertices[mesh->v_count].normal.x = mesh->vertices[mesh->v_count].normal.y = mesh->vertices[m… in mesh_set_point() 443 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cylinder() 444 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-2, mesh->v_count-1); in mesh_new_cylinder() 458 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cylinder() 459 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-2, mesh->v_count-1); in mesh_new_cylinder() 544 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cone() 554 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cone() 677 mesh_set_triangle(mesh, mesh->v_count-3, mesh->v_count-4, mesh->v_count-2); in mesh_new_sphere() 678 mesh_set_triangle(mesh, mesh->v_count-3, mesh->v_count-2, mesh->v_count-1); in mesh_new_sphere() 691 mesh_set_triangle(mesh, mesh->v_count-3, mesh->v_count-4, mesh->v_count-2); in mesh_new_sphere() [all …]
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/src/compositor/ |
H A D | mesh.c | 235 …mesh->vertices[mesh->v_count].normal.x = mesh->vertices[mesh->v_count].normal.y = mesh->vertices[m… in mesh_set_point() 443 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cylinder() 444 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-2, mesh->v_count-1); in mesh_new_cylinder() 458 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cylinder() 459 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-2, mesh->v_count-1); in mesh_new_cylinder() 544 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cone() 554 mesh_set_triangle(mesh, mesh->v_count-4, mesh->v_count-1, mesh->v_count-3); in mesh_new_cone() 677 mesh_set_triangle(mesh, mesh->v_count-3, mesh->v_count-4, mesh->v_count-2); in mesh_new_sphere() 678 mesh_set_triangle(mesh, mesh->v_count-3, mesh->v_count-2, mesh->v_count-1); in mesh_new_sphere() 691 mesh_set_triangle(mesh, mesh->v_count-3, mesh->v_count-4, mesh->v_count-2); in mesh_new_sphere() [all …]
|
/dports/math/libmesh/libmesh-1.6.2/tests/systems/ |
H A D | equation_systems_test.C | 67 Mesh mesh(*TestCommWorld); in testConstruction() 68 EquationSystems es(mesh); in testConstruction() 73 Mesh mesh(*TestCommWorld); in testAddSystem() 74 EquationSystems es(mesh); in testAddSystem() 81 EquationSystems es(mesh); in testInit() 91 EquationSystems es(mesh); in testPostInitAddSystem() 102 EquationSystems es(mesh); in testPostInitAddRealSystem() 122 Elem * e = mesh.add_elem(Elem::build_with_id(EDGE2, mesh.max_elem_id())); in testPostInitAddElem() 126 mesh.prepare_for_use(); in testPostInitAddElem() 138 mesh.prepare_for_use(); in testReinitWithNodeElem() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/Netgen/libsrc/stlgeom/ |
H A D | meshstlsurface.cpp | 17 class Mesh & mesh) in STLFindEdges() argument 164 if (Dist (mesh.Point(seg[0]), mesh.Point(seg[1])) < 1e-10) in STLFindEdges() 240 class Mesh & mesh, 304 geom.AddMarkedSeg(mesh.Point(seg[0]),mesh.Point(seg[1])); in STLSurfaceMeshing() 430 mesh.RestrictLocalH (Center (mesh.Point(nseg1[0]), in STLSurfaceMeshing() 434 mesh.RestrictLocalH (Center (mesh.Point(nseg2[0]), in STLSurfaceMeshing() 485 refpts.Append (mesh.Point (mesh.SurfaceElement(i).PNum(j))); in STLSurfaceMeshing() 505 refpts.Append (mesh.Point (mesh.SurfaceElement(i).PNum(1))); in STLSurfaceMeshing() 517 mesh.Compress(); in STLSurfaceMeshing() 538 mesh.Compress(); in STLSurfaceMeshing() [all …]
|
/dports/science/elmerfem/elmerfem-release-9.0/ElmerGUI/netgen/libsrc/stlgeom/ |
H A D | meshstlsurface.cpp | 17 class Mesh & mesh) in STLFindEdges() argument 164 if (Dist (mesh.Point(seg.p1), mesh.Point(seg.p2)) < 1e-10) in STLFindEdges() 240 class Mesh & mesh, 304 geom.AddMarkedSeg(mesh.Point(seg.p1),mesh.Point(seg.p2)); in STLSurfaceMeshing() 430 mesh.RestrictLocalH (Center (mesh.Point(nseg1.p1), in STLSurfaceMeshing() 434 mesh.RestrictLocalH (Center (mesh.Point(nseg2.p1), in STLSurfaceMeshing() 485 refpts.Append (mesh.Point (mesh.SurfaceElement(i).PNum(j))); in STLSurfaceMeshing() 505 refpts.Append (mesh.Point (mesh.SurfaceElement(i).PNum(1))); in STLSurfaceMeshing() 517 mesh.Compress(); in STLSurfaceMeshing() 538 mesh.Compress(); in STLSurfaceMeshing() [all …]
|
/dports/cad/gmsh/gmsh-4.9.2-source/contrib/hxt/tetMesh/include/ |
H A D | hxt_tetFlag.h | 187 return mesh->tetrahedra.flag[tet] & HXT_ALL_EDGES_MASK; in isAnyEdgeConstrained() 235 mesh->tetrahedra.flag[tet] |= (UINT16_C(1)<<edgeNum); in setEdgeConstraint() 239 mesh->tetrahedra.flag[tet] &= ~(UINT16_C(1)<<edgeNum); in unsetEdgeConstraint() 311 return mesh->tetrahedra.flag[tet] & HXT_DELETED_MASK; in getDeletedFlag() 315 mesh->tetrahedra.flag[tet] |= HXT_DELETED_MASK; in setDeletedFlag() 319 mesh->tetrahedra.flag[tet] &= ~HXT_DELETED_MASK; in unsetDeletedFlag() 331 mesh->tetrahedra.flag[tet] |= HXT_PROCESSED_MASK; in setProcessedFlag() 336 mesh->tetrahedra.flag[tet] &= ~HXT_PROCESSED_MASK; in unsetProcessedFlag() 350 mesh->tetrahedra.flag[tet] |= (UINT16_C(0x1000)<<id); in setUnusedFlag() 355 mesh->tetrahedra.flag[tet] &= ~(UINT16_C(0x1000)<<id); in unsetUnusedFlag() [all …]
|
/dports/graphics/wdune/wdune-1.926/vcglib/wrap/igl/ |
H A D | smooth_field.h | 86 mesh.vert[i].Q()=CurvAni; in InitQualityByAnisotropyDir() 142 if (mesh.face[i].Q()>thr)mesh.face[i].SetS(); 175 dir=mesh.face[i].PD2(); in CollectHardConstraints() 194 numS=mesh.fn-numS; in CollectSoftConstraints() 304 indexF=rand()%mesh.fn; in PickRandomDir() 372 AddBorderConstraints(mesh); in SelectConstraints() 380 mesh.face[indexF].PD2()=mesh.face[indexF].N()^dir; in SelectConstraints() 383 mesh.face[indexF].SetS(); in SelectConstraints() 412 mesh.vert[i].K1()=PV1(i,0); 413 mesh.vert[i].K2()=PV2(i,0); [all …]
|
/dports/math/openmesh/OpenMesh-8.1/src/OpenMesh/Core/Utils/ |
H A D | PropertyManager.hh | 121 …std::swap(lhs.mesh().property(lhs.prop_).data_vector(), rhs.mesh().property(rhs.prop_).data_vector… in swap() 123 lhs.mesh().property(lhs.prop_).resize(lhs.mesh().template n_elements<Handle>()); in swap() 124 rhs.mesh().property(rhs.prop_).resize(rhs.mesh().template n_elements<Handle>()); in swap() 178 …PropertyManager(PolyConnectivity& mesh, const char *propname) : mesh_(mesh), retain_(true), name_(… in PropertyManager() argument 208 PropertyManager(const PolyConnectivity& mesh) : mesh_(mesh), retain_(false), name_("") { in PropertyManager() argument 600 PolyConnectivity& mesh() const in mesh() function in OpenMesh::PropertyManager 622 mesh_(mesh), in ConstPropertyViewer() 908 getPointsProperty(MeshT &mesh) { in getPointsProperty() argument 909 …return PropertyManager<OpenMesh::VPropHandleT<typename MeshT::Point>>(mesh, mesh.points_property_h… in getPointsProperty() 917 getPointsProperty(const MeshT &mesh) { in getPointsProperty() argument [all …]
|
/dports/cad/netgen/netgen-6.2.2105/libsrc/meshing/ |
H A D | validate.cpp | 12 const int np = mesh.GetNP(); in GetPureBadness() 26 mesh.Point(i+1) = Center(mesh.Point(mesh.mlbetweennodes[i+PointIndex::BASE][0]), in GetPureBadness() 27 mesh.Point(mesh.mlbetweennodes[i+PointIndex::BASE][1])); in GetPureBadness() 32 double bad = mesh[i].CalcJacobianBadness (mesh.Points()); in GetPureBadness() 84 double bad = mesh[i].CalcJacobianBadness (mesh.Points()); in Validate() 312 Vec<3> auxvec = Cross(mesh.Point(sel.PNum(2))-mesh.Point(sel.PNum(1)), in RepairBisection() 484 ne = mesh.GetNE(); in RepairBisection() 579 << mesh[bad_elements[i]][0] << ": " << mesh.Point(mesh[bad_elements[i]][0]) << endl in RepairBisection() 580 << mesh[bad_elements[i]][1] << ": " << mesh.Point(mesh[bad_elements[i]][1]) << endl in RepairBisection() 581 << mesh[bad_elements[i]][2] << ": " << mesh.Point(mesh[bad_elements[i]][2]) << endl in RepairBisection() [all …]
|
/dports/cad/meshdev/meshdev-0.5/src/ |
H A D | FileVrml2.cpp | 69 mesh.ClearAll(); in ReadVrml2() 141 mesh.ClearAll(); in ReadVrml2() 306 if( (mesh.VertexNumber()==0) || (mesh.FaceNumber()==0) ) in WriteVrml2() 367 if( (mesh.TextureNumber()==mesh.VertexNumber()) && (mesh.TextureName()!="") ) in WriteVrml2() 387 file<<" "<<mesh.Vertex(mesh.VertexNumber()-1)<<endl; in WriteVrml2() 392 if( mesh.ColorNumber() == mesh.VertexNumber() ) in WriteVrml2() 401 file<<" "<<mesh.Color(mesh.ColorNumber()-1)<<endl; in WriteVrml2() 407 if( mesh.VertexNormalNumber() == mesh.VertexNumber() ) in WriteVrml2() 422 if( (mesh.TextureNumber()==mesh.VertexNumber()) && (mesh.TextureName()!="") ) in WriteVrml2() 439 …file<<" "<<mesh.Face(i,0)<<", "<<mesh.Face(i,1)<<", "<<mesh.Face(i,2)<<", -1,"<<e… in WriteVrml2() [all …]
|