MCPcopy Create free account
hub / github.com/ImageEngine/cortex / validateResult

Method validateResult

src/IECoreScene/MeshPrimitiveEvaluator.cpp:750–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

748}
749
750void MeshPrimitiveEvaluator::validateResult( PrimitiveEvaluator::Result *result ) const
751{
752 if (! dynamic_cast<MeshPrimitiveEvaluator::Result *>( result ) )
753 {
754 throw InvalidArgumentException("MeshPrimitiveEvaluator: Invalid PrimitiveEvaulator result type");
755 }
756}
757
758bool MeshPrimitiveEvaluator::closestPoint( const V3f &p, PrimitiveEvaluator::Result *result ) const
759{

Callers 6

barycentricPositionFunction · 0.45
closestPointMethod · 0.45
pointAtUVMethod · 0.45
intersectionPointMethod · 0.45
pointAtVFunction · 0.45

Calls 1

InvalidArgumentExceptionFunction · 0.85

Tested by

no test coverage detected