ScummVM API documentation
Alcachofa::PathFindingPolygon Struct Reference
Inheritance diagram for Alcachofa::PathFindingPolygon:
Alcachofa::Polygon

Public Types

using SharedPoint = Common::Pair< uint, uint >
 

Public Member Functions

float depthAt (Common::Point query) const
 
uint findSharedPoints (const PathFindingPolygon &other, Common::Span< SharedPoint > sharedPoints) const
 
- Public Member Functions inherited from Alcachofa::Polygon
bool contains (Common::Point query) const
 
bool intersectsEdge (uint startPointI, Common::Point a, Common::Point b) const
 
EdgeDistances edgeDistances (uint startPointI, Common::Point query) const
 
Common::Point closestPointTo (Common::Point query, float &distanceSqr) const
 
Common::Point closestPointTo (Common::Point query) const
 
Common::Point midPoint () const
 

Public Attributes

Common::Span< const uint8 > _pointDepths
 
int8 _order
 
- Public Attributes inherited from Alcachofa::Polygon
uint _index
 
Common::Span< const Common::Point_points
 

The documentation for this struct was generated from the following file: