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

Method validateResult

src/IECoreScene/PointsPrimitiveEvaluator.cpp:194–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void PointsPrimitiveEvaluator::validateResult( PrimitiveEvaluator::Result *result ) const
195{
196 if( ! dynamic_cast<PointsPrimitiveEvaluator::Result *>( result ) )
197 {
198 throw InvalidArgumentException( "PointsPrimitiveEvaluator: Invalid result type" );
199 }
200}
201
202float PointsPrimitiveEvaluator::surfaceArea() const
203{

Callers

nothing calls this directly

Calls 1

InvalidArgumentExceptionFunction · 0.85

Tested by

no test coverage detected