Point
- class Point
A GeoGebra
Point
can be constructed in the following ways:- Point(x, y)
Construct the point whose x-coordinate is
x
and whose y-coordinate isy
.
- Point(obj, t)
Construct the point which is a distance
t
along the objectobj
. What “along” means varies depending on what kind of objectobj
is. For example, for a line segment,t
varies from 0 at the first point of the segment to 1 at the second point.
- property x
The current value of the Point’s x-coordinate as a Python
float
.
- property y
The current value of the Point’s y-coordinate as a Python
float
.
A
Point
also has the following common properties:
See also