Click or drag to resize

Line Methods

返回用户文档首页

The Line type exposes the following members.

Methods
 NameDescription
Public methodDistance 计算给定点与直线上距离。
Public methodEquals 比较当前直线与另一个对象是否相等。
(Overrides ObjectEquals(Object))
Public methodGetHashCode 获取当前直线的哈希代码。
(Overrides ObjectGetHashCode)
Public methodIntersect(Line, Point, Point, Double) 计算当前直线与另一条直线的最短交线。
Public methodIntersect(Line, Double, Double, Double) 计算当前直线与另一条直线的最短交线。
Public methodProject 计算给定点在直线上的投影点。
Public methodSample 根据给定的参数t,在直线上采样点。
Public methodToString
(Overrides ObjectToString)
Top
See Also