All Downloads are FREE. Search and download functionalities are using the official Maven repository.

us.ihmc.simulationconstructionset.util.ground.Contactable Maven / Gradle / Ivy

There is a newer version: 0.25.2
Show newest version
package us.ihmc.simulationconstructionset.util.ground;

import us.ihmc.euclid.tuple3D.Point3D;
import us.ihmc.euclid.tuple3D.Vector3D;
import us.ihmc.simulationconstructionset.GroundContactPoint;

public interface Contactable
{
   public abstract boolean isClose(Point3D pointInWorldToCheck);

   public abstract boolean isPointOnOrInside(Point3D pointInWorldToCheck);

   public abstract void closestIntersectionAndNormalAt(Point3D intersectionToPack, Vector3D normalToPack, Point3D pointInWorldToCheck);
   //   public abstract boolean checkIfInside(Point3D pointToCheck, Point3D intersectionToPack, Vector3d normalToPack);

   public abstract void updateContactPoints();

   public abstract int getAndLockAvailableContactPoint();

   public abstract void unlockContactPoint(GroundContactPoint groundContactPoint);

   public abstract GroundContactPoint getLockedContactPoint(int contactPointIndex);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy