- 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) Seeoperator/(QPointF,
qreal) 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
Overloaded function forequals(io.qt.core.QPointF)
.final boolean
Seeoperator==(QPointF,
QPointF) boolean
Seeoperator==(QPointF,
QPointF) 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
void
readFrom
(QDataStream arg__1) Seeoperator>>(QDataStream&,
QPointF&) 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) Seeoperator<<(QDataStream&,
QPointF) 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:
- Since:
- This function was introduced in Qt 4.6.
-
times
See
operator*(QPointF,
qreal) - Parameters:
c
-- Returns:
-
multiply
- Parameters:
c
-- Returns:
-
unaryPlus
See
operator+(QPointF)
- Returns:
-
plus
- Parameters:
p2
-- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
add
- Parameters:
p
-- Returns:
-
unaryMinus
See
operator-(QPointF)
- Returns:
-
minus
- Parameters:
p2
-- Returns:
-
subtract
- Parameters:
p
-- Returns:
-
div
See
operator/(QPointF,
qreal) - Parameters:
divisor
-- Returns:
-
divide
- Parameters:
c
-- Returns:
-
writeTo
See
operator<<(QDataStream&,
QPointF) - Parameters:
arg__1
-
-
equals
See
operator==(QPointF,
QPointF) - Parameters:
p2
-- Returns:
-
readFrom
See
operator>>(QDataStream&,
QPointF&) - Parameters:
arg__1
-
-
setX
- Parameters:
x
-
-
setY
- Parameters:
y
-
-
toPoint
- Returns:
-
transposed
- Returns:
- Since:
- This function was introduced in Qt 5.14.
-
x
- Returns:
-
y
- Returns:
-
dotProduct
- Parameters:
p1
-p2
-- Returns:
- Since:
- This function was introduced in Qt 5.1.
-
equals
See
operator==(QPointF,
QPointF) -
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)
. -
equals
Overloaded function for
equals(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)
.
-