Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: double Distance(Pt)

  • Declared in: RT.Modeling.Pt

Declaration

public double Distance(
    Pt other
)

Summary

Calculates the distance between two points in 3D space.

Remarks

This is equivalent to calculating the length of the vector connecting the two points:

x.Distance(y) == (x - y).Length