All Bundles

KMeansPoint

K-Means point

Implements: Stringify

Operations

New

Default constructor

New()

Constructor

New(x:Float, y:Float)
Parameters
NameTypeDescription
xFloatx value
yFloaty value

Equals

Test if two points are equal

method : public : Equals(point:KMeansPoint) ~ Bool
Parameters
NameTypeDescription
pointKMeansPointcompare point

Return
TypeDescription
Booltrue if equal, false otherwise

GetX

Get x value

method : public : GetX() ~ Float
Return
TypeDescription
Floatx value

GetY

Get y value

method : public : GetY() ~ Float
Return
TypeDescription
Floaty value

ToString

String representation of the object

method : public : ToString() ~ String
Return
TypeDescription
Stringrepresentation of the object