Home
last modified time | relevance | path

Searched refs:corner1 (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/dat/dlua/
H A Dv_shapes.lua11 …{ type = "floor", corner1 = { x = 0, y = 0 }, corner2 = { x = room.size.x - 1, y = room.size.y - 1…
41 …local corner1 = { x = crawl.random_range(corridor_width,room.size.x), y = crawl.random_range(corri…
42 …sert(floor, { type = "space", corner1 = corner1, corner2 = { x = corner1.x + room.size.x - 1 - cor…
48 …{ type = "floor", corner1 = { x = 0, y = 0 }, corner2 = { x = room.size.x - 1, y = room.size.y - 1…
56 { type = "floor", corner1 = { x = 1, y = 1 }, corner2 = { x = gxm-2, y = gym-2 } }
65 { type = "floor", corner1 = { x = 11, y = 11 }, corner2 = { x = gxm-12, y = gym-12 } }
77 …{ type = "floor", corner1 = { x = x1, y = y1 }, corner2 = { x = x1 + crawl.random_range(4,6), y = …
91 …{ type = "floor", corner1 = { x = x1, y = y1 }, corner2 = { x = x1 + size.x - 1, y = y1 + size.y -…
H A Dv_layouts.lua172 { type = "floor", corner1 = c1, corner2 = c4},
173 { type = "wall", corner1 = c2, corner2 = c3 }
190 …{ type = "floor", corner1 = { x = xc, y = 1 }, corner2 = { x = xc + corridorWidth - 1, y = gym - 2…
191 …{ type = "floor", corner1 = { x = 1, y = yc }, corner2 = { x = gxm - 2, y = yc + corridorWidth - 1…
205 …{ type = "floor", corner1 = { x = padx, y = pady }, corner2 = { x = gxm - padx - 1, y = gym - pady…
216 { type = "floor", corner1 = { x = 1, y = 1 }, corner2 = { x = gxm - 2, y = gym - 2 } }
313 …table.insert(paint,{ type = "floor", corner1 = {x = area.x1, y = area.y1}, corner2 = { x = area.x2…
316 local corner1 = { x = area.x1 + options.fill_padding, y = area.y1 + options.fill_padding }
320 corner1.x = corner1.x + crawl.random_range(options.jitter_min,options.jitter_max)
321 corner1.y = corner1.y + crawl.random_range(options.jitter_min,options.jitter_max)
[all …]
/dports/cad/openroad/OpenROAD-2.0/src/sta/search/
H A DCheckSlewLimits.cc68 const Corner *corner1, *corner2; in operator ()() local
95 const Corner *&corner1, in checkSlew() argument
101 corner1 = nullptr; in checkSlew()
108 corner1, rf, slew, limit, slack); in checkSlew()
112 corner1, rf, slew, limit, slack); in checkSlew()
123 const Corner *&corner1, in checkSlews1() argument
145 const Corner *&corner1, in checkSlews1() argument
259 const Corner *&corner1, in checkSlew() argument
270 if (corner1 == nullptr in checkSlew()
275 corner1 = corner; in checkSlew()
[all …]
H A DCheckCapacitanceLimits.cc67 const Corner *corner1, *corner2; in operator ()() local
72 corner1, rf1, capacitance1, in operator ()()
95 const Corner *&corner1, in checkCapacitance() argument
101 corner1 = nullptr; in checkCapacitance()
108 corner1, rf1, capacitance1, limit1, slack1); in checkCapacitance()
112 corner1, rf1, capacitance1, limit1, slack1); in checkCapacitance()
122 const Corner *&corner1, in checkCapacitance1() argument
134 corner1, rf1, capacitance1, slack1, limit1); in checkCapacitance1()
202 const Corner *&corner1, in checkCapacitance() argument
218 corner1 = corner; in checkCapacitance()
[all …]
H A DCheckSlewLimits.hh43 const Corner *&corner1,
62 const Corner *&corner1,
72 const Corner *&corner1,
78 const Corner *corner1,
H A DCheckCapacitanceLimits.hh36 const Corner *corner1,
60 const Corner *&corner1,
69 const Corner *&corner1,
/dports/graphics/box/box-0.4.0/libs/g/
H A Drectangle.box5 Point corner1, corner2)
18 If[have == 0], $$.corner1 = $
28 \ $$.Poly[$.corner1, Point[.x=$.corner1.x, .y=$.corner2.y]
29 $.corner2, Point[.x=$.corner2.x, .y=$.corner1.y]]
32 Rectangle@Area[diag = $.corner2 - $.corner1, $$ += Abs[diag.x*diag.y]]
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/dat/dlua/layout/
H A Dhyper_shapes.lua82 function hyper.shapes.draw_box(corner1, corner2)
84 { type = "floor", corner1 = corner1, corner2 = corner2, open = true },
96 …local corner1 = { x = crawl.random_range(corridor_width,room.size.x), y = crawl.random_range(corri…
97 …sert(floor, { type = "space", corner1 = corner1, corner2 = { x = corner1.x + room.size.x - 1 - cor…
H A Domnigrid.lua43 local corner1 = { x = area.x1, y = area.y1 }
44 if corner1.x==0 then
45 if options.outer_corridor then corner1.x = corner1.x + options.corridor_width end
46 else corner1.x = corner1.x + off1 end
47 if corner1.y==0 then
48 if options.outer_corridor then corner1.y = corner1.y + options.corridor_width end
49 else corner1.y = corner1.y + off1 end
59 corner1.x = corner1.x - crawl.random_range(options.jitter_min,options.jitter_max)
60 corner1.y = corner1.y - crawl.random_range(options.jitter_min,options.jitter_max)
64 if corner1.x<=corner2.x and corner1.y<=corner2.y then
[all …]
H A Drooms_primitive.lua13 …{ type = "floor", corner1 = { x = 0, y = 0 }, corner2 = { x = room.size.x - 1, y = room.size.y - 1…
20 …{ type = "wall", corner1 = { x = 0, y = 0 }, corner2 = { x = room.size.x - 1, y = room.size.y - 1 …
27 …{ type = "floor", corner1 = { x = 0, y = 0}, corner2 = { x = room.size.x - 1, y = room.size.y - 1 …
33 …{ corner1 = { x = 0, y = 0}, corner2 = { x = room.size.x - 1, y = room.size.y - 1 }, shape = "proc…
H A Dhyper_paint.lua41 if item.corner1 == nil then item.corner1 = { x = 0, y = 0 } end
49 for x = item.corner1.x, item.corner2.x, 1 do
50 for y = item.corner1.y, item.corner2.y, 1 do
119 local sx,sy = item.corner2.x - item.corner1.x,item.corner2.y - item.corner1.y
123 local rx,ry = (x - item.corner1.x) * (sx-1)/sx + 0.5,(y - item.corner1.y) * (sy-1)/sy + 0.5
H A Dhyper_caves.lua86 function hyper.caves.cave_paint(corner1,corner2,params)
95 local x1,y1,x2,y2 = corner1.x,corner1.y,corner2.x,corner2.y
103 { type = "proc", corner1 = corner1, corner2 = corner2, callback = function(x,y,mx,my)
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/actions/
H A Drs_actiondrawlinerectangle.cpp44 RS_Vector corner1; member
70 polyline->addVertex(pPoints->corner1); in trigger()
73 polyline->addVertex({pPoints->corner2.x, pPoints->corner1.y}); in trigger()
75 polyline->addVertex({pPoints->corner1.x, pPoints->corner2.y}); in trigger()
98 if (getStatus()==SetCorner2 && pPoints->corner1.valid) { in mouseMoveEvent()
101 preview->addRectangle(pPoints->corner1, pPoints->corner2); in mouseMoveEvent()
126 pPoints->corner1 = mouse; in coordinateEvent()
H A Drs_actiondrawlinepolygon2.cpp41 RS_Vector corner1; member
65 bool ok = creation.createPolygon2(pPoints->corner1, pPoints->corner2, number); in trigger()
85 if (pPoints->corner1.valid) { in mouseMoveEvent()
90 creation.createPolygon2(pPoints->corner1, pPoints->corner2, number); in mouseMoveEvent()
124 pPoints->corner1 = mouse; in coordinateEvent()
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/
H A Dregion.hpp47 cRegion(CVector2<T> corner1, CVector2<T> corner2) in cRegion() argument
48 : x1(corner1.x), in cRegion()
49 y1(corner1.y), in cRegion()
50 x2(corner1.x), in cRegion()
52 width(corner2.x - corner1.x), in cRegion()
53 height(corner2.y - corner1.y){}; in cRegion()
/dports/games/stuntrally/stuntrally-2.6.1/source/vdrift/
H A Dvertexarray.cpp540 corner1 = center - dim*0.5; in SetTo2DButton()
543 float x1 = corner1[0]; in SetTo2DButton()
544 float y1 = corner1[1]; in SetTo2DButton()
586 corner1 = center - dim*0.5; in SetTo2DBox()
591 float lxmax = std::max((corner1-margin)[0],std::min(clipx,corner1[0])); in SetTo2DBox()
594 float lumax = (lxmax-(corner1-margin)[0])/(corner1[0]-(corner1-margin)[0])*0.5; in SetTo2DBox()
598 SetVertexData2DQuad((corner1-margin)[0],(corner1-margin)[1],lxmax,corner1[1], in SetTo2DBox()
602 SetVertexData2DQuad(corner1[0],(corner1-margin)[1],cxmax,corner1[1], in SetTo2DBox()
607 SetVertexData2DQuad(corner2[0],(corner1-margin)[1],rxmax,corner1[1], in SetTo2DBox()
612 SetVertexData2DQuad((corner1-margin)[0],corner1[1],lxmax,corner2[1], in SetTo2DBox()
[all …]
/dports/cad/librecad/LibreCAD-2.2.0-rc2/librecad/src/lib/engine/
H A Drs_overlaybox.h43 RS_OverlayBoxData(const RS_Vector& corner1, const RS_Vector& corner2) in RS_OverlayBoxData() argument
44 : corner1(corner1), corner2(corner2) {} in RS_OverlayBoxData()
51 RS_Vector corner1;
74 return data.corner1; in getCorner1()
/dports/cad/libredwg/libredwg-0.12.4/test/unit-testing/
H A D3dface.c11 dwg_point_3d corner1, corner2, corner3, corner4; in api_process() local
27 CHK_ENTITY_3RD (_3dface, 3DFACE, corner1); in api_process()
30 if (error || memcmp (&corner1, &_pt3d, sizeof (corner1))) in api_process()
32 if (z_is_zero != 0 && corner1.z != 0.0) in api_process()
/dports/games/0ad/0ad-0.0.23b-alpha/source/graphics/
H A DDecal.cpp34 CVector3D corner1(m_Decal.m_OffsetX + m_Decal.m_SizeX/2, 0, m_Decal.m_OffsetZ - m_Decal.m_SizeZ/2); in CalcVertexExtents() local
39 corner1 = GetTransform().Transform(corner1); in CalcVertexExtents()
43 …i0 = floor(std::min(std::min(corner0.X, corner1.X), std::min(corner2.X, corner3.X)) / TERRAIN_TILE… in CalcVertexExtents()
44 …j0 = floor(std::min(std::min(corner0.Z, corner1.Z), std::min(corner2.Z, corner3.Z)) / TERRAIN_TILE… in CalcVertexExtents()
45 …i1 = ceil(std::max(std::max(corner0.X, corner1.X), std::max(corner2.X, corner3.X)) / TERRAIN_TILE_… in CalcVertexExtents()
46 …j1 = ceil(std::max(std::max(corner0.Z, corner1.Z), std::max(corner2.Z, corner3.Z)) / TERRAIN_TILE_… in CalcVertexExtents()
/dports/science/liggghts/LIGGGHTS-PUBLIC-3.8.0-26-g6e873439/src/
H A Dregion_cone.cpp433 corner1[0] = lo; in surface_exterior()
434 corner1[1] = c1 + del1*radiuslo/r; in surface_exterior()
435 corner1[2] = c2 + del2*radiuslo/r; in surface_exterior()
447 point_on_line_segment(corner1,corner2,x,xp); in surface_exterior()
449 point_on_line_segment(corner1,corner3,x,xp); in surface_exterior()
478 corner1[0] = c1 + del1*radiuslo/r; in surface_exterior()
479 corner1[1] = lo; in surface_exterior()
480 corner1[2] = c2 + del2*radiuslo/r; in surface_exterior()
523 corner1[0] = c1 + del1*radiuslo/r; in surface_exterior()
524 corner1[1] = c2 + del2*radiuslo/r; in surface_exterior()
[all …]
/dports/math/lib2geom/lib2geom-1.1/src/2geom/
H A Dconic_section_clipper_impl.cpp66 Point corner1 = R.corner(TOP_RIGHT); in intersect()
73 if (are_near (P, corner1)) in intersect()
74 P = corner1; in intersect()
95 Point corner1 = R.corner(TOP_RIGHT); in intersect()
102 if (are_near (P, corner1)) in intersect()
103 P = corner1; in intersect()
124 Point corner1 = R.corner(TOP_LEFT); in intersect()
131 if (are_near (P, corner1)) in intersect()
132 P = corner1; in intersect()
160 if (are_near (P, corner1)) in intersect()
[all …]
/dports/science/lammps/lammps-stable_29Sep2021/src/
H A Dregion_cone.cpp431 corner1[0] = lo; in surface_exterior()
432 corner1[1] = c1 + del1*radiuslo/r; in surface_exterior()
433 corner1[2] = c2 + del2*radiuslo/r; in surface_exterior()
447 point_on_line_segment(corner1,corner2,x,xp); in surface_exterior()
453 point_on_line_segment(corner1,corner3,x,xp); in surface_exterior()
497 corner1[0] = c1 + del1*radiuslo/r; in surface_exterior()
498 corner1[1] = lo; in surface_exterior()
499 corner1[2] = c2 + del2*radiuslo/r; in surface_exterior()
562 corner1[0] = c1 + del1*radiuslo/r; in surface_exterior()
563 corner1[1] = c2 + del2*radiuslo/r; in surface_exterior()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/3rdparty/2geom/src/2geom/
H A Dconic_section_clipper_impl.cpp66 Point corner1 = R.corner(TOP_RIGHT); in intersect()
73 if (are_near (P, corner1)) in intersect()
74 P = corner1; in intersect()
95 Point corner1 = R.corner(TOP_RIGHT); in intersect()
102 if (are_near (P, corner1)) in intersect()
103 P = corner1; in intersect()
124 Point corner1 = R.corner(TOP_LEFT); in intersect()
131 if (are_near (P, corner1)) in intersect()
132 P = corner1; in intersect()
160 if (are_near (P, corner1)) in intersect()
[all …]
/dports/games/stratagus/stratagus-3.2.0/src/video/
H A Dcursor.cpp142 static void DrawVisibleRectangleCursor(PixelPos corner1, PixelPos corner2) in DrawVisibleRectangleCursor() argument
150 if (corner1.x > corner2.x) { in DrawVisibleRectangleCursor()
151 std::swap(corner1.x, corner2.x); in DrawVisibleRectangleCursor()
153 if (corner1.y > corner2.y) { in DrawVisibleRectangleCursor()
154 std::swap(corner1.y, corner2.y); in DrawVisibleRectangleCursor()
156 const int w = corner2.x - corner1.x + 1; in DrawVisibleRectangleCursor()
157 const int h = corner2.y - corner1.y + 1; in DrawVisibleRectangleCursor()
159 Video.DrawRectangleClip(ColorGreen, corner1.x, corner1.y, w, h); in DrawVisibleRectangleCursor()
/dports/games/stonesoup/crawl-0.27.1/crawl-ref/source/
H A Dcoordit.cc16 rectangle_iterator::rectangle_iterator(const coord_def& corner1, in rectangle_iterator() argument
19 topleft.x = min(corner1.x, corner2.x); in rectangle_iterator()
20 topleft.y = min(corner1.y, corner2.y); // not really necessary in rectangle_iterator()
21 bottomright.x = max(corner1.x, corner2.x); in rectangle_iterator()
22 bottomright.y = max(corner1.y, corner2.y); in rectangle_iterator()
87 random_rectangle_iterator::random_rectangle_iterator(const coord_def& corner1, in random_rectangle_iterator() argument
90 int left = min(corner1.x, corner2.x); in random_rectangle_iterator()
91 int right = max(corner1.x, corner2.x); in random_rectangle_iterator()
92 int top = min(corner1.y, corner2.y); in random_rectangle_iterator()
93 int bottom = max(corner1.y, corner2.y); in random_rectangle_iterator()

12345678910>>...12