Click or drag to resize

Point Methods

返回用户文档首页

The Point type exposes the following members.

Methods
 NameDescription
Public methodDist 计算此Point对象与另一个Point对象之间的距离。
Public methodDistSqr 计算此Point对象与另一个Point对象之间距离的平方。
Public methodEquals 判断当前顶点和指定对象是否相等。
(Overrides ValueTypeEquals(Object))
Public methodGetHashCode 获取当前顶点的哈希码。
(Overrides ValueTypeGetHashCode)
Public methodIsValid 检查Point对象的坐标值是否在有效范围内。
Public methodLerp 对两个Point顶点进行线性插值。
Public methodMax 获取当前顶点和另一个顶点各分量的最大值。
Public methodMin 获取当前顶点和另一个顶点各分量的最小值。
Public methodSet(Point) 设置Vec2i的坐标,基于另一个Point实例。
Public methodSet(Double, Double, Double) 设置Vec2i的X, Y和Z坐标。
Public methodToString
(Overrides ValueTypeToString)
Public methodTranslate 对当前顶点做平移
Public methodZero 数据清零
Top
See Also