Home
last modified time | relevance | path

Searched refs:Point2D (Results 1 – 6 of 6) sorted by relevance

/external/clang/test/SemaTemplate/
Dinstantiate-c99.cpp18 struct Point2D { struct
22 template struct DesigInit0<Point2D, int, double>; argument
81 template struct CompoundLiteral0<Point2D, int, float>;
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-c99.cpp25 struct Point2D { struct
29 template struct DesigInit0<Point2D, int, double>; argument
100 template struct CompoundLiteral0<Point2D, int, float>;
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPath.java22 import java.awt.geom.Point2D;
120 ArrayList<Point2D.Float> points = new ArrayList<Point2D.Float>(); in approximate()
121 Point2D.Float previousPoint = null; in approximate()
124 Point2D.Float currentPoint = new Point2D.Float(segment[0], segment[1]); in approximate()
141 Point2D.Float point = points.get(i); in approximate()
608 Point2D last = mPath.getCurrentPoint(); in resetLastPointFromPath()
DCachedPathIteratorFactory.java5 import java.awt.geom.Point2D;
93 Point2D.distance( in CachedPathIteratorFactory()
109 (float) Point2D.distance(lastX, lastY, mCoordinates[i][0], mCoordinates[i][1]); in CachedPathIteratorFactory()
223 (float) Point2D.distance(previousPoint[0], previousPoint[1], segment[0], segment[1]); in getFlatPathLength()
/external/python/cpython3/Doc/library/
Dtyping.rst1019 class Point2D(TypedDict):
1024 a: Point2D = {'x': 1, 'y': 2, 'label': 'good'} # OK
1025 b: Point2D = {'z': 3, 'label': 'bad'} # Fails type check
1027 assert Point2D(x=1, y=2, label='first') == dict(x=1, y=2, label='first')
1029 The type info for introspection can be accessed via ``Point2D.__annotations__``
1030 and ``Point2D.__total__``. To allow using this feature with older versions
1034 Point2D = TypedDict('Point2D', x=int, y=int, label=str)
1035 Point2D = TypedDict('Point2D', {'x': int, 'y': int, 'label': str})
/external/python/cpython3/Lib/test/
Dtest_typing.py2815 class Point2D(TypedDict): class
2819 class LabelPoint2D(Point2D, Label): ...
3872 not_origin = Point2D(x=0, y=1)
3908 class Point2Dor3D(Point2D, total=False):