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

Method getNormal

source/MRMesh/MRPlaneObject.cpp:21–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19MR_ADD_CLASS_FACTORY( PlaneObject )
20
21Vector3f PlaneObject::getNormal( ViewportId id /*= {}*/ ) const
22{
23 return ( r_.get( id ) * Vector3f::plusZ() ).normalized();
24}
25
26Vector3f PlaneObject::getCenter( ViewportId id /*= {}*/ ) const
27{

Callers 4

importPlaneObj_Method · 0.45
MRFeatureHelpers.hFile · 0.45
getFeatureNormalFunction · 0.45
primitiveFromObjectFunction · 0.45

Calls 2

normalizedMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected