Point

Represents a point in a three-dimensional space.

class miney.Point(x: int | float = 0, y: int | float = 0, z: int | float = 0)[source]

A point is a position inside a three dimensional system.

center(b: Point) Point[source]

Get the exact point in the center between this point and point b.

Parameters:

b – Another Point

Returns:

The center point

distance(b: Point) float[source]

Measure the distance between this point and Point b.

Parameters:

b – Another Point

Returns:

Distance

length() float[source]

Returns the distance to the x=0, y=0, z=0 point. :return: :rtype: