This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Checks if point is contained within a cone in 3D space | |
* | |
* @param start tip of the cone | |
* @param normDirection normalized (length==1) vector, direction of cone | |
* @param radius radius at the end of the cone | |
* @param length length of the cone | |
* @param truncationLength optional lenght at which the cone is truncated (flat tip) | |
* @param relativePoint point to be checked, relative to {@code start} | |
*/ |