A* Pathfinding Project  3.6.8
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
LocalAvoidance.VO Class Reference

Public Member Functions

void AddInt (float factor, bool inside, int id)
 
bool Contains (Vector3 p)
 Returns if this VO contains the point p.
 
void Draw (Color c)
 
bool FinalInts (Vector3 target, Vector3 closeEdgeConstraint, bool drawGizmos, out Vector3 closest)
 
float ScoreContains (Vector3 p)
 Returns if this VO contains the point p.
 

Static Public Member Functions

static operator HalfPlane (VO vo)
 

Public Attributes

float angle
 Angle as Cos (a)
 
Vector3 direction
 Direction of the VO, should be normalized.
 
List< IntersectionPairints1 = new List<IntersectionPair>()
 
List< IntersectionPairints2 = new List<IntersectionPair>()
 
List< IntersectionPairints3 = new List<IntersectionPair>()
 
float limit
 Distance from origin to start of cone.
 
Vector3 nLeft
 
Vector3 origin
 Origin of the VO cone.
 
Vector3 pLeft
 
Vector3 pRight
 

Private Attributes

Vector3 nRight
 

Member Function Documentation

void AddInt ( float  factor,
bool  inside,
int  id 
)
bool Contains ( Vector3  p)

Returns if this VO contains the point p.

void Draw ( Color  c)
bool FinalInts ( Vector3  target,
Vector3  closeEdgeConstraint,
bool  drawGizmos,
out Vector3  closest 
)
static operator HalfPlane ( VO  vo)
explicitstatic
float ScoreContains ( Vector3  p)

Returns if this VO contains the point p.

Member Data Documentation

float angle

Angle as Cos (a)

Vector3 direction

Direction of the VO, should be normalized.

List<IntersectionPair> ints1 = new List<IntersectionPair>()
List<IntersectionPair> ints2 = new List<IntersectionPair>()
List<IntersectionPair> ints3 = new List<IntersectionPair>()
float limit

Distance from origin to start of cone.

Vector3 nLeft
Vector3 nRight
private
Vector3 origin

Origin of the VO cone.

Vector3 pLeft
Vector3 pRight

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