| 776 | } |
| 777 | |
| 778 | bool MeshPrimitiveEvaluator::pointAtUV( const Imath::V2f &uv, PrimitiveEvaluator::Result *result ) const |
| 779 | { |
| 780 | assert( dynamic_cast<Result *>( result ) ); |
| 781 | |
| 782 | if ( ! m_uvTriangles.size() ) |
| 783 | { |
| 784 | throw Exception("No uvs available for pointAtUV"); |
| 785 | } |
| 786 | |
| 787 | assert( m_uvTree ); |
| 788 | Result *mr = static_cast<Result *>( result ); |
| 789 | |
| 790 | return pointAtUVWalk( m_uvTree->rootIndex(), uv, mr ); |
| 791 | } |
| 792 | |
| 793 | bool MeshPrimitiveEvaluator::intersectionPoint( const Imath::V3f &origin, const Imath::V3f &direction, |
| 794 | PrimitiveEvaluator::Result *result, float maxDistance ) const |
no test coverage detected