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

NameTypeAccessDescription
cartesianPointbooleanRead终点是一个卡特斯点吗?
asPointVector3Read得到终点作为卡特斯点,或者抛出一个例外.
asValuedoubleRead得到终点作为一个真正的参数,或者抛出例外.

Methods

SignatureDescription
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 实例上调用哈希码.

See Also

 中文