C# Класс Quelea.AgentType

Наследование: ParticleType, IAgent
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AgentType ( ) : System
AgentType ( IAgent a ) : System
AgentType ( IAgent a, Point3d emittionPt, Vector3d initialVelocity, AbstractEnvironmentType environment ) : System
AgentType ( IParticle p, double maxSpeed, double maxForce, double visionRadius, double visionAngle ) : System
AgentType ( Vector3d velocityMin, Vector3d velocityMax, Vector3d up, Vector3d acceleration, int lifespan, double mass, double bodySize, int historyLength, double maxSpeed, double maxForce, double visionRadius, double visionAngle ) : System
ApplyDesiredVelocity ( Vector3d desiredVelocity, double weightMultiplier ) : Vector3d
Run ( ) : void

Описание методов

AgentType() публичный Метод

public AgentType ( ) : System
Результат System

AgentType() публичный Метод

public AgentType ( IAgent a ) : System
a IAgent
Результат System

AgentType() публичный Метод

public AgentType ( IAgent a, Point3d emittionPt, Vector3d initialVelocity, AbstractEnvironmentType environment ) : System
a IAgent
emittionPt Point3d
initialVelocity Vector3d
environment AbstractEnvironmentType
Результат System

AgentType() публичный Метод

public AgentType ( IParticle p, double maxSpeed, double maxForce, double visionRadius, double visionAngle ) : System
p IParticle
maxSpeed double
maxForce double
visionRadius double
visionAngle double
Результат System

AgentType() публичный Метод

public AgentType ( Vector3d velocityMin, Vector3d velocityMax, Vector3d up, Vector3d acceleration, int lifespan, double mass, double bodySize, int historyLength, double maxSpeed, double maxForce, double visionRadius, double visionAngle ) : System
velocityMin Vector3d
velocityMax Vector3d
up Vector3d
acceleration Vector3d
lifespan int
mass double
bodySize double
historyLength int
maxSpeed double
maxForce double
visionRadius double
visionAngle double
Результат System

ApplyDesiredVelocity() публичный Метод

public ApplyDesiredVelocity ( Vector3d desiredVelocity, double weightMultiplier ) : Vector3d
desiredVelocity Vector3d
weightMultiplier double
Результат Vector3d

Run() публичный Метод

public Run ( ) : void
Результат void