APM:Libraries
Functions
polygon.cpp File Reference
#include "AP_Math.h"
Include dependency graph for polygon.cpp:

Go to the source code of this file.

Functions

template<typename T >
bool Polygon_outside (const Vector2< T > &P, const Vector2< T > *V, unsigned n)
 
template<typename T >
bool Polygon_complete (const Vector2< T > *V, unsigned n)
 
template bool Polygon_outside< int32_t > (const Vector2l &P, const Vector2l *V, unsigned n)
 
template bool Polygon_complete< int32_t > (const Vector2l *V, unsigned n)
 
template bool Polygon_outside< float > (const Vector2f &P, const Vector2f *V, unsigned n)
 
template bool Polygon_complete< float > (const Vector2f *V, unsigned n)
 

Function Documentation

◆ Polygon_complete()

template<typename T >
bool Polygon_complete ( const Vector2< T > *  V,
unsigned  n 
)

Definition at line 86 of file polygon.cpp.

Referenced by AC_PolyFence_loader::boundary_valid(), and setup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Polygon_complete< float >()

template bool Polygon_complete< float > ( const Vector2f V,
unsigned  n 
)

Referenced by Polygon_complete().

Here is the caller graph for this function:

◆ Polygon_complete< int32_t >()

template bool Polygon_complete< int32_t > ( const Vector2l V,
unsigned  n 
)

Referenced by Polygon_complete().

Here is the caller graph for this function:

◆ Polygon_outside()

template<typename T >
bool Polygon_outside ( const Vector2< T > &  P,
const Vector2< T > *  V,
unsigned  n 
)

Definition at line 38 of file polygon.cpp.

Referenced by AC_PolyFence_loader::boundary_breached(), AC_PolyFence_loader::boundary_valid(), and setup().

Here is the caller graph for this function:

◆ Polygon_outside< float >()

template bool Polygon_outside< float > ( const Vector2f P,
const Vector2f V,
unsigned  n 
)

Referenced by Polygon_complete().

Here is the caller graph for this function:

◆ Polygon_outside< int32_t >()

template bool Polygon_outside< int32_t > ( const Vector2l P,
const Vector2l V,
unsigned  n 
)

Referenced by Polygon_complete().

Here is the caller graph for this function: