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

Method surfaceArea

src/IECoreScene/SpherePrimitiveEvaluator.cpp:451–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449}
450
451float SpherePrimitiveEvaluator::surfaceArea() const
452{
453 float r = m_sphere->radius();
454
455 return 4.0 * M_PI * r*r ;
456}

Callers

nothing calls this directly

Calls 1

radiusMethod · 0.80

Tested by

no test coverage detected