Documentation of 'boofcv.struct.feature.CachedSineCosine_F32' Java class
CachedSineCosine_F32
boofcv.struct.feature

Class CachedSineCosine_F32



  • public class CachedSineCosine_F32
    extends java.lang.Object
    Precomputes the output of sine/cosine operations. Given an angle it will return an approximation much faster than computing it from scratch.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      float[] c 
      float[] s 
    • Constructor Summary

      Constructors 
      Constructor and Description
      CachedSineCosine_F32(float minAngle, float maxAngle, int size) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int computeIndex(float angle) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • c

        public float[] c
      • s

        public float[] s
    • Constructor Detail

      • CachedSineCosine_F32

        public CachedSineCosine_F32(float minAngle,
                                    float maxAngle,
                                    int size)
    • Method Detail

      • computeIndex

        public int computeIndex(float angle)

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.