All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zhao.algorithmMagic.operands.coordinate.FloatingPointCoordinates Maven / Gradle / Ivy

There is a newer version: 1.42
Show newest version
package zhao.algorithmMagic.operands.coordinate;

/**
 * 浮点型坐标接口,所有的浮点型坐标的统一接口,您应对该接口的函数进行实现
 * 

* Floating point coordinate interface, a unified interface for all floating point coordinates, you should implement the functions of this interface * * @param 实现类的类型 */ public interface FloatingPointCoordinates extends Coordinate { /** * @return 该浮点坐标的维度数量,每一个坐标都有不同的维度,获取到所有维度的数量,有助于定位到坐标点的位置。 *

* The number of dimensions of the floating-point coordinate, each coordinate has a different dimension, and obtaining the number of all dimensions is helpful for locating the position of the coordinate point. */ int getNumberOfDimensions(); /** * @return 该浮点坐标的数组形式,将浮点坐标转换成为一个数组返回出去,当然某些实现类可能会直接将数组作为一个对象的全局直接返回,这样有利于性能。 *

* In the array form of the floating point coordinates, the floating point coordinates are converted into an array and returned. Of course, some implementation classes may directly return the array as a global object, which is beneficial to performance. */ double[] toArray(); /** * @return 该类的实现类对象,用于拓展该接口的子类 */ ImplementationType extend(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy