|
|||||||||
| Atavism Version 2018.1 | AGIS API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatavism.server.pathing.PathInterpolator
atavism.server.pathing.PathSpline
public class PathSpline
| Field Summary | |
|---|---|
protected float |
directionTimeOffset
|
protected static Logger |
log
|
protected static boolean |
logAll
|
protected float[] |
timeVector
|
protected float |
totalTime
|
| Fields inherited from class atavism.server.pathing.PathInterpolator |
|---|
oid, path, speed, startTime, terrainString |
| Constructor Summary | |
|---|---|
PathSpline(OID oid,
long startTime,
float speed,
java.lang.String terrainString,
java.util.List<Point> path)
|
|
| Method Summary | |
|---|---|
protected float |
basisFactor(int degree,
float t)
|
protected AOVector |
evalDirection(AOVector p,
int pointNumber,
float t)
|
protected AOVector |
evalPoint(int pointNumber,
float t)
|
PathLocAndDir |
interpolate(float t)
|
java.lang.String |
toString()
|
| Methods inherited from class atavism.server.pathing.PathInterpolator |
|---|
getLastPoint, getOid, getSpeed, getStartTime, getTerrainString, getTotalTime, interpolate, zeroYIfOnTerrain |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final float directionTimeOffset
protected float[] timeVector
protected float totalTime
protected static Logger log
protected static boolean logAll
| Constructor Detail |
|---|
public PathSpline(OID oid,
long startTime,
float speed,
java.lang.String terrainString,
java.util.List<Point> path)
| Method Detail |
|---|
public java.lang.String toString()
toString in class PathInterpolatorpublic PathLocAndDir interpolate(float t)
interpolate in class PathInterpolator
protected float basisFactor(int degree,
float t)
protected AOVector evalPoint(int pointNumber,
float t)
protected AOVector evalDirection(AOVector p,
int pointNumber,
float t)
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||