Constructor CartesianDistCalc
CartesianDistCalc()
Declaration
public CartesianDistCalc()
CartesianDistCalc(Boolean)
Declaration
public CartesianDistCalc(bool squared)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | squared | Set to true to have Distance(IPoint, IPoint) return the square of the correct answer. This is a performance optimization used when sorting in which the actual distance doesn't matter so long as the sort order is consistent. |