Aimsun Next Scripting  22
Public Types | Public Member Functions | List of all members
GKNodeConflict Class Reference

Public Types

enum  GKNodeConflictType { eSimple , eComplex , eOverlap }
 

Public Member Functions

 GKNodeConflict ()
 
 GKNodeConflict (GKTurningSimEntity *acon1, GKTurningSimEntity *acon2, GKNodeConflictType type=eSimple)
 
 GKNodeConflict (const GKNodeConflict &conf)
 
GKNodeConflictType getConflictType () const
 
GKTurningSimEntitygetEntity1 () const
 
GKTurningSimEntitygetEntity2 () const
 
double getXIni1 () const
 
double getXIni2 () const
 
void setXIni1 (double x)
 
void setXIni2 (double x)
 
double getXEnd1 () const
 
double getXEnd2 () const
 
void setXEnd1 (double x)
 
void setXEnd2 (double x)
 
const GKPointgetIntersectionIni () const
 
void setIntersectionIni (const GKPoint &p)
 
const GKPointgetIntersectionEnd () const
 
void setIntersectionEnd (const GKPoint &p)
 

Detailed Description

The conflict will reflect the conflicting zone of two GKTurningSimEntities.

Member Enumeration Documentation

◆ GKNodeConflictType

Types of node conflicts:

  • eSimple: a simple conflict with one geometrical intersection between the center lines of the two entities.
  • eComplex: a complex conflict defined by two geometrical intersections between the center lines of the two entities.
  • eOverlap: a conflict without geometrical intersection of the center lines of the two entities but with the volumes of the entities.
Enumerator
eSimple 
eComplex 
eOverlap 

Constructor & Destructor Documentation

◆ GKNodeConflict() [1/3]

GKNodeConflict::GKNodeConflict ( )

◆ GKNodeConflict() [2/3]

GKNodeConflict::GKNodeConflict ( GKTurningSimEntity acon1,
GKTurningSimEntity acon2,
GKNodeConflictType  type = eSimple 
)

◆ GKNodeConflict() [3/3]

GKNodeConflict::GKNodeConflict ( const GKNodeConflict conf)

Member Function Documentation

◆ getConflictType()

GKNodeConflictType GKNodeConflict::getConflictType ( ) const

Gets the type of conflict.

◆ getEntity1()

GKTurningSimEntity * GKNodeConflict::getEntity1 ( ) const

Gets the first entity causing the conflict

◆ getEntity2()

GKTurningSimEntity * GKNodeConflict::getEntity2 ( ) const

Gets the second entity causing the conflict

◆ getIntersectionEnd()

const GKPoint & GKNodeConflict::getIntersectionEnd ( ) const

Gets the position of the second intersecion of the conflict

◆ getIntersectionIni()

const GKPoint & GKNodeConflict::getIntersectionIni ( ) const

Gets the position of the first intersecion of the conflict

◆ getXEnd1()

double GKNodeConflict::getXEnd1 ( ) const

Gets the end distance of the conflict in the first entity

◆ getXEnd2()

double GKNodeConflict::getXEnd2 ( ) const

Gets the end distance of the conflict in the second entity

◆ getXIni1()

double GKNodeConflict::getXIni1 ( ) const

Gets the starting distance of the conflict in the first entity

◆ getXIni2()

double GKNodeConflict::getXIni2 ( ) const

Gets the starting distance of the conflict in the second entity

◆ setIntersectionEnd()

void GKNodeConflict::setIntersectionEnd ( const GKPoint p)

Sets the position of the second intersecion of the conflict

◆ setIntersectionIni()

void GKNodeConflict::setIntersectionIni ( const GKPoint p)

Sets the position of the first intersecion of the conflict

◆ setXEnd1()

void GKNodeConflict::setXEnd1 ( double  x)

Sets the end distance of the conflict in the first entity

◆ setXEnd2()

void GKNodeConflict::setXEnd2 ( double  x)

Sets the end distance of the conflict in the second entity

◆ setXIni1()

void GKNodeConflict::setXIni1 ( double  x)

Sets the starting distance of the conflict in the first entity

◆ setXIni2()

void GKNodeConflict::setXIni2 ( double  x)

Sets the starting distance of the conflict in the second entity

© Aimsun SLU
Aimsun ®