CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Calculates the distance between this Border and the other Border respecting the given direction dir.
Or in other words: how far can you move this Border in the direction dir until it touches the other border.
The result may be double.MaxValue, which means they will never touch each other or negative, if you would have to move this
border in the opposite direction of dir.
Namespace: CADability.ShapesAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public double DistanceAtDirection( Border other, GeoVector2D dir ) |
Visual Basic |
---|
Public Function DistanceAtDirection ( _ other As Border, _ dir As GeoVector2D _ ) As Double |
Visual C++ |
---|
public: double DistanceAtDirection( Border^ other, GeoVector2D dir ) |
Parameters
- other
- Type: CADability.Shapes..::..Border
The border to meassure the distance to
- dir
- Type: CADability..::..GeoVector2D
Direction for the distance