JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.nativewindow.util.PointImmutable Interface Reference

Immutable Point interface. More...

Inheritance diagram for com.jogamp.nativewindow.util.PointImmutable:
Collaboration diagram for com.jogamp.nativewindow.util.PointImmutable:

Public Member Functions

int getX ()
 
int getY ()
 
int compareTo (final PointImmutable d)
 
boolean equals (Object obj)
 Checks whether two points objects are equal. More...
 
int hashCode ()
 

Detailed Description

Immutable Point interface.

Definition at line 35 of file PointImmutable.java.

Member Function Documentation

◆ compareTo()

int com.jogamp.nativewindow.util.PointImmutable.compareTo ( final PointImmutable  d)

Compares the square of the position.

Implemented in com.jogamp.nativewindow.util.Point.

Here is the caller graph for this function:

◆ equals()

boolean com.jogamp.nativewindow.util.PointImmutable.equals ( Object  obj)

Checks whether two points objects are equal.

Two instances of PointReadOnly are equal if the two components y and x are equal.

Returns
true if the two points are equal; otherwise false.

Implemented in com.jogamp.nativewindow.util.Point.

Here is the caller graph for this function:

◆ getX()

int com.jogamp.nativewindow.util.PointImmutable.getX ( )

Implemented in com.jogamp.nativewindow.util.Point.

Here is the caller graph for this function:

◆ getY()

int com.jogamp.nativewindow.util.PointImmutable.getY ( )

Implemented in com.jogamp.nativewindow.util.Point.

Here is the caller graph for this function:

◆ hashCode()

int com.jogamp.nativewindow.util.PointImmutable.hashCode ( )

The documentation for this interface was generated from the following file: