Class Geometry

java.lang.Object
games.stendhal.common.math.Geometry

public class Geometry extends Object
Geometry algorithms.
Author:
silvio
  • Constructor Details

    • Geometry

      public Geometry()
  • Method Details

    • halfSpaceTest_PlanePointf

      public static float halfSpaceTest_PlanePointf(float[] planeNormal, float planeDist, float[] point)
    • halfSpaceTest_PlanePointf

      public static float halfSpaceTest_PlanePointf(float[] planeNormal, float[] planePoint, float[] point)
    • closestPoint_RayPointf

      public static boolean closestPoint_RayPointf(float[] result, float[] rayOrigin, float[] rayDirection, float[] point)
    • closestPoint_SpherePointf

      public static boolean closestPoint_SpherePointf(float[] result, float[] sphereCenter, float sphereRadius, float[] point)
    • closestPoint_CapsulePointf

      public static boolean closestPoint_CapsulePointf(float[] result, float[] capsulePt1, float[] capsulePt2, float capsuleRadius, float[] point)
    • distanceSqrt_LinePointf

      public static float distanceSqrt_LinePointf(float[] linePt1, float[] linePt2, float[] point)
    • distance_LinePointf

      public static float distance_LinePointf(float[] linePt1, float[] linePt2, float[] point)