fgPointU
fontgate.fgPointU = class fgPointU(object)
PointU representation Constructors: fgPointU() - default fgPointU(fgPoint) - copy fgPointU(fgPointU) - copy fgPointU(fgPoint, float u) fgPointU(tuple(float x, float y, float u)) fgPointU(float x, float y, float u) Math Operations: fgPointU + fgPoint/fgPointU fgPointU - fgPoint/fgPointU fgPointU * fgPoint/fgPointU fgPointU * float - vector product fgPointU / float fgPointU << fgPointU - True if first point is less or equal to second fgPointU >> fgPointU - True if first point is greater or equal to second fgPointU ^ fgPointU - scalar product
Methods
- __delattr__(...)
-
x.__delattr__('name') <==> del x.name
- __delitem__(...)
-
x.__delitem__(y) <==> del x[y]
- __delslice__(...)
-
x.__delslice__(i, j) <==> del x[i:j] Use of negative indices is not supported.
- __getattribute__(...)
-
x.__getattribute__('name') <==> x.name
- __getitem__(...)
-
x.__getitem__(y) <==> x[y]
- __getslice__(...)
-
x.__getslice__(i, j) <==> x[i:j] Use of negative indices is not supported.
- __lshift__(...)
-
x.__lshift__(y) <==> x<
- __rlshift__(...)
-
x.__rlshift__(y) <==> y<
- __rrshift__(...)
-
x.__rrshift__(y) <==> y>>x
- __rshift__(...)
-
x.__rshift__(y) <==> x>>y
- __setattr__(...)
-
x.__setattr__('name', value) <==> x.name = value
- __setitem__(...)
-
x.__setitem__(i, y) <==> x[i]=y
- __setslice__(...)
-
x.__setslice__(i, j, y) <==> x[i:j]=y Use of negative indices is not supported.
- asDict(...)
-
represent object as dictionary
- asTuple(...)
-
represent object as tuple
- doubleScale(...)
-
scale(fgPoint) or scale(float sx, float sy)
- transformed(...)
-
fgPoint transformed(fgMatrix)
Descriptors
- u
-
(float)
- x
-
(float)
- y
-
(float)
Attributes
- __new__ = <built-in method __new__ of type object>
-
T.__new__(S, ...) -> a new object with type S, a subtype of T
angleDiff
- fontgate.fgPointU.angleDiff = angleDiff(...)
-
fgPoint angleDiff(fgPoint)
angleSum
- fontgate.fgPointU.angleSum = angleSum(...)
-
fgPoint angleSum(fgPoint)
asDict
- fontgate.fgPointU.asDict = asDict(...)
-
represent object as dictionary
assign
- fontgate.fgPointU.assign = assign(...)
-
assign(fgPointU) or assign(float x, float y, float u)
asTuple
- fontgate.fgPointU.asTuple = asTuple(...)
-
represent object as tuple
clear
- fontgate.fgPointU.clear = clear(...)
-
clear()
close_to
- fontgate.fgPointU.close_to = close_to(...)
-
bool close_to(fgPointU[, d=0.00001])
collinear
- fontgate.fgPointU.collinear = collinear(...)
-
bool collinear(fgPoint)
direction
- fontgate.fgPointU.direction = direction(...)
-
fgPoint direction()
dist
- fontgate.fgPointU.dist = dist(...)
-
float dist(fgPoint)
dist2
- fontgate.fgPointU.dist2 = dist2(...)
-
float dist2(fgPoint)
distance
- fontgate.fgPointU.distance = distance(...)
-
float distance(fgPoint[, horizontal=false]
doubleScale
- fontgate.fgPointU.doubleScale = doubleScale(...)
-
scale(fgPoint) or scale(float sx, float sy)
flip
- fontgate.fgPointU.flip = flip(...)
-
flip()
flipped
- fontgate.fgPointU.flipped = flipped(...)
-
fgPoint flipped()
ix
- fontgate.fgPointU.ix = ix(...)
-
int ix() - integer fast
iy
- fontgate.fgPointU.iy = iy(...)
-
int iy() - integer fast
len
- fontgate.fgPointU.len = len(...)
-
float len()
len2
- fontgate.fgPointU.len2 = len2(...)
-
float len2()
normal
- fontgate.fgPointU.normal = normal(...)
-
fgPoint normal()
rotate
- fontgate.fgPointU.rotate = rotate(...)
-
fgPoint rotate(fgPointU v, fgPoint c)
round
- fontgate.fgPointU.round = round(...)
-
fgPoint round([doRound=true])
rx
- fontgate.fgPointU.rx = rx(...)
-
int rx() - integer rounded
ry
- fontgate.fgPointU.ry = ry(...)
-
int ry() - integer rounded
transform
- fontgate.fgPointU.transform = transform(...)
-
transform(fgMatrix)
transformed
- fontgate.fgPointU.transformed = transformed(...)
-
fgPoint transformed(fgMatrix)
u
- fontgate.fgPointU.u
-
(float)
value
- fontgate.fgPointU.value = value(...)
-
float value([horizontal=true])
x
- fontgate.fgPointU.x
-
(float)
y
- fontgate.fgPointU.y
-
(float)
zero
- fontgate.fgPointU.zero = zero(...)
-
bool zero()