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

Function dihedralAngle

source/MRMesh/MRMeshMath.cpp:614–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614float dihedralAngle( const MeshTopology & topology, const VertCoords & points, UndirectedEdgeId ue )
615{
616 EdgeId e{ ue };
617 if ( topology.isBdEdge( e ) )
618 return 0;
619 return MR::dihedralAngle( leftNormal( topology, points, e ), leftNormal( topology, points, e.sym() ), edgeVector( topology, points, e ) );
620}
621
622float discreteMeanCurvature( const MeshTopology & topology, const VertCoords & points, VertId v )
623{

Callers 1

discreteMeanCurvatureFunction · 0.70

Calls 4

leftNormalFunction · 0.85
edgeVectorFunction · 0.85
isBdEdgeMethod · 0.80
symMethod · 0.45

Tested by

no test coverage detected