CRaPI - Correct Robust and Perfect API

MathUtility.WithinPhysicalBoundary Method 

Checks if a position is within the physical boundary for the agent.

public static bool WithinPhysicalBoundary(
   WorldModel pWm,
   Point2D pPosition
);

Parameters

pWm
The agents world-model
pPosition
The position to check

Return Value

True if the point is within the physical boundary, false otherwise

See Also

MathUtility Class | TeamYaffa.CRaPI.Utility Namespace