Click or drag to resize

Line Methods

返回用户文档首页

The Line type exposes the following members.

Methods
 NameDescription
Public methodDist 计算给定点在线段上的投影点。
Public methodEquals 比较当前线段与另一个对象是否相等。
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode 获取当前线段的哈希代码。
(Overrides ValueTypeGetHashCode)
Public methodHasIntersect 检查当前线段是否与另一个线段相交。当前版本有错误,有待修正!!!
Public methodIntersect(Line, Vec3, Vec3, Double) 计算当前直线与另一条直线的交点。
Public methodStatic memberIntersect(Line, Line, Vec3, Vec3, Double) 计算两条直线的交点(投影到各自直线上)
Public methodProj(Point) 计算给定点在线段上的投影点。
Public methodProj(Vec3) 计算给定点在线段上的投影点。
Public methodSample 根据给定的参数t,在线段上采样点。
Public methodT 计算点在线段上的参数t值。
Public methodToString 返回表示当前线段的字符串。
(Overrides ValueTypeToString)
Top
See Also