MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / splitFace

Method splitFace

source/MRMesh/MRMesh.h:389–389  ·  view source on GitHub ↗

same, putting new vertex in the centroid of original triangle

Source from the content-addressed store, hash-verified

387 MRMESH_API VertId splitFace( FaceId f, const Vector3f & newVertPos, FaceBitSet * region = nullptr, FaceHashMap * new2Old = nullptr );
388 // same, putting new vertex in the centroid of original triangle
389 VertId splitFace( FaceId f, FaceBitSet * region = nullptr, FaceHashMap * new2Old = nullptr ) { return splitFace( f, triCenter( f ), region, new2Old ); }
390
391 /// appends another mesh as separate connected component(s) to this
392 MRMESH_API void addMesh( const Mesh & from, PartMapping map = {}, bool rearrangeTriangles = false );

Callers

nothing calls this directly

Calls 1

triCenterFunction · 0.85

Tested by

no test coverage detected