- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Two-dimensional vector using floating point precision
Java wrapper for Qt class QLineF
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionQLineF()
SeeQLineF::
QLineF() QLineF
(double x1, double y1, double x2, double y2) SeeQLineF::
QLineF(QLineF) Overloaded constructor forQLineF(io.qt.core.QPointF, io.qt.core.QPointF)
.Overloaded constructor forQLineF(io.qt.core.QPointF, io.qt.core.QPointF)
.Overloaded constructor forQLineF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
Method Summary
Modifier and TypeMethodDescriptionfinal double
angle()
final double
Overloaded function forangleTo(io.qt.core.QLineF)
.final double
final QPointF
center()
clone()
Creates and returns a copy of this object.final double
dx()
final double
dy()
final boolean
Overloaded function forequals(io.qt.core.QLineF)
.final boolean
boolean
static QLineF
fromPolar
(double length, double angle) int
hashCode()
Returns the objects's hash code computed byqHash(QLineF)
.final QLineF.IntersectionType
intersects
(QLine l) Overloaded function forintersects(io.qt.core.QLine, io.qt.core.QPointF)
withintersectionPoint = null
.final QLineF.IntersectionType
intersects
(QLineF l) Overloaded function forintersects(io.qt.core.QLineF, io.qt.core.QPointF)
withintersectionPoint = null
.final QLineF.IntersectionType
intersects
(QLineF l, QPointF intersectionPoint) final QLineF.IntersectionType
intersects
(QLine l, QPointF intersectionPoint) Overloaded function forintersects(io.qt.core.QLineF, io.qt.core.QPointF)
.final boolean
isNull()
final double
length()
final QLineF
final QPointF
p1()
final QPointF
p2()
final QPointF
pointAt
(double t) void
readFrom
(QDataStream arg__1) final void
setAngle
(double angle) final void
setLength
(double len) final void
setLine
(double x1, double y1, double x2, double y2) final void
Overloaded function forsetP1(io.qt.core.QPointF)
.final void
final void
Overloaded function forsetP2(io.qt.core.QPointF)
.final void
final void
Overloaded function forsetPoints(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
final void
Overloaded function forsetPoints(io.qt.core.QPointF, io.qt.core.QPointF)
.final void
Overloaded function forsetPoints(io.qt.core.QPointF, io.qt.core.QPointF)
.final QLine
toLine()
toString()
Seeoperator<<(QDebug,
QLineF) final void
translate
(double dx, double dy) final void
Overloaded function fortranslate(io.qt.core.QPointF)
.final void
final QLineF
translated
(double dx, double dy) final QLineF
translated
(QPoint p) Overloaded function fortranslated(io.qt.core.QPointF)
.final QLineF
final QLineF
void
writeTo
(QDataStream arg__1) final double
x1()
final double
x2()
final double
y1()
final double
y2()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QLineF
public QLineF()See
QLineF::
QLineF() -
QLineF
-
QLineF
See
QLineF::
QLineF(QLineF) -
QLineF
-
QLineF
public QLineF(double x1, double y1, double x2, double y2) -
QLineF
Overloaded constructor for
QLineF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
QLineF
Overloaded constructor for
QLineF(io.qt.core.QPointF, io.qt.core.QPointF)
. -
QLineF
Overloaded constructor for
QLineF(io.qt.core.QPointF, io.qt.core.QPointF)
.
-
-
Method Details
-
angle
-
angleTo
-
center
-
dx
-
dy
-
intersects
-
isNull
-
length
-
normalVector
-
writeTo
-
equals
-
readFrom
-
p1
-
p2
-
pointAt
-
setAngle
-
setLength
-
setLine
-
setP1
-
setP2
-
setPoints
-
toLine
-
translate
-
translate
-
translated
-
translated
-
unitVector
-
x1
-
x2
-
y1
-
y2
-
fromPolar
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QLineF)
. -
toString
See
operator<<(QDebug,
QLineF) -
clone
Creates and returns a copy of this object.
See
QLineF::
QLineF(QLineF) -
angleTo
Overloaded function for
angleTo(io.qt.core.QLineF)
. -
intersects
Overloaded function for
intersects(io.qt.core.QLineF, io.qt.core.QPointF)
withintersectionPoint = null
. -
intersects
Overloaded function for
intersects(io.qt.core.QLine, io.qt.core.QPointF)
withintersectionPoint = null
. -
intersects
Overloaded function for
intersects(io.qt.core.QLineF, io.qt.core.QPointF)
. -
equals
Overloaded function for
equals(io.qt.core.QLineF)
. -
setP1
Overloaded function for
setP1(io.qt.core.QPointF)
. -
setP2
Overloaded function for
setP2(io.qt.core.QPointF)
. -
setPoints
Overloaded function for
setPoints(io.qt.core.QPointF, io.qt.core.QPointF)
. -
setPoints
Overloaded function for
setPoints(io.qt.core.QPointF, io.qt.core.QPointF)
. -
setPoints
Overloaded function for
setPoints(io.qt.core.QPointF, io.qt.core.QPointF)
. -
translate
Overloaded function for
translate(io.qt.core.QPointF)
. -
translated
Overloaded function for
translated(io.qt.core.QPointF)
.
-