Point class

Represents a point in 2D space.

Used primarily for representing keypoint locations in pose estimation results. Coordinates are typically in pixel space relative to the original image dimensions.

Example:

final point = Point(150.5, 200.0);
print('Point at (${point.x}, ${point.y})');

Constructors

Point.new(double x, double y)
Point.fromMap(Map map)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
x double
The x-coordinate of the point.
final
y double
The y-coordinate of the point.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, double>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited