- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Defines a point in the plane using floating point precision
Java wrapper for Qt class QPointF
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal QPointF
Overloaded function foradd(io.qt.core.QPointF)
.final QPointF
clone()
Creates and returns a copy of this object.final QPointF
div
(double divisor) final QPointF
divide
(double c) static double
dotProduct
(QPointF p1, QPoint p2) Overloaded function fordotProduct(io.qt.core.QPointF, io.qt.core.QPointF)
.static double
dotProduct
(QPointF p1, QPointF p2) static double
dotProduct
(QPoint p1, QPoint p2) Overloaded function fordotProduct(io.qt.core.QPointF, io.qt.core.QPointF)
.static double
dotProduct
(QPoint p1, QPointF p2) Overloaded function fordotProduct(io.qt.core.QPointF, io.qt.core.QPointF)
.final boolean
final boolean
boolean
Checks for equality depending on the type of given object.int
hashCode()
Returns the objects's hash code computed byqHash(QPointF)
.final boolean
isNull()
final double
final QPointF
Overloaded function forminus(io.qt.core.QPointF)
.final QPointF
final QPointF
multiply
(double c) final QPointF
Overloaded function forplus(io.qt.core.QPointF)
.final QPointF
static boolean
qFuzzyCompare
(QPointF p1, QPoint p2) Overloaded function forqFuzzyCompare(io.qt.core.QPointF, io.qt.core.QPointF)
.static boolean
qFuzzyCompare
(QPointF p1, QPointF p2) static boolean
qFuzzyCompare
(QPoint p1, QPoint p2) Overloaded function forqFuzzyCompare(io.qt.core.QPointF, io.qt.core.QPointF)
.static boolean
qFuzzyCompare
(QPoint p1, QPointF p2) Overloaded function forqFuzzyCompare(io.qt.core.QPointF, io.qt.core.QPointF)
.static boolean
qFuzzyIsNull
(QPoint point) Overloaded function forqFuzzyIsNull(io.qt.core.QPointF)
.static boolean
qFuzzyIsNull
(QPointF point) void
readFrom
(QDataStream arg__1) final void
setX
(double x) final void
setY
(double y) final QPointF
Overloaded function forsubtract(io.qt.core.QPointF)
.final QPointF
final QPointF
times
(double c) Seeoperator*(QPointF,
qreal) final QPoint
toPoint()
toString()
Seeoperator<<(QDebug,
QPointF) final QPointF
final QPointF
Seeoperator-(QPointF)
final QPointF
Seeoperator+(QPointF)
void
writeTo
(QDataStream arg__1) final double
x()
final double
y()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QPointF
public QPointF() -
QPointF
- Parameters:
p
-
-
QPointF
See
QPointF::
QPointF(QPointF) - Parameters:
other
-
-
QPointF
public QPointF(double xpos, double ypos) - Parameters:
xpos
-ypos
-
-
-
Method Details
-
isNull
- Returns:
-
manhattanLength
- Returns:
-
times
See
operator*(QPointF,
qreal) - Parameters:
c
-- Returns:
-
multiply
- Parameters:
c
-- Returns:
-
unaryPlus
See
operator+(QPointF)
- Returns:
-
plus
- Parameters:
p2
-- Returns:
-
add
- Parameters:
p
-- Returns:
-
unaryMinus
See
operator-(QPointF)
- Returns:
-
minus
- Parameters:
p2
-- Returns:
-
subtract
- Parameters:
p
-- Returns:
-
div
- Parameters:
divisor
-- Returns:
-
divide
- Parameters:
c
-- Returns:
-
writeTo
- Parameters:
arg__1
-
-
equals
- Parameters:
rhs
-- Returns:
-
equals
- Parameters:
rhs
-- Returns:
-
readFrom
- Parameters:
arg__1
-
-
setX
- Parameters:
x
-
-
setY
- Parameters:
y
-
-
toPoint
- Returns:
-
transposed
- Returns:
-
x
- Returns:
-
y
- Returns:
-
dotProduct
- Parameters:
p1
-p2
-- Returns:
-
qFuzzyCompare
- Parameters:
p1
-p2
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
qFuzzyIsNull
- Parameters:
point
-- Returns:
- Since:
- This function was introduced in Qt 6.8.
-
equals
Checks for equality depending on the type of given object.
ckecked by toQPointF
operator==(QPointF,
QPointF)
ckecked by toQPoint
operator==(QPointF,
QPoint)
-
hashCode
Returns the objects's hash code computed byqHash(QPointF)
. -
toString
See
operator<<(QDebug,
QPointF) -
clone
Creates and returns a copy of this object.
See
QPointF::
QPointF(QPointF) -
plus
Overloaded function for
plus(io.qt.core.QPointF)
. -
add
Overloaded function for
add(io.qt.core.QPointF)
. -
minus
Overloaded function for
minus(io.qt.core.QPointF)
. -
subtract
Overloaded function for
subtract(io.qt.core.QPointF)
. -
dotProduct
Overloaded function for
dotProduct(io.qt.core.QPointF, io.qt.core.QPointF)
. -
dotProduct
Overloaded function for
dotProduct(io.qt.core.QPointF, io.qt.core.QPointF)
. -
dotProduct
Overloaded function for
dotProduct(io.qt.core.QPointF, io.qt.core.QPointF)
. -
qFuzzyCompare
Overloaded function for
qFuzzyCompare(io.qt.core.QPointF, io.qt.core.QPointF)
. -
qFuzzyCompare
Overloaded function for
qFuzzyCompare(io.qt.core.QPointF, io.qt.core.QPointF)
. -
qFuzzyCompare
Overloaded function for
qFuzzyCompare(io.qt.core.QPointF, io.qt.core.QPointF)
. -
qFuzzyIsNull
Overloaded function for
qFuzzyIsNull(io.qt.core.QPointF)
.
-