EndPoint
Overview
EndPoint 是一个类在Java的FOSS中. 继承人: Serializable.
终点可以是参数值或卡特斯点.
本类提供了14种方法,用于在Java程序中使用EndPoint 对象. 有的方法包括: EndPoint, clone, copyFrom, equals, fromDegree, fromRadian, getAsPoint, getAsValue, hashCode, isCartesianPoint, toString. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: asPoint, asValue, cartesianPoint.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
cartesianPoint | boolean | Read | 终点是一个卡特斯点吗? |
asPoint | Vector3 | Read | 得到终点作为卡特斯点,或者抛出一个例外. |
asValue | double | Read | 得到终点作为一个真正的参数,或者抛出例外. |
Methods
| Signature | Description |
|---|---|
EndPoint() | 默认构造器. |
EndPoint(point: Vector3) | 从一个卡特斯点构建 EndPoint. |
EndPoint(v: double) | 从一个实数参数构建 EndPoint . |
fromDegree(degree: double) → EndPoint | 创造一个以度量测量的终点. |
fromRadian(degree: double) → EndPoint | 创造一个用半径计的终点. |
isCartesianPoint() → boolean | 终点是一个卡特斯点吗? |
getAsPoint() → Vector3 | 得到终点作为卡特斯点,或者抛出一个例外. |
getAsValue() → double | 得到终点作为一个真正的参数,或者抛出例外. |
toString() → String | 返回当前终点的字符串表示. |
clone() → EndPoint | 在这个 EndPoint 实例上调用克隆. |
copyFrom(src: EndPoint) | 另一个 EndPoint 的副本. |
copyFrom(src: Object) | 复制来自另一个物体. |
equals(obj: Object) → boolean | 在这个 EndPoint 实例上调用 equals(obj). |
hashCode() → int | 在这个 EndPoint 实例上调用哈希码. |