Package com.prineside.luaj.mapping.parts
Class LJ_GDX_math.Path_AQ.LIP
java.lang.Object
com.prineside.luaj.mapping.InterfaceProxy
com.prineside.luaj.mapping.parts.LJ_GDX_math.Path_AQ.LIP
- All Implemented Interfaces:
 com.badlogic.gdx.math.Path,com.esotericsoftware.kryo.KryoSerializable
- Enclosing class:
 - LJ_GDX_math.Path_AQ
 
public static class LJ_GDX_math.Path_AQ.LIP
extends InterfaceProxy
implements com.badlogic.gdx.math.Path
- 
Field Summary
Fields inherited from class com.prineside.luaj.mapping.InterfaceProxy
luaObj - 
Method Summary
Modifier and TypeMethodDescriptionfloatapproximate(Object p1) floatapproxLength(int p1) derivativeAt(Object p1, float p2) floatMethods inherited from class com.prineside.luaj.mapping.InterfaceProxy
getLuaObj, read, write 
- 
Method Details
- 
approxLength
public float approxLength(int p1) - Specified by:
 approxLengthin interfacecom.badlogic.gdx.math.Path- Parameters:
 p1- The amount of divisions used to approximate length. Higher values will produce more precise results, but will be more CPU intensive.- Returns:
 - An approximated length of the spline through sampling the curve and accumulating the euclidean distances between the sample points.
 
 - 
approximate
- Specified by:
 approximatein interfacecom.badlogic.gdx.math.Path- Returns:
 - The approximated value (between 0 and 1) on the path which is closest to the specified value. Note that the
         implementation of this method might be optimized for speed against precision, see 
Path.locate(Object)for a more precise (but more intensive) method. 
 - 
derivativeAt
- Specified by:
 derivativeAtin interfacecom.badlogic.gdx.math.Path
 - 
locate
- Specified by:
 locatein interfacecom.badlogic.gdx.math.Path- Returns:
 - The precise location (between 0 and 1) on the path which is closest to the specified value. Note that the
         implementation of this method might be CPU intensive, see 
Path.approximate(Object)for a faster (but less precise) method. 
 - 
valueAt
- Specified by:
 valueAtin interfacecom.badlogic.gdx.math.Path- Returns:
 - The value of the path at t where 0<=t<=1
 
 
 -