Computes the distance between two entities
Namespace:
Cloudster.Samples.Vector2DAssembly: Cloudster.Samples.Vector2D.Role (in Cloudster.Samples.Vector2D.Role.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public double Compute( Vector2DEntity entity1, Vector2DEntity entity2 ) |
Visual Basic (Declaration) |
---|
Public Function Compute ( _ entity1 As Vector2DEntity, _ entity2 As Vector2DEntity _ ) As Double |
Visual C++ |
---|
public: virtual double Compute( Vector2DEntity^ entity1, Vector2DEntity^ entity2 ) sealed |
Parameters
- entity1
- Type: Cloudster.Samples.Vector2D..::.Vector2DEntity
The first entity
- entity2
- Type: Cloudster.Samples.Vector2D..::.Vector2DEntity
The second entity