- measureDistance(
p0: Point,
p1: Point,
options?: { diagonalRule?: "5105" | "555"; ray?: Ray; state?: any },
): number Parameters
- p0: Point
- p1: Point
Optional
options: { diagonalRule?: "5105" | "555"; ray?: Ray; state?: any } = {}Optional
diagonalRule?: "5105" | "555"
Optional
ray?: Ray
Optional
state?: any
Returns number
- Grid distance between the two points.
Measure distance between two points.
Deprecated
Example