コード例 #1
0
def openConvexFromVertList(vertices, name=None, description=None, path=None):
	if vertices:
		gfFigure=[vertices]+[[]]*len(vertices[0])
		gfFigure=gf.figureConvexHullUpdate(gfFigure)
		gf.figureOpen(gfFigure)
	else:
		gf.close()
	if figureInfo:
		figureInfo.setNameDescPath(name, description, path)
コード例 #2
0
def onSnapshotRestore(oldIndex):
	newIndex=getState("index")
	preserveRotation = (abs(newIndex-oldIndex)==1 and not getState("new", max(oldIndex,newIndex)))
	gf.figureOpen(getState("gfFigure"), preserveRotation)
	selectedVertex=getState("selectedVertex")
	if selectedVertex>=0:
		gf.vertexSelect(selectedVertex)
	else:
		gf.vertexDeselect()
コード例 #3
0
def openConvexFromVertList(vertices, name=None, description=None, path=None):
    if vertices:
        gfFigure = [vertices] + [[]] * len(vertices[0])
        gfFigure = gf.figureConvexHullUpdate(gfFigure)
        gf.figureOpen(gfFigure)
    else:
        gf.close()
    if figureInfo:
        figureInfo.setNameDescPath(name, description, path)
コード例 #4
0
def onSnapshotRestore(oldIndex):
    newIndex = getState("index")
    preserveRotation = (abs(newIndex - oldIndex) == 1
                        and not getState("new", max(oldIndex, newIndex)))
    gf.figureOpen(getState("gfFigure"), preserveRotation)
    selectedVertex = getState("selectedVertex")
    if selectedVertex >= 0:
        gf.vertexSelect(selectedVertex)
    else:
        gf.vertexDeselect()
コード例 #5
0
def open(newGfFigure, byName):
	global gfFigure
	global figsByName
	global instructions
	gfFigure=newGfFigure
	figsByName=byName
	gf.figureOpen(gfFigure)
	gf.clear()
	sleep()
	instructions=deque()
	gf.map("<enter>", "debugPlayback.play()")
コード例 #6
0
def commandStellate():
	figures=objFigure.fromGfFigure(gf.figureGet())
	if figureInfo:
		name,desc=figureInfo.getNameDesc()
	figures=[stellateFigure(f) for f in figures]
	if name:
		name="Stellated " + name
	desc=None
	gf.figureOpen(objFigure.toGfFigure(figures), True)
	if figureInfo:
		figureInfo.setNameDescPath(name, desc)
コード例 #7
0
def commandCreateDual():
	figures=objFigure.fromGfFigure(gf.figureGet())
	for f in figures:
		if not check.isFigureConvex(f):
			raise RuntimeError("The figure is not convex")
	if figureInfo:
		name, desc = figureInfo.getNameDesc()
	figures=[createDual(f) for f in figures]
	gf.figureOpen(objFigure.toGfFigure(figures), True)
	if figureInfo:
		figureInfo.setNameDescPath("Dual of " + name, None)
コード例 #8
0
ファイル: duals.py プロジェクト: Zereges/geometric-figures
def commandCreateDual():
	figures=objFigure.fromGfFigure(gf.figureGet())
	for f in figures:
		if not check.isFigureConvex(f):
			raise RuntimeError("The figure is not convex")
	if figureInfo:
		name, desc = figureInfo.getNameDesc()
	figures=[createDual(f) for f in figures]
	gf.figureOpen(objFigure.toGfFigure(figures), True)
	if figureInfo:
		figureInfo.setNameDescPath("Dual of " + name, None)
コード例 #9
0
def commandCutOff(lastCoordinate=0):
	gfFigure=gf.figureGet()
	if gfFigure:
		gfFigure[0]=[gf.posRotate(p) for p in gfFigure[0]]
	figures=objFigure.fromGfFigure(gfFigure)
	if not figures:
		raise RuntimeError("Nothing opened")
	dim=figures[0].spaceDim
	hyperplane=algebra.Hyperplane((0,)*(dim-1)+(1,), lastCoordinate)
	newFigures=[]
	for f in figures:
		newFigures.extend(cutFigure(f, hyperplane)[0])
	gfFigure=objFigure.toGfFigure(newFigures)
	if gfFigure:
		gfFigure[0]=[gf.posRotateBack(p) for p in gfFigure[0]]
	if figureInfo:
		name, desc=figureInfo.getNameDesc()
	gf.figureOpen(gfFigure, True)
	if figureInfo:
		figureInfo.setNameDescPath("Truncated "+name, None)
コード例 #10
0
def redraw():
	#gfFigureTmp=[[f for f in layer if len(f)>1] for layer in gfFigure]
	#gfFigureTmp[2]=[f for f in gfFigureTmp[2] if reduce(lambda x,f2:x^gfFigureTmp
	tmpGfFigure=[]
	tmpMappingOldR=None
	for i in range(0, len(gfFigure)):
		tmpMapping=[]
		tmpMappingR=[]
		for j in range(0, len(gfFigure[i])):
			if (i==0 or len([k for k in gfFigure[i][j] if tmpMappingOldR[k]!=None])>1) and (i!=2 or reduce(lambda x,e:x^(2**gfFigure[1][e][0])^(2**gfFigure[1][e][1]), gfFigure[i][j], 0)==0):
				tmpMappingR.append(len(tmpMapping))
				tmpMapping.append(j)
			else:
				tmpMappingR.append(None)
		tmpGfFigure.append([gfFigure[i][j] for j in tmpMapping])
		if i>0:
			tmpGfFigure[i]=[[tmpMappingOldR[k] for k in f if tmpMappingOldR[k]!=None] for f in tmpGfFigure[i]]
		tmpMappingOldR=tmpMappingR

	gf.figureOpen(tmpGfFigure, True)
	return sleep()
コード例 #11
0
def commandCutFigure(lastCoordinate=0):
	gfFigure=gf.figureGet()
	gfFigure[0]=[gf.posRotate(p) for p in gfFigure[0]]
	figures=objFigure.fromGfFigure(gfFigure)
	if not figures:
		raise RuntimeError("Nothing opened")
	dim=figures[0].spaceDim
	if dim<=0:
		raise RuntimeError("The figure cannot be cut")
	hyperplane=algebra.Hyperplane((0,)*(dim-1)+(1,), lastCoordinate)
	newFigures=[]
	for f in figures:
		newFigures.extend(cutFigure(f, hyperplane)[1])
	gfFigure=objFigure.toGfFigure(newFigures)
	if gfFigure:
		gfFigure[0]=[p[:-1] for p in gfFigure[0]]
		del gfFigure[dim]
	if figureInfo:
		name, desc=figureInfo.getNameDesc()
	gf.figureOpen(gfFigure)
	if figureInfo:
		figureInfo.setNameDescPath("Cross-section of "+name, None)
コード例 #12
0
def commandCutFaces(dim=2, ratio=0.1):
	if ratio>=1 or ratio<=0:
		raise RuntimeError("Wrong ratio")
	figures=objFigure.fromGfFigure(gf.figureGet())
	for f in figures:
		if not check.isFigureConvex(f):
			raise RuntimeError("The figure is not convex")
	if figureInfo:
		name, desc = figureInfo.getNameDesc()
	figures2=[]
	for f in figures:
		figures2.extend(cutOffFacesDim(f, ratio, dim))
	gf.figureOpen(objFigure.toGfFigure(figures2), True)
	gf.clear()
	if dim==0:
		name = name + " with vertices cut off"
	elif dim==1:
		name = name + " with edges cut off"
	else:
		name = name + " with " + str(dim) + "-faces cut off"

	if figureInfo:
		figureInfo.setNameDescPath(name, None)
コード例 #13
0
import gf
import math

gf.figureOpen([[(math.sqrt(2) / 2, -math.sqrt(2) / 2),
                (math.sqrt(2) / 2, math.sqrt(2) / 2),
                (-math.sqrt(2) / 2, math.sqrt(2) / 2),
                (-math.sqrt(2) / 2, -math.sqrt(2) / 2)],
               [[3, 0], [0, 1], [1, 2], [2, 3]], [[0, 1, 2, 3]]])

try:
    import figureInfo
    figureInfo.setNameDescPath('Square', '2-cube.\n2-orthoplex.', __file__)
except ImportError:
    pass
コード例 #14
0
import gf
gf.figureOpen([[()]])

try:
    import figureInfo
    figureInfo.setNameDescPath('Point', '0-simplex.\n0-cube.', __file__)
except ImportError:
    pass
コード例 #15
0
import gf
gf.figureOpen([[(-1.0, 0.0, 0.0, 0.0), (0.0, -1.0, 0.0, 0.0), (0.0, 0.0, -1.0, 0.0), (0.0, 0.0, 0.0, -1.0), (1.0, 0.0, 0.0, 0.0), (0.0, 1.0, 0.0, 0.0), (0.0, 0.0, 1.0, 0.0), (0.0, 0.0, 0.0, 1.0)], [[0, 1], [0, 2], [1, 2], [0, 3], [1, 3], [2, 3], [1, 4], [2, 4], [3, 4], [0, 5], [2, 5], [3, 5], [4, 5], [1, 6], [3, 6], [4, 6], [0, 6], [5, 6], [0, 7], [1, 7], [6, 7], [4, 7], [5, 7], [2, 7]], [[0, 2, 1], [0, 4, 3], [1, 5, 3], [2, 5, 4], [2, 7, 6], [4, 8, 6], [5, 8, 7], [1, 10, 9], [3, 11, 9], [5, 11, 10], [7, 12, 10], [8, 12, 11], [4, 14, 13], [6, 15, 13], [8, 15, 14], [3, 14, 16], [9, 17, 16], [11, 17, 14], [12, 17, 15], [0, 13, 16], [0, 19, 18], [16, 20, 18], [13, 20, 19], [6, 21, 19], [15, 20, 21], [9, 22, 18], [17, 20, 22], [12, 22, 21], [2, 23, 19], [7, 21, 23], [1, 23, 18], [10, 22, 23]], [[0, 1, 2, 3], [3, 4, 5, 6], [2, 7, 8, 9], [6, 9, 10, 11], [5, 12, 13, 14], [8, 15, 16, 17], [11, 14, 17, 18], [1, 19, 15, 12], [19, 20, 21, 22], [13, 23, 22, 24], [16, 25, 21, 26], [18, 27, 24, 26], [4, 28, 23, 29], [7, 30, 25, 31], [10, 29, 31, 27], [0, 20, 30, 28]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular hexadecachoron', '4-dimensional octahedron (4-orthoplex).\nOne of the six regular polychora (4-dimensional analogy of Platonic solids).\nIts cells are tetrahedral.', __file__)
except ImportError: pass
コード例 #16
0
ファイル: 3d-12.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[(-0.5773502588272095, -0.5773502588272095, -0.5773502588272095), (-0.5773502588272095, -0.5773502588272095, 0.5773502588272095), (-0.5773502588272095, 0.5773502588272095, -0.5773502588272095), (-0.5773502588272095, 0.5773502588272095, 0.5773502588272095), (0.5773502588272095, -0.5773502588272095, -0.5773502588272095), (0.5773502588272095, -0.5773502588272095, 0.5773502588272095), (0.5773502588272095, 0.5773502588272095, -0.5773502588272095), (0.5773502588272095, 0.5773502588272095, 0.5773502588272095), (0.0, 0.35682210326194763, 0.9341723322868347), (0.35682210326194763, 0.9341723322868347, 0.0), (0.9341723322868347, 0.0, 0.35682210326194763), (0.0, 0.35682210326194763, -0.9341723322868347), (0.35682210326194763, -0.9341723322868347, 0.0), (-0.9341723322868347, 0.0, 0.35682210326194763), (0.0, -0.35682210326194763, 0.9341723322868347), (-0.35682210326194763, 0.9341723322868347, 0.0), (0.9341723322868347, 0.0, -0.35682210326194763), (0.0, -0.35682210326194763, -0.9341723322868347), (-0.35682210326194763, -0.9341723322868347, 0.0), (-0.9341723322868347, 0.0, -0.35682210326194763)], [[5, 10], [5, 14], [8, 14], [7, 10], [7, 8], [2, 11], [2, 15], [9, 15], [6, 11], [6, 9], [4, 12], [4, 16], [10, 16], [5, 12], [6, 16], [7, 9], [4, 17], [11, 17], [0, 17], [0, 18], [12, 18], [1, 14], [1, 18], [0, 19], [2, 19], [13, 19], [1, 13], [8, 3], [13, 3], [15, 3]], [[0, 3, 4, 2, 1], [5, 8, 9, 7, 6], [10, 13, 0, 12, 11], [3, 15, 9, 14, 12], [11, 14, 8, 17, 16], [18, 16, 10, 20, 19], [21, 1, 13, 20, 22], [23, 18, 17, 5, 24], [19, 22, 26, 25, 23], [27, 2, 21, 26, 28], [7, 15, 4, 27, 29], [28, 25, 24, 6, 29]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Dodecahedron', 'One of the five Platonic Solids (regular polyhedra).\nIts faces are pentagonal.', __file__)
except ImportError: pass
コード例 #17
0
import gf
gf.figureOpen([[(-1.0, 0.0, 0.0), (1.0, 0.0, 0.0), (0.0, -1.0, 0.0), (0.0, 1.0, 0.0), (0.0, 0.0, -1.0), (0.0, 0.0, 1.0)], [[0, 2], [0, 4], [2, 4], [1, 2], [1, 4], [0, 5], [2, 5], [1, 5], [0, 3], [4, 3], [5, 3], [1, 3]], [[0, 2, 1], [3, 2, 4], [0, 6, 5], [3, 6, 7], [1, 9, 8], [5, 10, 8], [7, 10, 11], [4, 9, 11]], [[0, 1, 2, 3, 4, 5, 6, 7]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Octahedron', 'One of the five Platonic Solids (regular polyhedra).\nIts faces are triangular.', __file__)
except ImportError: pass
コード例 #18
0
ファイル: 1d-2.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[(-1.0,), (1.0,)], [[0, 1]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Abscissa', '1-simplex.\n1-cube.\n1-orthoplex.', __file__)
except ImportError: pass
コード例 #19
0
ファイル: 0d.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[()]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Point', '0-simplex.\n0-cube.', __file__)
except ImportError: pass
コード例 #20
0
ファイル: 2d-6.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([
	[
		(0.5, -0.8660253882408142),
		(1.0, 0),
		(0.5, 0.8660253882408142),
		(-0.5, 0.8660253882408142),
		(-1.0, 0),
		(-0.5, -0.8660253882408142)
	], [[4, 5], [5, 0], [0, 1], [1, 2], [2, 3], [3, 4]], [[0, 1, 2, 3, 4, 5]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Hexagon', None, __file__)
except ImportError: pass
コード例 #21
0
ファイル: 4d-600.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[(-0.5, -0.5, -0.5, -0.5), (-0.5, -0.5, -0.5, 0.5), (-0.5, -0.5, 0.5, -0.5), (-0.5, -0.5, 0.5, 0.5), (-0.5, 0.5, -0.5, -0.5), (-0.5, 0.5, -0.5, 0.5), (-0.5, 0.5, 0.5, -0.5), (-0.5, 0.5, 0.5, 0.5), (0.5, -0.5, -0.5, -0.5), (0.5, -0.5, -0.5, 0.5), (0.5, -0.5, 0.5, -0.5), (0.5, -0.5, 0.5, 0.5), (0.5, 0.5, -0.5, -0.5), (0.5, 0.5, -0.5, 0.5), (0.5, 0.5, 0.5, -0.5), (0.5, 0.5, 0.5, 0.5), (-1.0, 0.0, 0.0, 0.0), (0.0, -1.0, 0.0, 0.0), (0.0, 0.0, -1.0, 0.0), (0.0, 0.0, 0.0, -1.0), (1.0, 0.0, 0.0, 0.0), (0.0, 1.0, 0.0, 0.0), (0.0, 0.0, 1.0, 0.0), (0.0, 0.0, 0.0, 1.0), (-0.80901700258255, -0.5, -0.30901700258255005, 0.0), (-0.80901700258255, -0.30901700258255005, 0.0, -0.5), (-0.80901700258255, 0.0, -0.5, -0.30901700258255005), (-0.5, -0.30901700258255005, -0.80901700258255, 0.0), (-0.30901700258255005, -0.80901700258255, -0.5, 0.0), (-0.30901700258255005, -0.5, 0.0, -0.80901700258255), (0.0, -0.5, -0.80901700258255, -0.30901700258255005), (-0.5, 0.0, -0.30901700258255005, -0.80901700258255), (0.0, -0.80901700258255, -0.30901700258255005, -0.5), (-0.5, -0.80901700258255, 0.0, -0.30901700258255005), (-0.30901700258255005, 0.0, -0.80901700258255, -0.5), (0.0, -0.30901700258255005, -0.5, -0.80901700258255), (-0.80901700258255, -0.5, 0.30901700258255005, 0.0), (-0.80901700258255, 0.30901700258255005, 0.0, -0.5), (-0.80901700258255, 0.0, -0.5, 0.30901700258255005), (-0.5, 0.30901700258255005, -0.80901700258255, 0.0), (0.30901700258255005, -0.80901700258255, -0.5, 0.0), (0.30901700258255005, -0.5, 0.0, -0.80901700258255), (0.0, -0.5, -0.80901700258255, 0.30901700258255005), (-0.5, 0.0, 0.30901700258255005, -0.80901700258255), (0.0, -0.80901700258255, 0.30901700258255005, -0.5), (-0.5, -0.80901700258255, 0.0, 0.30901700258255005), (0.30901700258255005, 0.0, -0.80901700258255, -0.5), (0.0, 0.30901700258255005, -0.5, -0.80901700258255), (-0.80901700258255, 0.5, -0.30901700258255005, 0.0), (-0.80901700258255, -0.30901700258255005, 0.0, 0.5), (-0.80901700258255, 0.0, 0.5, -0.30901700258255005), (0.5, -0.30901700258255005, -0.80901700258255, 0.0), (-0.30901700258255005, -0.80901700258255, 0.5, 0.0), (-0.30901700258255005, 0.5, 0.0, -0.80901700258255), (0.0, 0.5, -0.80901700258255, -0.30901700258255005), (0.5, 0.0, -0.30901700258255005, -0.80901700258255), (0.0, -0.80901700258255, -0.30901700258255005, 0.5), (0.5, -0.80901700258255, 0.0, -0.30901700258255005), (-0.30901700258255005, 0.0, -0.80901700258255, 0.5), (0.0, -0.30901700258255005, 0.5, -0.80901700258255), (-0.80901700258255, 0.5, 0.30901700258255005, 0.0), (-0.80901700258255, 0.30901700258255005, 0.0, 0.5), (-0.80901700258255, 0.0, 0.5, 0.30901700258255005), (0.5, 0.30901700258255005, -0.80901700258255, 0.0), (0.30901700258255005, -0.80901700258255, 0.5, 0.0), (0.30901700258255005, 0.5, 0.0, -0.80901700258255), (0.0, 0.5, -0.80901700258255, 0.30901700258255005), (0.5, 0.0, 0.30901700258255005, -0.80901700258255), (0.0, -0.80901700258255, 0.30901700258255005, 0.5), (0.5, -0.80901700258255, 0.0, 0.30901700258255005), (0.30901700258255005, 0.0, -0.80901700258255, 0.5), (0.0, 0.30901700258255005, 0.5, -0.80901700258255), (0.80901700258255, -0.5, -0.30901700258255005, 0.0), (0.80901700258255, -0.30901700258255005, 0.0, -0.5), (0.80901700258255, 0.0, -0.5, -0.30901700258255005), (-0.5, -0.30901700258255005, 0.80901700258255, 0.0), (-0.30901700258255005, 0.80901700258255, -0.5, 0.0), (-0.30901700258255005, -0.5, 0.0, 0.80901700258255), (0.0, -0.5, 0.80901700258255, -0.30901700258255005), (-0.5, 0.0, -0.30901700258255005, 0.80901700258255), (0.0, 0.80901700258255, -0.30901700258255005, -0.5), (-0.5, 0.80901700258255, 0.0, -0.30901700258255005), (-0.30901700258255005, 0.0, 0.80901700258255, -0.5), (0.0, -0.30901700258255005, -0.5, 0.80901700258255), (0.80901700258255, -0.5, 0.30901700258255005, 0.0), (0.80901700258255, 0.30901700258255005, 0.0, -0.5), (0.80901700258255, 0.0, -0.5, 0.30901700258255005), (-0.5, 0.30901700258255005, 0.80901700258255, 0.0), (0.30901700258255005, 0.80901700258255, -0.5, 0.0), (0.30901700258255005, -0.5, 0.0, 0.80901700258255), (0.0, -0.5, 0.80901700258255, 0.30901700258255005), (-0.5, 0.0, 0.30901700258255005, 0.80901700258255), (0.0, 0.80901700258255, 0.30901700258255005, -0.5), (-0.5, 0.80901700258255, 0.0, 0.30901700258255005), (0.30901700258255005, 0.0, 0.80901700258255, -0.5), (0.0, 0.30901700258255005, -0.5, 0.80901700258255), (0.80901700258255, 0.5, -0.30901700258255005, 0.0), (0.80901700258255, -0.30901700258255005, 0.0, 0.5), (0.80901700258255, 0.0, 0.5, -0.30901700258255005), (0.5, -0.30901700258255005, 0.80901700258255, 0.0), (-0.30901700258255005, 0.80901700258255, 0.5, 0.0), (-0.30901700258255005, 0.5, 0.0, 0.80901700258255), (0.0, 0.5, 0.80901700258255, -0.30901700258255005), (0.5, 0.0, -0.30901700258255005, 0.80901700258255), (0.0, 0.80901700258255, -0.30901700258255005, 0.5), (0.5, 0.80901700258255, 0.0, -0.30901700258255005), (-0.30901700258255005, 0.0, 0.80901700258255, 0.5), (0.0, -0.30901700258255005, 0.5, 0.80901700258255), (0.80901700258255, 0.5, 0.30901700258255005, 0.0), (0.80901700258255, 0.30901700258255005, 0.0, 0.5), (0.80901700258255, 0.0, 0.5, 0.30901700258255005), (0.5, 0.30901700258255005, 0.80901700258255, 0.0), (0.30901700258255005, 0.80901700258255, 0.5, 0.0), (0.30901700258255005, 0.5, 0.0, 0.80901700258255), (0.0, 0.5, 0.80901700258255, 0.30901700258255005), (0.5, 0.0, 0.30901700258255005, 0.80901700258255), (0.0, 0.80901700258255, 0.30901700258255005, 0.5), (0.5, 0.80901700258255, 0.0, 0.30901700258255005), (0.30901700258255005, 0.0, 0.80901700258255, 0.5), (0.0, 0.30901700258255005, 0.5, 0.80901700258255)], [[0, 24], [0, 25], [24, 25], [0, 26], [24, 26], [25, 26], [16, 24], [16, 25], [16, 26], [0, 27], [24, 27], [26, 27], [0, 28], [24, 28], [27, 28], [1, 24], [1, 27], [1, 28], [0, 30], [27, 30], [28, 30], [0, 29], [25, 29], [0, 31], [25, 31], [29, 31], [26, 31], [0, 32], [28, 32], [30, 32], [0, 33], [25, 33], [29, 33], [29, 32], [32, 33], [28, 33], [17, 28], [17, 32], [17, 33], [24, 33], [2, 25], [2, 29], [2, 33], [4, 26], [4, 31], [4, 34], [26, 34], [31, 34], [0, 34], [27, 34], [30, 34], [18, 27], [18, 30], [18, 34], [0, 35], [30, 35], [34, 35], [29, 35], [32, 35], [31, 35], [8, 30], [8, 32], [8, 35], [19, 29], [19, 31], [19, 35], [16, 36], [24, 36], [25, 36], [2, 36], [33, 36], [16, 37], [25, 37], [26, 37], [4, 37], [31, 37], [16, 38], [24, 38], [26, 38], [1, 38], [27, 38], [26, 39], [27, 39], [38, 39], [4, 39], [34, 39], [18, 39], [8, 40], [30, 40], [32, 40], [28, 40], [17, 40], [19, 41], [29, 41], [35, 41], [8, 41], [32, 41], [28, 42], [30, 42], [40, 42], [18, 42], [27, 42], [1, 42], [19, 43], [29, 43], [31, 43], [25, 43], [37, 43], [2, 43], [29, 44], [32, 44], [41, 44], [2, 44], [33, 44], [17, 44], [17, 45], [28, 45], [33, 45], [24, 45], [36, 45], [1, 45], [30, 46], [34, 46], [35, 46], [18, 46], [8, 46], [31, 47], [34, 47], [35, 47], [46, 47], [19, 47], [4, 47], [16, 48], [26, 48], [38, 48], [4, 48], [39, 48], [37, 48], [16, 49], [24, 49], [36, 49], [1, 49], [45, 49], [38, 49], [16, 50], [25, 50], [37, 50], [2, 50], [43, 50], [36, 50], [8, 51], [30, 51], [46, 51], [18, 51], [42, 51], [9, 40], [9, 42], [9, 51], [40, 51], [17, 52], [33, 52], [45, 52], [36, 52], [2, 52], [44, 52], [4, 53], [31, 53], [47, 53], [19, 53], [43, 53], [37, 53], [4, 54], [34, 54], [47, 54], [12, 46], [12, 47], [12, 54], [46, 54], [18, 54], [39, 54], [19, 55], [35, 55], [47, 55], [12, 55], [46, 55], [8, 55], [41, 55], [1, 56], [28, 56], [45, 56], [17, 56], [40, 56], [9, 56], [42, 56], [17, 57], [32, 57], [44, 57], [10, 41], [10, 44], [10, 57], [41, 57], [8, 57], [40, 57], [1, 58], [27, 58], [38, 58], [42, 58], [18, 58], [39, 58], [2, 59], [29, 59], [44, 59], [10, 59], [41, 59], [43, 59], [19, 59], [16, 60], [37, 60], [48, 60], [50, 60], [16, 61], [48, 61], [60, 61], [38, 61], [49, 61], [16, 62], [50, 62], [60, 62], [49, 62], [61, 62], [36, 62], [12, 63], [46, 63], [54, 63], [18, 63], [51, 63], [10, 64], [44, 64], [57, 64], [17, 64], [52, 64], [12, 65], [47, 65], [55, 65], [19, 65], [53, 65], [18, 66], [54, 66], [63, 66], [39, 66], [58, 66], [19, 67], [55, 67], [65, 67], [10, 67], [41, 67], [59, 67], [17, 68], [52, 68], [64, 68], [45, 68], [56, 68], [11, 64], [11, 68], [11, 69], [64, 69], [68, 69], [17, 69], [56, 69], [9, 69], [40, 69], [57, 69], [18, 70], [51, 70], [63, 70], [58, 70], [66, 70], [13, 63], [13, 66], [13, 70], [42, 70], [9, 70], [14, 65], [14, 67], [14, 71], [65, 71], [67, 71], [19, 71], [59, 71], [53, 71], [43, 71], [9, 72], [40, 72], [69, 72], [57, 72], [8, 72], [51, 72], [8, 73], [41, 73], [57, 73], [72, 73], [10, 73], [67, 73], [55, 73], [8, 74], [51, 74], [72, 74], [73, 74], [20, 72], [20, 73], [20, 74], [55, 74], [46, 74], [12, 74], [63, 74], [36, 75], [50, 75], [62, 75], [2, 75], [52, 75], [4, 76], [39, 76], [48, 76], [54, 76], [66, 76], [1, 77], [45, 77], [49, 77], [56, 77], [68, 77], [2, 78], [44, 78], [52, 78], [75, 78], [10, 78], [64, 78], [59, 78], [1, 79], [49, 79], [77, 79], [38, 79], [61, 79], [58, 79], [4, 80], [47, 80], [54, 80], [76, 80], [12, 80], [65, 80], [53, 80], [4, 81], [48, 81], [76, 81], [80, 81], [21, 76], [21, 80], [21, 81], [53, 81], [37, 81], [60, 81], [2, 82], [50, 82], [75, 82], [78, 82], [22, 75], [22, 78], [22, 82], [59, 82], [43, 82], [71, 82], [1, 83], [58, 83], [79, 83], [77, 83], [23, 77], [23, 79], [23, 83], [42, 83], [56, 83], [9, 83], [70, 83], [57, 84], [69, 84], [72, 84], [20, 84], [73, 84], [10, 84], [11, 84], [64, 84], [12, 85], [55, 85], [74, 85], [20, 85], [73, 85], [14, 85], [65, 85], [67, 85], [9, 86], [51, 86], [70, 86], [20, 86], [72, 86], [74, 86], [63, 86], [13, 86], [22, 87], [75, 87], [82, 87], [50, 87], [60, 87], [62, 87], [12, 88], [54, 88], [80, 88], [21, 88], [76, 88], [13, 88], [63, 88], [66, 88], [9, 89], [56, 89], [83, 89], [23, 89], [77, 89], [68, 89], [69, 89], [11, 89], [22, 90], [75, 90], [78, 90], [52, 90], [64, 90], [11, 90], [68, 90], [49, 91], [61, 91], [62, 91], [79, 91], [23, 91], [77, 91], [53, 92], [65, 92], [80, 92], [21, 92], [81, 92], [14, 92], [71, 92], [21, 93], [76, 93], [81, 93], [48, 93], [60, 93], [61, 93], [22, 94], [78, 94], [82, 94], [59, 94], [71, 94], [10, 94], [14, 94], [67, 94], [23, 95], [79, 95], [83, 95], [58, 95], [70, 95], [13, 95], [66, 95], [13, 96], [63, 96], [88, 96], [12, 96], [86, 96], [20, 96], [74, 96], [85, 96], [11, 97], [69, 97], [89, 97], [9, 97], [72, 97], [86, 97], [20, 97], [84, 97], [14, 98], [67, 98], [94, 98], [10, 98], [85, 98], [20, 98], [73, 98], [84, 98], [11, 99], [64, 99], [84, 99], [10, 99], [98, 99], [94, 99], [78, 99], [22, 99], [90, 99], [60, 100], [81, 100], [93, 100], [21, 100], [92, 100], [23, 101], [79, 101], [95, 101], [91, 101], [61, 101], [14, 102], [71, 102], [94, 102], [22, 102], [82, 102], [87, 102], [92, 102], [9, 103], [86, 103], [97, 103], [89, 103], [13, 103], [70, 103], [95, 103], [23, 103], [83, 103], [21, 104], [76, 104], [93, 104], [13, 104], [66, 104], [95, 104], [88, 104], [12, 105], [85, 105], [96, 105], [88, 105], [14, 105], [65, 105], [92, 105], [21, 105], [80, 105], [22, 106], [75, 106], [90, 106], [87, 106], [62, 106], [11, 107], [68, 107], [90, 107], [23, 107], [77, 107], [91, 107], [89, 107], [20, 108], [85, 108], [98, 108], [96, 108], [105, 108], [14, 108], [20, 109], [96, 109], [108, 109], [86, 109], [97, 109], [103, 109], [13, 109], [20, 110], [98, 110], [108, 110], [15, 108], [15, 109], [15, 110], [109, 110], [97, 110], [11, 110], [84, 110], [99, 110], [14, 111], [94, 111], [98, 111], [99, 111], [110, 111], [15, 111], [108, 111], [102, 111], [22, 111], [14, 112], [105, 112], [108, 112], [111, 112], [15, 112], [102, 112], [92, 112], [21, 112], [100, 112], [100, 102], [13, 113], [95, 113], [103, 113], [109, 113], [23, 113], [101, 104], [101, 113], [104, 113], [22, 114], [102, 114], [111, 114], [15, 114], [112, 114], [100, 114], [87, 114], [106, 114], [87, 100], [23, 115], [103, 115], [113, 115], [15, 113], [15, 115], [109, 115], [11, 115], [89, 115], [97, 115], [110, 115], [107, 115], [21, 116], [100, 116], [112, 116], [15, 116], [114, 116], [93, 116], [104, 116], [93, 101], [101, 116], [113, 116], [21, 117], [105, 117], [112, 117], [15, 117], [113, 117], [116, 117], [104, 117], [13, 117], [96, 117], [109, 117], [88, 117], [108, 117], [11, 118], [90, 118], [107, 118], [115, 118], [110, 118], [15, 118], [22, 118], [99, 118], [111, 118], [114, 118], [106, 118], [106, 107], [23, 119], [107, 119], [115, 119], [15, 119], [118, 119], [106, 119], [114, 119], [91, 119], [101, 119], [116, 119], [113, 119], [91, 106], [62, 3], [75, 3], [106, 3], [90, 3], [107, 3], [91, 3], [68, 3], [77, 3], [36, 3], [52, 3], [45, 3], [49, 3], [38, 5], [39, 5], [58, 5], [93, 5], [101, 5], [104, 5], [95, 5], [66, 5], [76, 5], [79, 5], [61, 5], [48, 5], [43, 6], [71, 6], [82, 6], [87, 6], [100, 6], [102, 6], [92, 6], [37, 6], [53, 6], [60, 6], [81, 6], [50, 6], [87, 7], [100, 7], [114, 7], [91, 7], [101, 7], [119, 7], [106, 7], [116, 7], [60, 7], [93, 7], [62, 7], [61, 7]], [[0, 2, 1], [0, 4, 3], [1, 5, 3], [2, 5, 4], [6, 2, 7], [6, 4, 8], [7, 5, 8], [0, 10, 9], [3, 11, 9], [4, 11, 10], [0, 13, 12], [9, 14, 12], [10, 14, 13], [15, 10, 16], [15, 13, 17], [16, 14, 17], [9, 19, 18], [12, 20, 18], [14, 20, 19], [1, 22, 21], [1, 24, 23], [21, 25, 23], [22, 25, 24], [3, 26, 23], [5, 26, 24], [12, 28, 27], [18, 29, 27], [20, 29, 28], [1, 31, 30], [21, 32, 30], [22, 32, 31], [21, 33, 27], [27, 34, 30], [33, 34, 32], [12, 35, 30], [28, 34, 35], [36, 28, 37], [36, 35, 38], [37, 34, 38], [0, 39, 30], [13, 35, 39], [40, 22, 41], [40, 31, 42], [41, 32, 42], [2, 31, 39], [43, 26, 44], [43, 46, 45], [44, 47, 45], [26, 47, 46], [3, 46, 48], [23, 47, 48], [9, 49, 48], [11, 49, 46], [18, 50, 48], [19, 50, 49], [51, 19, 52], [51, 49, 53], [52, 50, 53], [18, 55, 54], [48, 56, 54], [50, 56, 55], [21, 57, 54], [27, 58, 54], [33, 58, 57], [23, 59, 54], [47, 56, 59], [29, 58, 55], [60, 29, 61], [60, 55, 62], [61, 58, 62], [25, 59, 57], [63, 25, 64], [63, 57, 65], [64, 59, 65], [6, 67, 66], [7, 68, 66], [2, 68, 67], [40, 68, 69], [42, 70, 69], [31, 70, 68], [39, 70, 67], [7, 72, 71], [8, 73, 71], [5, 73, 72], [43, 73, 74], [44, 75, 74], [26, 75, 73], [24, 75, 72], [6, 77, 76], [8, 78, 76], [4, 78, 77], [15, 77, 79], [16, 80, 79], [10, 80, 77], [11, 80, 78], [11, 82, 81], [78, 83, 81], [80, 83, 82], [43, 81, 84], [45, 85, 84], [46, 85, 81], [51, 82, 86], [53, 85, 86], [49, 85, 82], [60, 88, 87], [61, 89, 87], [29, 89, 88], [20, 88, 90], [28, 89, 90], [36, 90, 91], [37, 89, 91], [63, 93, 92], [65, 94, 92], [57, 94, 93], [61, 96, 95], [62, 94, 95], [58, 94, 96], [33, 96, 93], [20, 98, 97], [90, 99, 97], [88, 99, 98], [51, 101, 100], [52, 98, 100], [19, 98, 101], [14, 97, 101], [16, 101, 102], [17, 97, 102], [63, 104, 103], [64, 105, 103], [25, 105, 104], [24, 105, 106], [72, 107, 106], [75, 107, 105], [22, 104, 106], [40, 106, 108], [41, 104, 108], [33, 110, 109], [93, 111, 109], [96, 111, 110], [41, 109, 112], [42, 113, 112], [32, 113, 109], [37, 110, 114], [38, 113, 114], [34, 113, 110], [36, 116, 115], [38, 117, 115], [35, 117, 116], [39, 117, 118], [67, 119, 118], [70, 119, 117], [13, 116, 118], [15, 118, 120], [17, 116, 120], [50, 122, 121], [55, 123, 121], [56, 123, 122], [52, 121, 124], [53, 122, 124], [60, 121, 125], [62, 123, 125], [47, 127, 126], [59, 128, 126], [56, 128, 127], [122, 129, 127], [123, 129, 128], [64, 126, 130], [65, 128, 130], [44, 126, 131], [45, 127, 131], [8, 133, 132], [76, 134, 132], [78, 134, 133], [43, 133, 135], [84, 136, 135], [81, 136, 133], [83, 136, 134], [74, 137, 135], [73, 137, 133], [71, 137, 132], [6, 139, 138], [66, 140, 138], [67, 140, 139], [15, 139, 141], [120, 142, 141], [118, 142, 139], [119, 142, 140], [79, 143, 141], [77, 143, 139], [76, 143, 138], [7, 145, 144], [71, 146, 144], [72, 146, 145], [40, 145, 147], [108, 148, 147], [106, 148, 145], [107, 148, 146], [69, 149, 147], [68, 149, 145], [66, 149, 144], [60, 151, 150], [125, 152, 150], [121, 152, 151], [52, 151, 153], [124, 152, 153], [100, 154, 153], [98, 154, 151], [155, 99, 156], [155, 158, 157], [156, 154, 157], [99, 154, 158], [88, 158, 151], [87, 158, 150], [38, 160, 159], [115, 161, 159], [117, 161, 160], [70, 162, 160], [119, 161, 162], [42, 160, 163], [112, 164, 163], [113, 164, 160], [114, 164, 159], [69, 162, 163], [44, 166, 165], [131, 167, 165], [126, 167, 166], [64, 166, 168], [130, 167, 168], [103, 169, 168], [105, 169, 166], [75, 170, 166], [107, 169, 170], [74, 170, 165], [45, 172, 171], [131, 173, 171], [127, 173, 172], [174, 129, 175], [174, 177, 176], [175, 173, 176], [129, 173, 177], [122, 177, 172], [53, 172, 178], [124, 177, 178], [84, 179, 171], [85, 179, 172], [86, 179, 178], [65, 181, 180], [130, 182, 180], [128, 182, 181], [174, 184, 183], [175, 182, 183], [129, 182, 184], [123, 184, 181], [62, 181, 185], [125, 184, 185], [95, 186, 185], [94, 186, 181], [92, 186, 180], [17, 188, 187], [120, 189, 187], [116, 189, 188], [36, 188, 190], [115, 189, 190], [91, 191, 190], [90, 191, 188], [155, 191, 192], [156, 193, 192], [99, 193, 191], [97, 193, 188], [102, 193, 187], [37, 195, 194], [114, 196, 194], [110, 196, 195], [197, 111, 198], [197, 200, 199], [198, 196, 199], [111, 196, 200], [96, 200, 195], [61, 195, 201], [95, 200, 201], [87, 202, 201], [89, 202, 195], [91, 202, 194], [16, 204, 203], [79, 205, 203], [80, 205, 204], [102, 206, 203], [101, 206, 204], [51, 204, 207], [100, 206, 207], [86, 208, 207], [82, 208, 204], [83, 208, 205], [41, 210, 209], [112, 211, 209], [109, 211, 210], [197, 213, 212], [198, 211, 212], [111, 211, 213], [93, 213, 210], [108, 214, 209], [104, 214, 210], [63, 210, 215], [103, 214, 215], [92, 213, 215], [71, 217, 216], [132, 218, 216], [137, 218, 217], [144, 219, 216], [146, 219, 217], [132, 221, 220], [216, 222, 220], [218, 222, 221], [76, 223, 220], [134, 221, 223], [138, 224, 220], [143, 224, 223], [144, 226, 225], [216, 227, 225], [219, 227, 226], [138, 228, 225], [220, 229, 225], [224, 229, 228], [222, 229, 227], [66, 230, 225], [140, 228, 230], [149, 226, 230], [174, 232, 231], [176, 233, 231], [177, 233, 232], [124, 232, 234], [178, 233, 234], [153, 235, 234], [152, 235, 232], [198, 237, 236], [199, 238, 236], [196, 238, 237], [114, 237, 239], [194, 238, 239], [159, 240, 239], [164, 240, 237], [175, 242, 241], [183, 243, 241], [182, 243, 242], [130, 242, 244], [180, 243, 244], [168, 245, 244], [167, 245, 242], [178, 247, 246], [234, 248, 246], [233, 248, 247], [86, 249, 246], [207, 250, 246], [208, 250, 249], [179, 247, 249], [180, 252, 251], [244, 253, 251], [243, 253, 252], [197, 255, 254], [212, 256, 254], [213, 256, 255], [92, 255, 251], [215, 256, 251], [186, 252, 255], [159, 258, 257], [239, 259, 257], [240, 259, 258], [115, 260, 257], [190, 261, 257], [189, 261, 260], [161, 258, 260], [262, 259, 263], [262, 265, 264], [263, 266, 264], [259, 266, 265], [239, 265, 267], [257, 266, 267], [190, 268, 267], [261, 266, 268], [155, 270, 269], [192, 268, 269], [191, 268, 270], [194, 271, 267], [238, 265, 271], [91, 270, 267], [202, 271, 270], [153, 273, 272], [234, 274, 272], [235, 274, 273], [207, 275, 272], [246, 276, 272], [250, 276, 275], [277, 248, 278], [277, 274, 279], [278, 276, 279], [248, 276, 274], [100, 280, 272], [206, 275, 280], [156, 280, 281], [157, 273, 281], [154, 273, 280], [282, 253, 283], [282, 285, 284], [283, 286, 284], [253, 286, 285], [244, 285, 287], [251, 286, 287], [215, 288, 287], [256, 286, 288], [168, 289, 287], [245, 285, 289], [103, 290, 287], [214, 288, 290], [169, 289, 290], [155, 292, 291], [269, 293, 291], [270, 293, 292], [202, 294, 292], [271, 293, 294], [87, 292, 295], [201, 294, 295], [150, 296, 295], [158, 296, 292], [157, 296, 291], [95, 298, 297], [201, 299, 297], [200, 299, 298], [295, 300, 297], [294, 300, 299], [197, 298, 301], [254, 302, 301], [255, 302, 298], [186, 303, 298], [252, 302, 303], [199, 299, 301], [185, 303, 297], [150, 305, 304], [295, 306, 304], [296, 306, 305], [297, 307, 304], [300, 307, 306], [308, 300, 309], [308, 306, 310], [309, 307, 310], [185, 311, 304], [303, 307, 311], [125, 312, 304], [152, 305, 312], [174, 312, 313], [231, 314, 313], [232, 314, 312], [235, 314, 305], [184, 311, 312], [183, 311, 313], [149, 316, 315], [230, 317, 315], [226, 317, 316], [69, 315, 318], [147, 316, 318], [163, 319, 318], [162, 319, 315], [84, 321, 320], [135, 322, 320], [136, 322, 321], [179, 323, 321], [249, 324, 321], [247, 324, 323], [171, 323, 320], [120, 326, 325], [141, 327, 325], [142, 327, 326], [189, 328, 326], [260, 329, 326], [261, 329, 328], [187, 328, 325], [112, 331, 330], [163, 332, 330], [164, 332, 331], [318, 333, 330], [319, 333, 332], [198, 331, 334], [236, 335, 334], [237, 335, 331], [240, 335, 332], [209, 336, 330], [211, 336, 331], [212, 336, 334], [141, 338, 337], [325, 339, 337], [327, 339, 338], [143, 338, 340], [223, 341, 340], [224, 341, 338], [79, 340, 337], [203, 342, 337], [205, 342, 340], [131, 344, 343], [171, 345, 343], [173, 345, 344], [320, 346, 343], [323, 346, 345], [175, 344, 347], [241, 348, 347], [242, 348, 344], [167, 349, 344], [245, 348, 349], [176, 345, 347], [165, 349, 343], [135, 351, 350], [320, 352, 350], [322, 352, 351], [343, 353, 350], [346, 353, 352], [354, 346, 355], [354, 352, 356], [355, 353, 356], [165, 357, 350], [349, 353, 357], [74, 358, 350], [137, 351, 358], [217, 359, 358], [218, 359, 351], [170, 357, 358], [147, 361, 360], [318, 362, 360], [316, 362, 361], [330, 363, 360], [333, 363, 362], [364, 333, 365], [364, 362, 366], [365, 363, 366], [209, 367, 360], [336, 363, 367], [108, 368, 360], [148, 361, 368], [214, 367, 368], [290, 369, 368], [288, 369, 367], [203, 371, 370], [337, 372, 370], [342, 372, 371], [325, 373, 370], [339, 372, 373], [374, 339, 375], [374, 373, 376], [375, 372, 376], [102, 377, 370], [187, 378, 370], [193, 378, 377], [328, 373, 378], [156, 377, 379], [281, 380, 379], [280, 380, 377], [206, 371, 377], [275, 380, 371], [192, 378, 379], [271, 382, 381], [294, 383, 381], [293, 383, 382], [308, 383, 384], [309, 385, 384], [300, 385, 383], [299, 385, 381], [199, 381, 386], [301, 385, 386], [262, 388, 387], [264, 382, 387], [265, 382, 388], [238, 388, 381], [236, 388, 386], [183, 390, 389], [313, 391, 389], [311, 391, 390], [309, 393, 392], [310, 391, 392], [307, 391, 393], [303, 393, 390], [282, 395, 394], [283, 396, 394], [253, 396, 395], [252, 396, 390], [302, 393, 396], [243, 395, 390], [241, 395, 389], [157, 398, 397], [281, 399, 397], [273, 399, 398], [308, 401, 400], [310, 402, 400], [306, 402, 401], [296, 401, 398], [305, 402, 398], [235, 403, 398], [314, 402, 403], [291, 401, 397], [277, 403, 404], [279, 399, 404], [274, 399, 403], [364, 406, 405], [366, 407, 405], [362, 407, 406], [316, 406, 408], [361, 407, 408], [219, 409, 408], [226, 410, 408], [227, 410, 409], [317, 406, 410], [176, 412, 411], [347, 413, 411], [345, 413, 412], [354, 415, 414], [355, 413, 414], [346, 413, 415], [323, 415, 412], [277, 417, 416], [278, 418, 416], [248, 418, 417], [247, 418, 412], [324, 415, 418], [233, 417, 412], [231, 417, 411], [192, 420, 419], [379, 421, 419], [378, 421, 420], [374, 423, 422], [376, 421, 422], [373, 421, 423], [328, 423, 420], [261, 424, 420], [329, 423, 424], [269, 425, 419], [268, 425, 420], [263, 424, 426], [264, 425, 426], [266, 425, 424], [364, 428, 427], [365, 429, 427], [333, 429, 428], [319, 428, 430], [332, 429, 430], [240, 431, 430], [335, 429, 431], [262, 431, 432], [263, 433, 432], [259, 433, 431], [258, 433, 430], [224, 435, 434], [228, 436, 434], [229, 436, 435], [338, 437, 434], [341, 437, 435], [374, 439, 438], [375, 437, 438], [339, 437, 439], [327, 439, 434], [245, 441, 440], [349, 442, 440], [348, 442, 441], [355, 442, 443], [356, 444, 443], [353, 444, 442], [357, 444, 440], [282, 441, 445], [284, 446, 445], [285, 446, 441], [289, 446, 440], [354, 448, 447], [356, 449, 447], [352, 449, 448], [322, 448, 450], [351, 449, 450], [218, 451, 450], [359, 449, 451], [221, 452, 450], [222, 452, 451], [365, 454, 453], [366, 455, 453], [363, 455, 454], [336, 454, 456], [367, 455, 456], [288, 457, 456], [369, 455, 457], [212, 456, 458], [334, 454, 458], [283, 460, 459], [284, 457, 459], [286, 457, 460], [256, 460, 456], [254, 460, 458], [375, 462, 461], [376, 463, 461], [372, 463, 462], [342, 462, 464], [371, 463, 464], [275, 465, 464], [380, 463, 465], [278, 467, 466], [279, 465, 466], [276, 465, 467], [250, 467, 464], [277, 469, 468], [416, 470, 468], [417, 470, 469], [231, 469, 471], [411, 470, 471], [404, 472, 468], [403, 472, 469], [310, 474, 473], [400, 472, 473], [402, 472, 474], [314, 474, 469], [313, 474, 471], [389, 475, 471], [391, 475, 474], [392, 475, 473], [264, 477, 476], [426, 478, 476], [425, 478, 477], [269, 477, 479], [419, 478, 479], [291, 480, 479], [397, 481, 479], [401, 481, 480], [308, 480, 482], [400, 481, 482], [387, 483, 476], [382, 483, 477], [384, 483, 482], [383, 483, 480], [293, 480, 477], [283, 485, 484], [459, 486, 484], [460, 486, 485], [254, 485, 487], [458, 486, 487], [394, 488, 484], [396, 488, 485], [309, 490, 489], [392, 488, 489], [393, 488, 490], [302, 490, 485], [301, 490, 487], [386, 491, 487], [385, 491, 490], [384, 491, 489], [262, 493, 492], [387, 494, 492], [388, 494, 493], [236, 493, 495], [386, 494, 495], [487, 496, 495], [491, 496, 494], [458, 497, 495], [486, 496, 497], [334, 498, 495], [454, 497, 498], [365, 498, 499], [453, 497, 499], [432, 500, 492], [431, 500, 493], [427, 500, 499], [429, 500, 498], [335, 498, 493], [359, 502, 501], [451, 503, 501], [449, 503, 502], [356, 502, 504], [447, 503, 504], [443, 505, 504], [444, 505, 502], [375, 507, 506], [461, 508, 506], [462, 508, 507], [438, 509, 506], [437, 509, 507], [341, 507, 510], [435, 509, 510], [284, 512, 511], [459, 513, 511], [457, 513, 512], [366, 515, 514], [453, 513, 514], [455, 513, 515], [369, 515, 512], [405, 516, 514], [407, 516, 515], [445, 517, 511], [446, 517, 512], [397, 519, 518], [479, 520, 518], [481, 520, 519], [419, 521, 518], [478, 520, 521], [279, 523, 522], [466, 524, 522], [465, 524, 523], [376, 526, 525], [461, 524, 525], [463, 524, 526], [380, 526, 523], [281, 523, 518], [399, 519, 523], [379, 526, 518], [421, 521, 526], [422, 521, 525], [404, 519, 522], [354, 528, 527], [447, 529, 527], [448, 529, 528], [278, 531, 530], [466, 532, 530], [467, 532, 531], [416, 533, 530], [418, 533, 531], [414, 533, 527], [415, 533, 528], [324, 528, 531], [389, 535, 534], [471, 536, 534], [475, 536, 535], [411, 537, 534], [470, 536, 537], [282, 539, 538], [445, 540, 538], [441, 540, 539], [355, 542, 541], [443, 540, 541], [442, 540, 542], [348, 542, 539], [241, 539, 534], [395, 535, 539], [347, 542, 534], [413, 537, 542], [414, 537, 541], [394, 535, 538], [364, 544, 543], [427, 545, 543], [428, 545, 544], [405, 546, 543], [406, 546, 544], [317, 544, 547], [410, 546, 547], [263, 549, 548], [432, 550, 548], [433, 550, 549], [374, 552, 551], [438, 553, 551], [439, 553, 552], [426, 554, 548], [424, 554, 549], [422, 554, 551], [423, 554, 552], [329, 552, 549], [392, 556, 555], [489, 557, 555], [488, 557, 556], [475, 558, 556], [535, 559, 556], [536, 559, 558], [473, 558, 555], [394, 556, 560], [538, 559, 560], [484, 557, 560], [473, 562, 561], [555, 563, 561], [558, 563, 562], [400, 564, 561], [472, 562, 564], [481, 565, 564], [519, 566, 564], [520, 566, 565], [482, 565, 561], [404, 564, 567], [522, 566, 567], [468, 562, 567], [489, 569, 568], [555, 570, 568], [557, 570, 569], [571, 563, 572], [571, 570, 573], [572, 574, 573], [563, 574, 570], [561, 574, 568], [482, 575, 568], [565, 574, 575], [387, 577, 576], [476, 575, 576], [483, 575, 577], [492, 578, 576], [494, 578, 577], [491, 569, 577], [496, 578, 569], [384, 577, 568], [459, 580, 579], [484, 581, 579], [486, 581, 580], [496, 582, 581], [569, 583, 581], [578, 583, 582], [571, 585, 584], [573, 583, 584], [570, 583, 585], [557, 585, 581], [497, 582, 580], [560, 585, 579], [511, 586, 579], [513, 586, 580], [453, 580, 587], [499, 582, 587], [514, 586, 587], [538, 589, 588], [560, 590, 588], [559, 590, 589], [579, 591, 588], [585, 591, 590], [571, 590, 592], [584, 591, 592], [511, 593, 588], [586, 591, 593], [445, 594, 588], [540, 589, 594], [443, 594, 595], [504, 596, 595], [505, 596, 594], [541, 589, 595], [505, 597, 517], [517, 593, 594], [597, 593, 596], [466, 599, 598], [522, 600, 598], [524, 600, 599], [567, 601, 598], [566, 601, 600], [461, 599, 602], [525, 600, 602], [508, 603, 532], [508, 604, 599], [532, 605, 599], [603, 605, 604], [530, 605, 598], [506, 604, 602], [514, 607, 606], [587, 608, 606], [586, 608, 607], [584, 608, 609], [592, 610, 609], [591, 610, 608], [593, 610, 607], [597, 607, 611], [596, 610, 611], [405, 612, 606], [543, 613, 606], [546, 613, 612], [614, 597, 516], [614, 611, 612], [516, 607, 612], [525, 616, 615], [602, 617, 615], [600, 617, 616], [572, 601, 618], [572, 620, 619], [618, 617, 619], [601, 617, 620], [566, 620, 616], [426, 622, 621], [476, 623, 621], [478, 623, 622], [576, 624, 621], [575, 624, 623], [573, 624, 619], [574, 624, 620], [565, 620, 623], [521, 616, 622], [520, 616, 623], [422, 622, 615], [548, 625, 621], [554, 625, 622], [551, 625, 615], [504, 627, 626], [595, 628, 626], [596, 628, 627], [592, 628, 629], [609, 630, 629], [610, 630, 628], [611, 630, 627], [447, 631, 626], [527, 632, 626], [529, 632, 631], [633, 603, 529], [633, 634, 631], [603, 632, 634], [604, 635, 634], [605, 635, 632], [503, 627, 631], [541, 637, 636], [595, 638, 636], [589, 638, 637], [618, 635, 629], [618, 640, 639], [629, 641, 639], [635, 641, 640], [592, 638, 639], [628, 641, 638], [626, 641, 636], [527, 642, 636], [632, 641, 642], [605, 640, 642], [468, 644, 643], [567, 645, 643], [562, 645, 644], [598, 640, 643], [601, 640, 645], [572, 645, 639], [530, 642, 643], [414, 646, 636], [537, 637, 646], [571, 647, 639], [590, 638, 647], [559, 647, 637], [533, 642, 646], [563, 645, 647], [558, 647, 644], [470, 644, 646], [536, 637, 644], [416, 646, 643], [432, 649, 648], [548, 650, 648], [550, 650, 649], [621, 651, 648], [625, 651, 650], [576, 652, 648], [624, 651, 652], [573, 652, 653], [619, 651, 653], [499, 655, 654], [587, 656, 654], [582, 656, 655], [584, 656, 653], [609, 657, 653], [608, 657, 656], [606, 657, 654], [543, 658, 654], [613, 657, 658], [583, 656, 652], [578, 652, 655], [427, 649, 654], [545, 658, 649], [492, 655, 648], [545, 659, 550], [659, 650, 658], [500, 655, 649], [551, 661, 660], [615, 662, 660], [625, 662, 661], [619, 662, 663], [653, 664, 663], [651, 664, 662], [650, 664, 661], [659, 661, 665], [658, 664, 665], [609, 666, 663], [657, 664, 666], [613, 666, 665], [438, 667, 660], [506, 668, 660], [509, 668, 667], [629, 669, 663], [630, 669, 666], [618, 670, 663], [635, 669, 670], [604, 670, 668], [634, 669, 668], [602, 670, 660], [617, 662, 670], [553, 661, 667], [671, 659, 553], [671, 665, 667], [317, 673, 672], [547, 674, 672], [544, 674, 673], [545, 674, 675], [550, 676, 675], [659, 676, 674], [671, 674, 677], [553, 676, 677], [329, 679, 678], [549, 676, 678], [552, 676, 679], [433, 675, 678], [439, 677, 679], [162, 681, 680], [315, 673, 680], [319, 673, 681], [436, 671, 547], [436, 677, 672], [428, 675, 673], [119, 682, 680], [161, 681, 682], [260, 678, 682], [258, 678, 681], [228, 672, 683], [434, 677, 683], [327, 679, 683], [430, 675, 681], [140, 683, 680], [142, 683, 682], [326, 679, 682], [230, 672, 680], [83, 685, 684], [205, 686, 684], [208, 686, 685], [633, 688, 687], [529, 689, 687], [603, 689, 688], [508, 688, 690], [532, 689, 690], [324, 692, 691], [531, 689, 691], [528, 689, 692], [448, 687, 692], [467, 690, 691], [340, 693, 684], [342, 693, 686], [341, 693, 694], [510, 688, 694], [507, 688, 693], [452, 633, 510], [452, 687, 694], [462, 690, 693], [136, 695, 685], [321, 692, 685], [322, 692, 695], [249, 691, 685], [250, 691, 686], [464, 690, 686], [221, 694, 695], [450, 687, 695], [223, 694, 684], [134, 695, 684], [290, 697, 696], [368, 698, 696], [369, 698, 697], [614, 700, 699], [516, 701, 699], [597, 701, 700], [505, 700, 702], [517, 701, 702], [512, 701, 697], [515, 701, 698], [407, 699, 698], [446, 702, 697], [107, 696, 703], [170, 704, 703], [169, 704, 696], [359, 706, 705], [501, 700, 705], [502, 700, 706], [409, 614, 501], [409, 699, 705], [444, 702, 706], [358, 706, 703], [357, 706, 704], [146, 707, 703], [148, 707, 696], [289, 697, 704], [440, 702, 704], [219, 705, 707], [408, 699, 707], [361, 698, 707], [217, 705, 703], [614, 709, 708], [612, 710, 708], [611, 710, 709], [509, 712, 711], [667, 713, 711], [668, 713, 712], [671, 714, 711], [665, 713, 714], [634, 715, 712], [669, 713, 715], [613, 710, 714], [666, 713, 710], [630, 715, 710], [409, 708, 716], [501, 709, 716], [503, 709, 717], [631, 715, 717], [627, 715, 709], [633, 712, 717], [546, 714, 708], [227, 718, 716], [410, 708, 718], [222, 719, 716], [229, 718, 719], [435, 711, 719], [436, 711, 718], [547, 714, 718], [451, 717, 716], [510, 712, 719], [452, 717, 719]], [[0, 1, 2, 3], [4, 5, 6, 3], [1, 7, 8, 9], [7, 10, 11, 12], [13, 14, 15, 12], [11, 16, 17, 18], [19, 20, 21, 22], [2, 20, 23, 24], [17, 25, 26, 27], [19, 28, 29, 30], [31, 29, 32, 33], [25, 34, 32, 35], [36, 37, 38, 35], [10, 39, 34, 40], [41, 42, 43, 30], [0, 39, 28, 44], [45, 46, 47, 48], [23, 49, 50, 48], [8, 49, 51, 52], [16, 51, 53, 54], [55, 56, 57, 54], [53, 58, 59, 60], [31, 61, 62, 63], [50, 64, 59, 65], [26, 58, 62, 66], [67, 68, 69, 66], [21, 61, 64, 70], [71, 72, 73, 70], [4, 74, 75, 76], [42, 77, 78, 79], [44, 76, 80, 79], [6, 81, 82, 83], [45, 84, 85, 86], [24, 83, 87, 86], [5, 88, 89, 90], [13, 91, 92, 93], [9, 90, 93, 94], [94, 95, 96, 97], [46, 98, 99, 100], [56, 101, 102, 103], [52, 95, 100, 103], [67, 104, 105, 106], [27, 107, 108, 106], [36, 109, 110, 108], [72, 111, 112, 113], [69, 114, 115, 116], [63, 117, 113, 116], [107, 118, 119, 120], [55, 121, 122, 123], [18, 124, 123, 118], [15, 125, 126, 124], [71, 127, 128, 129], [87, 130, 131, 132], [22, 133, 130, 129], [41, 134, 135, 133], [117, 136, 137, 138], [43, 139, 140, 141], [38, 142, 143, 144], [33, 136, 141, 144], [37, 145, 146, 147], [80, 148, 149, 150], [40, 151, 148, 147], [14, 152, 153, 151], [60, 154, 155, 156], [57, 157, 158, 154], [68, 159, 160, 155], [65, 161, 162, 163], [156, 163, 164, 165], [73, 166, 167, 162], [47, 168, 169, 161], [89, 170, 171, 172], [98, 173, 174, 175], [96, 172, 175, 176], [84, 173, 177, 178], [82, 170, 179, 178], [74, 180, 181, 182], [152, 183, 184, 185], [149, 182, 185, 186], [91, 183, 187, 188], [88, 180, 189, 188], [81, 190, 191, 192], [134, 193, 194, 195], [131, 192, 195, 196], [77, 193, 197, 198], [75, 190, 199, 198], [159, 200, 201, 202], [157, 203, 204, 202], [122, 203, 205, 206], [207, 208, 209, 210], [120, 211, 206, 210], [104, 200, 212, 211], [146, 213, 214, 215], [150, 216, 215, 217], [140, 218, 219, 220], [143, 213, 221, 220], [78, 218, 222, 216], [168, 223, 224, 225], [166, 226, 227, 225], [128, 226, 228, 229], [132, 230, 229, 231], [85, 223, 232, 230], [169, 233, 234, 235], [236, 237, 238, 239], [164, 240, 235, 239], [158, 241, 242, 240], [99, 233, 243, 244], [102, 241, 245, 244], [167, 246, 247, 248], [236, 249, 250, 251], [165, 252, 248, 251], [160, 253, 254, 252], [115, 253, 255, 256], [112, 246, 257, 256], [153, 258, 259, 260], [145, 261, 262, 260], [109, 261, 263, 264], [207, 265, 266, 267], [119, 264, 268, 267], [126, 258, 269, 268], [142, 270, 271, 272], [273, 274, 275, 276], [138, 277, 272, 276], [114, 278, 279, 277], [105, 278, 280, 281], [110, 270, 282, 281], [92, 283, 284, 285], [125, 283, 286, 287], [121, 288, 289, 287], [101, 288, 290, 291], [97, 285, 291, 292], [139, 293, 294, 295], [273, 296, 297, 298], [137, 299, 295, 298], [135, 293, 300, 301], [127, 302, 303, 301], [111, 302, 304, 299], [179, 305, 306, 307], [191, 305, 308, 309], [306, 310, 311, 312], [171, 313, 310, 314], [189, 313, 315, 316], [308, 317, 318, 319], [315, 320, 321, 322], [311, 318, 321, 323], [181, 324, 320, 325], [199, 324, 317, 326], [237, 327, 328, 329], [242, 330, 331, 329], [204, 330, 332, 333], [275, 334, 335, 336], [271, 337, 338, 336], [221, 337, 339, 340], [250, 341, 342, 343], [247, 344, 345, 343], [227, 344, 346, 347], [331, 348, 349, 350], [290, 351, 352, 353], [245, 351, 348, 354], [345, 355, 356, 357], [296, 358, 359, 360], [304, 361, 362, 360], [257, 361, 355, 363], [339, 364, 365, 366], [262, 367, 368, 369], [214, 367, 364, 370], [371, 372, 373, 374], [365, 375, 376, 374], [368, 377, 376, 378], [265, 379, 380, 381], [338, 382, 375, 383], [282, 384, 382, 385], [263, 384, 377, 381], [332, 386, 387, 388], [352, 389, 390, 391], [392, 393, 394, 395], [349, 387, 390, 395], [289, 396, 389, 397], [209, 398, 399, 400], [205, 396, 386, 400], [401, 402, 403, 404], [356, 405, 406, 404], [362, 407, 406, 408], [346, 409, 405, 410], [303, 411, 407, 412], [228, 411, 409, 413], [379, 414, 415, 416], [385, 417, 416, 418], [280, 419, 420, 417], [212, 419, 421, 422], [208, 414, 423, 422], [279, 424, 425, 426], [420, 425, 427, 428], [358, 429, 430, 431], [363, 432, 431, 433], [274, 429, 434, 426], [255, 424, 435, 432], [421, 436, 437, 438], [427, 437, 439, 440], [441, 442, 443, 440], [435, 444, 439, 445], [201, 446, 436, 447], [327, 448, 449, 450], [333, 447, 450, 451], [254, 446, 444, 452], [249, 448, 453, 452], [326, 454, 455, 456], [197, 457, 458, 454], [222, 457, 459, 460], [174, 461, 462, 463], [354, 464, 465, 466], [243, 461, 467, 464], [184, 468, 469, 470], [369, 471, 472, 473], [259, 468, 474, 471], [219, 475, 476, 477], [459, 476, 478, 479], [334, 480, 481, 482], [340, 477, 482, 483], [294, 475, 484, 485], [297, 480, 486, 485], [469, 487, 488, 489], [316, 490, 491, 492], [187, 493, 487, 490], [284, 493, 494, 495], [234, 496, 497, 498], [467, 497, 499, 500], [341, 501, 502, 503], [347, 504, 503, 505], [238, 501, 506, 498], [224, 496, 507, 504], [462, 508, 509, 510], [499, 509, 511, 512], [513, 514, 515, 512], [507, 516, 511, 517], [177, 518, 508, 519], [307, 519, 520, 521], [232, 518, 516, 522], [458, 523, 524, 525], [478, 524, 526, 527], [528, 529, 530, 527], [484, 531, 526, 532], [194, 533, 523, 534], [412, 535, 536, 537], [300, 533, 531, 535], [494, 538, 539, 540], [488, 541, 539, 542], [543, 544, 545, 542], [269, 546, 547, 548], [474, 547, 541, 549], [398, 550, 551, 552], [397, 553, 552, 554], [286, 546, 538, 553], [266, 550, 555, 548], [418, 556, 557, 558], [441, 559, 560, 561], [428, 557, 562, 561], [434, 563, 564, 562], [372, 565, 566, 567], [383, 568, 556, 567], [335, 563, 569, 568], [453, 570, 571, 572], [443, 573, 574, 575], [445, 576, 572, 575], [401, 577, 578, 579], [433, 580, 576, 581], [357, 582, 580, 579], [342, 570, 583, 582], [399, 584, 585, 586], [442, 587, 588, 589], [438, 590, 591, 589], [451, 592, 591, 593], [423, 584, 594, 590], [393, 595, 596, 597], [388, 592, 586, 597], [529, 598, 599, 600], [525, 601, 602, 600], [319, 603, 604, 605], [456, 604, 601, 606], [506, 607, 608, 609], [513, 610, 611, 612], [500, 613, 609, 612], [392, 614, 615, 616], [466, 617, 613, 618], [350, 619, 617, 616], [328, 607, 620, 619], [555, 621, 622, 623], [544, 624, 625, 626], [549, 627, 623, 626], [473, 628, 627, 629], [380, 621, 630, 631], [373, 632, 633, 634], [378, 628, 631, 634], [528, 635, 636, 637], [479, 638, 639, 637], [483, 640, 639, 641], [371, 642, 643, 644], [366, 640, 645, 644], [322, 646, 647, 648], [492, 646, 649, 650], [543, 651, 652, 653], [489, 654, 649, 653], [505, 655, 656, 657], [515, 658, 659, 660], [517, 656, 661, 660], [402, 662, 663, 664], [410, 655, 665, 664], [514, 666, 667, 668], [510, 669, 670, 668], [521, 671, 670, 672], [312, 671, 673, 674], [530, 675, 676, 677], [532, 678, 679, 677], [537, 680, 679, 681], [486, 682, 683, 678], [403, 684, 685, 686], [408, 687, 680, 686], [359, 682, 688, 687], [545, 689, 690, 691], [540, 692, 693, 691], [554, 694, 693, 695], [394, 696, 697, 698], [391, 699, 694, 698], [614, 700, 701, 702], [620, 703, 704, 702], [595, 700, 705, 706], [588, 707, 708, 709], [593, 710, 706, 709], [449, 703, 711, 710], [571, 711, 712, 713], [574, 707, 714, 713], [633, 715, 716, 717], [630, 718, 719, 717], [594, 720, 721, 722], [587, 723, 724, 722], [566, 715, 725, 726], [559, 723, 727, 728], [558, 729, 726, 728], [415, 718, 720, 729], [684, 730, 731, 732], [688, 733, 734, 732], [578, 730, 735, 736], [573, 737, 738, 739], [581, 740, 736, 739], [430, 733, 741, 740], [564, 741, 742, 743], [560, 737, 744, 743], [565, 745, 746, 747], [569, 748, 749, 747], [742, 749, 750, 751], [734, 752, 750, 753], [683, 754, 752, 755], [675, 756, 757, 755], [642, 745, 758, 759], [636, 756, 760, 761], [641, 762, 759, 761], [481, 748, 754, 762], [672, 763, 764, 765], [667, 766, 767, 765], [659, 766, 768, 769], [689, 770, 771, 772], [652, 770, 773, 774], [650, 775, 776, 774], [685, 777, 778, 779], [676, 780, 781, 782], [681, 783, 779, 782], [599, 780, 784, 785], [663, 777, 786, 787], [721, 788, 789, 790], [719, 791, 789, 792], [697, 793, 794, 795], [690, 796, 797, 798], [695, 799, 795, 798], [585, 800, 788, 801], [622, 802, 791, 803], [551, 800, 802, 799], [625, 796, 804, 803], [596, 793, 805, 801], [666, 806, 807, 808], [696, 809, 810, 811], [615, 809, 812, 813], [610, 806, 814, 815], [618, 816, 813, 815], [712, 817, 818, 819], [704, 820, 818, 821], [662, 822, 823, 824], [658, 825, 826, 827], [657, 828, 824, 827], [583, 829, 817, 830], [608, 831, 820, 832], [502, 829, 831, 828], [611, 825, 833, 832], [577, 822, 834, 830], [635, 835, 836, 837], [598, 835, 838, 839], [606, 840, 841, 839], [643, 842, 843, 844], [651, 845, 846, 847], [632, 842, 848, 849], [624, 845, 850, 851], [629, 852, 849, 851], [738, 853, 854, 855], [819, 856, 857, 858], [714, 853, 859, 856], [834, 860, 861, 857], [735, 860, 862, 855], [859, 863, 864, 865], [708, 866, 863, 867], [790, 868, 869, 870], [724, 866, 871, 868], [805, 872, 873, 869], [705, 872, 874, 867], [854, 875, 876, 877], [878, 879, 880, 881], [864, 876, 882, 881], [871, 883, 882, 884], [725, 885, 886, 887], [746, 885, 888, 889], [751, 890, 889, 891], [744, 892, 875, 890], [727, 892, 883, 887], [731, 893, 894, 895], [891, 896, 897, 898], [879, 899, 900, 901], [877, 902, 897, 901], [753, 895, 903, 896], [862, 894, 904, 902], [778, 893, 905, 906], [757, 907, 908, 903], [781, 907, 909, 906], [861, 910, 911, 912], [904, 911, 913, 914], [899, 915, 916, 914], [905, 917, 913, 918], [823, 919, 910, 920], [768, 921, 922, 923], [826, 921, 924, 920], [925, 923, 926, 927], [786, 919, 917, 926], [794, 928, 929, 930], [873, 929, 931, 932], [797, 933, 934, 930], [935, 936, 937, 938], [810, 928, 939, 937], [771, 933, 940, 936], [909, 941, 942, 943], [916, 944, 945, 946], [918, 943, 947, 946], [927, 948, 949, 947], [838, 950, 951, 952], [953, 954, 955, 948], [784, 950, 941, 955], [934, 956, 957, 958], [959, 960, 961, 962], [932, 963, 958, 962], [716, 964, 965, 966], [886, 965, 967, 968], [880, 960, 969, 970], [884, 971, 968, 970], [792, 966, 972, 973], [870, 973, 971, 963], [804, 974, 956, 972], [848, 964, 975, 976], [850, 974, 977, 976], [922, 978, 979, 980], [945, 981, 982, 983], [949, 980, 984, 983], [807, 985, 986, 987], [988, 989, 987, 990], [938, 990, 991, 992], [767, 985, 978, 993], [924, 994, 995, 996], [997, 998, 999, 1000], [981, 1001, 999, 1002], [979, 995, 1003, 1002], [986, 1004, 1003, 1005], [992, 1006, 1005, 1000], [874, 1007, 1008, 1009], [931, 1008, 1010, 1011], [959, 1012, 998, 1011], [939, 1013, 1010, 1006], [833, 1014, 994, 1015], [915, 1016, 1001, 1017], [912, 1018, 996, 1017], [814, 1014, 1004, 1019], [878, 1016, 1012, 1020], [865, 1021, 1009, 1020], [821, 1022, 1015, 1023], [858, 1023, 1021, 1018], [701, 1024, 1007, 1022], [812, 1024, 1013, 1019], [843, 1025, 1026, 1027], [975, 1026, 1028, 1029], [967, 1030, 1028, 1031], [969, 1032, 1033, 1031], [908, 1034, 1035, 1036], [944, 1037, 1038, 1039], [942, 1035, 1040, 1039], [951, 1041, 1040, 1042], [900, 1032, 1037, 1043], [898, 1044, 1036, 1043], [836, 1045, 1041, 1046], [888, 1047, 1030, 1044], [1048, 1046, 1027, 1049], [758, 1025, 1047, 1050], [760, 1045, 1034, 1050], [977, 1051, 1052, 1053], [1033, 1054, 1055, 1056], [1029, 1053, 1057, 1056], [1049, 1058, 1059, 1057], [1038, 1060, 1055, 1061], [1042, 1062, 1059, 1061], [773, 1063, 1064, 1065], [982, 1060, 1066, 1067], [997, 1068, 1066, 1069], [991, 1070, 1071, 1069], [940, 1064, 1072, 1070], [961, 1068, 1054, 1073], [957, 1072, 1052, 1073], [846, 1063, 1051, 1074], [1075, 1076, 1074, 1058], [840, 1077, 1078, 1079], [1048, 1080, 1081, 1082], [1075, 1083, 1084, 1082], [852, 1085, 1086, 1087], [844, 1088, 1086, 1081], [847, 1089, 1087, 1084], [460, 1090, 1091, 1092], [1093, 1094, 1078, 1083], [837, 1095, 1079, 1080], [217, 1096, 1090, 1097], [370, 1097, 1098, 1099], [647, 1100, 1101, 1094], [654, 1102, 1101, 1089], [645, 1099, 1103, 1088], [638, 1092, 1103, 1095], [186, 1096, 1104, 1105], [470, 1105, 1106, 1102], [472, 1098, 1106, 1085], [455, 1107, 1091, 1077], [325, 1104, 1107, 1100], [292, 1108, 1109, 1110], [988, 1111, 1112, 1113], [935, 1114, 1115, 1113], [816, 1116, 1117, 1118], [808, 1119, 1118, 1112], [811, 1120, 1117, 1115], [495, 1109, 1121, 1122], [775, 1123, 1124, 1125], [1126, 1127, 1124, 1111], [772, 1128, 1125, 1114], [463, 1129, 1130, 1131], [465, 1132, 1130, 1116], [699, 1133, 1134, 1120], [692, 1122, 1134, 1128], [673, 1135, 1136, 1127], [669, 1131, 1136, 1119], [353, 1110, 1132, 1133], [491, 1137, 1121, 1123], [176, 1108, 1138, 1129], [314, 1138, 1137, 1135], [536, 1139, 1140, 1141], [953, 1142, 1143, 1144], [925, 1145, 1146, 1144], [783, 1141, 1147, 1148], [785, 1149, 1148, 1143], [787, 1150, 1147, 1146], [231, 1151, 1152, 1153], [763, 1154, 1155, 1156], [1157, 1158, 1155, 1142], [769, 1159, 1156, 1145], [522, 1152, 1160, 1161], [196, 1151, 1162, 1163], [665, 1164, 1165, 1150], [661, 1161, 1165, 1159], [603, 1166, 1167, 1158], [602, 1168, 1167, 1149], [534, 1163, 1140, 1168], [413, 1153, 1139, 1164], [520, 1169, 1160, 1154], [309, 1162, 1169, 1166], [954, 1170, 1171, 1172], [1065, 1173, 1174, 1175], [1076, 1176, 1174, 1177], [1071, 1178, 1175, 1179], [1062, 1180, 1177, 1181], [1067, 1182, 1181, 1179], [1157, 1183, 1184, 1170], [993, 1185, 1186, 1187], [989, 1188, 1186, 1178], [984, 1172, 1187, 1182], [952, 1189, 1171, 1180], [605, 1190, 1183, 1191], [323, 1192, 1190, 1193], [648, 1193, 1194, 1195], [841, 1191, 1196, 1189], [1093, 1195, 1196, 1176], [764, 1197, 1184, 1185], [776, 1194, 1198, 1173], [1126, 1199, 1198, 1188], [674, 1192, 1197, 1199]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486, 487, 488, 489, 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 585, 586, 587, 588, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 599]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Hexacosichoron', 'One of the six regular polychora (4-dimensional analogy of Platonic solids).\nIts cells are tetrahedral.', __file__)
except ImportError: pass
コード例 #22
0
ファイル: 4d-008.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[(-0.5, -0.5, -0.5, -0.5), (-0.5, -0.5, -0.5, 0.5), (-0.5, -0.5, 0.5, -0.5), (-0.5, -0.5, 0.5, 0.5), (-0.5, 0.5, -0.5, -0.5), (-0.5, 0.5, -0.5, 0.5), (-0.5, 0.5, 0.5, -0.5), (-0.5, 0.5, 0.5, 0.5), (0.5, -0.5, -0.5, -0.5), (0.5, -0.5, -0.5, 0.5), (0.5, -0.5, 0.5, -0.5), (0.5, -0.5, 0.5, 0.5), (0.5, 0.5, -0.5, -0.5), (0.5, 0.5, -0.5, 0.5), (0.5, 0.5, 0.5, -0.5), (0.5, 0.5, 0.5, 0.5)], [[12, 13], [12, 14], [13, 15], [14, 15], [9, 11], [9, 13], [11, 15], [10, 11], [10, 14], [8, 10], [8, 12], [8, 9], [1, 9], [1, 3], [11, 3], [0, 1], [0, 8], [2, 10], [2, 3], [0, 2], [1, 5], [13, 5], [4, 5], [4, 12], [0, 4], [2, 6], [14, 6], [4, 6], [15, 7], [3, 7], [5, 7], [6, 7]], [[0, 2, 3, 1], [4, 6, 2, 5], [7, 6, 3, 8], [8, 9, 10, 1], [5, 11, 10, 0], [4, 11, 9, 7], [12, 13, 14, 4], [15, 12, 11, 16], [17, 18, 14, 7], [15, 13, 18, 19], [19, 17, 9, 16], [12, 20, 21, 5], [22, 23, 0, 21], [15, 20, 22, 24], [24, 23, 10, 16], [17, 25, 26, 8], [23, 27, 26, 1], [19, 25, 27, 24], [28, 6, 14, 29], [2, 28, 30, 21], [13, 29, 30, 20], [3, 28, 31, 26], [18, 29, 31, 25], [22, 30, 31, 27]], [[0, 1, 2, 3, 4, 5], [6, 7, 8, 5, 9, 10], [11, 12, 7, 4, 13, 14], [15, 10, 16, 3, 17, 14], [1, 18, 19, 20, 6, 11], [2, 18, 21, 22, 8, 15], [21, 19, 23, 12, 0, 16], [9, 20, 22, 23, 13, 17]], [[0, 1, 2, 3, 4, 5, 6, 7]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Tesseract', '4-dimensional cube (4-cube).\nOne of the six regular polychora (4-dimensional analogy of Platonic solids).\nIts cells are cubical.', __file__)
except ImportError: pass
コード例 #23
0
import gf
gf.figureOpen([[(-1.0, 0.0, 0.0, 0.0, 0.0), (0.0, -1.0, 0.0, 0.0, 0.0), (0.0, 0.0, -1.0, 0.0, 0.0), (0.0, 0.0, 0.0, -1.0, 0.0), (0.0, 0.0, 0.0, 0.0, -1.0), (1.0, 0.0, 0.0, 0.0, 0.0), (0.0, 1.0, 0.0, 0.0, 0.0), (0.0, 0.0, 1.0, 0.0, 0.0), (0.0, 0.0, 0.0, 1.0, 0.0), (0.0, 0.0, 0.0, 0.0, 1.0)], [[0, 1], [0, 2], [1, 2], [0, 3], [1, 3], [2, 3], [0, 4], [1, 4], [2, 4], [3, 4], [1, 5], [2, 5], [3, 5], [4, 5], [0, 6], [2, 6], [3, 6], [4, 6], [5, 6], [0, 7], [1, 7], [3, 7], [4, 7], [5, 7], [6, 7], [0, 8], [1, 8], [2, 8], [4, 8], [5, 8], [6, 8], [7, 8], [0, 9], [1, 9], [2, 9], [3, 9], [5, 9], [6, 9], [7, 9], [8, 9]], [[0, 2, 1], [0, 4, 3], [1, 5, 3], [2, 5, 4], [0, 7, 6], [1, 8, 6], [2, 8, 7], [3, 9, 6], [4, 9, 7], [5, 9, 8], [2, 11, 10], [4, 12, 10], [5, 12, 11], [7, 13, 10], [8, 13, 11], [9, 13, 12], [1, 15, 14], [3, 16, 14], [5, 16, 15], [6, 17, 14], [8, 17, 15], [9, 17, 16], [11, 18, 15], [12, 18, 16], [13, 18, 17], [0, 20, 19], [3, 21, 19], [4, 21, 20], [6, 22, 19], [7, 22, 20], [9, 22, 21], [10, 23, 20], [12, 23, 21], [13, 23, 22], [14, 24, 19], [16, 24, 21], [17, 24, 22], [18, 24, 23], [0, 26, 25], [1, 27, 25], [2, 27, 26], [6, 28, 25], [7, 28, 26], [8, 28, 27], [10, 29, 26], [11, 29, 27], [13, 29, 28], [14, 30, 25], [15, 30, 27], [17, 30, 28], [18, 30, 29], [19, 31, 25], [20, 31, 26], [22, 31, 28], [23, 31, 29], [24, 31, 30], [0, 33, 32], [1, 34, 32], [2, 34, 33], [3, 35, 32], [4, 35, 33], [5, 35, 34], [10, 36, 33], [11, 36, 34], [12, 36, 35], [14, 37, 32], [15, 37, 34], [16, 37, 35], [18, 37, 36], [19, 38, 32], [20, 38, 33], [21, 38, 35], [23, 38, 36], [24, 38, 37], [25, 39, 32], [26, 39, 33], [27, 39, 34], [29, 39, 36], [30, 39, 37], [31, 39, 38]], [[0, 1, 2, 3], [0, 4, 5, 6], [1, 4, 7, 8], [2, 5, 7, 9], [3, 6, 8, 9], [3, 10, 11, 12], [6, 10, 13, 14], [8, 11, 13, 15], [9, 12, 14, 15], [2, 16, 17, 18], [5, 16, 19, 20], [7, 17, 19, 21], [9, 18, 20, 21], [12, 18, 22, 23], [14, 20, 22, 24], [15, 21, 23, 24], [1, 25, 26, 27], [4, 25, 28, 29], [7, 26, 28, 30], [8, 27, 29, 30], [11, 27, 31, 32], [13, 29, 31, 33], [15, 30, 32, 33], [17, 26, 34, 35], [19, 28, 34, 36], [21, 30, 35, 36], [23, 32, 35, 37], [24, 33, 36, 37], [0, 38, 39, 40], [4, 38, 41, 42], [5, 39, 41, 43], [6, 40, 42, 43], [10, 40, 44, 45], [13, 42, 44, 46], [14, 43, 45, 46], [16, 39, 47, 48], [19, 41, 47, 49], [20, 43, 48, 49], [22, 45, 48, 50], [24, 46, 49, 50], [25, 38, 51, 52], [28, 41, 51, 53], [29, 42, 52, 53], [31, 44, 52, 54], [33, 46, 53, 54], [34, 47, 51, 55], [36, 49, 53, 55], [37, 50, 54, 55], [0, 56, 57, 58], [1, 56, 59, 60], [2, 57, 59, 61], [3, 58, 60, 61], [10, 58, 62, 63], [11, 60, 62, 64], [12, 61, 63, 64], [16, 57, 65, 66], [17, 59, 65, 67], [18, 61, 66, 67], [22, 63, 66, 68], [23, 64, 67, 68], [25, 56, 69, 70], [26, 59, 69, 71], [27, 60, 70, 71], [31, 62, 70, 72], [32, 64, 71, 72], [34, 65, 69, 73], [35, 67, 71, 73], [37, 68, 72, 73], [38, 56, 74, 75], [39, 57, 74, 76], [40, 58, 75, 76], [44, 62, 75, 77], [45, 63, 76, 77], [47, 65, 74, 78], [48, 66, 76, 78], [50, 68, 77, 78], [51, 69, 74, 79], [52, 70, 75, 79], [54, 72, 77, 79], [55, 73, 78, 79]], [[0, 1, 2, 3, 4], [4, 5, 6, 7, 8], [3, 9, 10, 11, 12], [8, 12, 13, 14, 15], [2, 16, 17, 18, 19], [7, 19, 20, 21, 22], [11, 18, 23, 24, 25], [15, 22, 25, 26, 27], [1, 28, 29, 30, 31], [6, 31, 32, 33, 34], [10, 30, 35, 36, 37], [14, 34, 37, 38, 39], [17, 29, 40, 41, 42], [21, 33, 42, 43, 44], [24, 36, 41, 45, 46], [27, 39, 44, 46, 47], [0, 48, 49, 50, 51], [5, 51, 52, 53, 54], [9, 50, 55, 56, 57], [13, 54, 57, 58, 59], [16, 49, 60, 61, 62], [20, 53, 62, 63, 64], [23, 56, 61, 65, 66], [26, 59, 64, 66, 67], [28, 48, 68, 69, 70], [32, 52, 70, 71, 72], [35, 55, 69, 73, 74], [38, 58, 72, 74, 75], [40, 60, 68, 76, 77], [43, 63, 71, 77, 78], [45, 65, 73, 76, 79], [47, 67, 75, 78, 79]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Triacontaditeron', '5-dimensional octahedron (5-orthoplex).\nOne of the three regular 5-polytopes (5-dimensional analogy of Platonic solids).\nIts facets are pentachoral.', __file__)
except ImportError: pass
コード例 #24
0
import gf
gf.figureOpen([[(-1.0, ), (1.0, )], [[0, 1]]])

try:
    import figureInfo
    figureInfo.setNameDescPath('Abscissa', '1-simplex.\n1-cube.\n1-orthoplex.',
                               __file__)
except ImportError:
    pass
コード例 #25
0
import gf
gf.figureOpen([[(0.0, 0.525731086730957, 0.8506507873535156), (0.525731086730957, 0.8506507873535156, 0.0), (0.8506507873535156, 0.0, 0.525731086730957), (0.0, 0.525731086730957, -0.8506507873535156), (0.525731086730957, -0.8506507873535156, 0.0), (-0.8506507873535156, 0.0, 0.525731086730957), (0.0, -0.525731086730957, 0.8506507873535156), (-0.525731086730957, 0.8506507873535156, 0.0), (0.8506507873535156, 0.0, -0.525731086730957), (0.0, -0.525731086730957, -0.8506507873535156), (-0.525731086730957, -0.8506507873535156, 0.0), (-0.8506507873535156, 0.0, -0.525731086730957)], [[0, 1], [0, 2], [1, 2], [2, 4], [2, 6], [4, 6], [0, 5], [0, 6], [5, 6], [1, 3], [1, 7], [3, 7], [0, 7], [5, 7], [2, 8], [4, 8], [1, 8], [3, 8], [3, 9], [8, 9], [4, 9], [4, 10], [6, 10], [9, 10], [5, 10], [5, 11], [7, 11], [10, 11], [9, 11], [3, 11]], [[0, 2, 1], [3, 5, 4], [6, 8, 7], [1, 4, 7], [9, 11, 10], [6, 13, 12], [0, 10, 12], [3, 15, 14], [2, 14, 16], [9, 17, 16], [17, 19, 18], [15, 19, 20], [5, 22, 21], [20, 23, 21], [8, 22, 24], [13, 26, 25], [24, 27, 25], [23, 27, 28], [11, 26, 29], [18, 28, 29]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Icosahedron', 'One of the five Platonic Solids (regular polyhedra).\nIts faces are triangular.', __file__)
except ImportError: pass
コード例 #26
0
ファイル: 4d-024.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[(-0.5, -0.5, -0.5, -0.5), (-0.5, -0.5, -0.5, 0.5), (-0.5, -0.5, 0.5, -0.5), (-0.5, -0.5, 0.5, 0.5), (-0.5, 0.5, -0.5, -0.5), (-0.5, 0.5, -0.5, 0.5), (-0.5, 0.5, 0.5, -0.5), (-0.5, 0.5, 0.5, 0.5), (0.5, -0.5, -0.5, -0.5), (0.5, -0.5, -0.5, 0.5), (0.5, -0.5, 0.5, -0.5), (0.5, -0.5, 0.5, 0.5), (0.5, 0.5, -0.5, -0.5), (0.5, 0.5, -0.5, 0.5), (0.5, 0.5, 0.5, -0.5), (0.5, 0.5, 0.5, 0.5), (-1.0, 0.0, 0.0, 0.0), (0.0, -1.0, 0.0, 0.0), (0.0, 0.0, -1.0, 0.0), (0.0, 0.0, 0.0, -1.0), (1.0, 0.0, 0.0, 0.0), (0.0, 1.0, 0.0, 0.0), (0.0, 0.0, 1.0, 0.0), (0.0, 0.0, 0.0, 1.0)], [[0, 1], [0, 17], [1, 17], [0, 18], [1, 18], [0, 8], [8, 18], [1, 9], [9, 18], [8, 9], [8, 17], [9, 17], [0, 2], [2, 17], [0, 19], [2, 19], [8, 19], [2, 10], [10, 19], [8, 10], [10, 17], [0, 4], [4, 18], [4, 19], [4, 12], [12, 19], [8, 12], [12, 18], [10, 14], [14, 19], [10, 20], [14, 20], [12, 14], [12, 20], [8, 20], [9, 13], [13, 18], [9, 20], [13, 20], [12, 13], [9, 11], [11, 17], [11, 20], [10, 11], [12, 21], [13, 21], [14, 21], [13, 15], [15, 21], [14, 15], [15, 20], [10, 22], [11, 22], [14, 22], [11, 15], [15, 22], [9, 23], [11, 23], [13, 23], [15, 23], [1, 23], [1, 3], [23, 3], [11, 3], [17, 3], [2, 22], [2, 3], [22, 3], [0, 16], [2, 16], [1, 16], [16, 3], [1, 5], [23, 5], [13, 5], [18, 5], [4, 21], [4, 5], [21, 5], [4, 16], [16, 5], [2, 6], [22, 6], [14, 6], [19, 6], [4, 6], [21, 6], [16, 6], [15, 7], [21, 7], [23, 7], [5, 7], [16, 7], [6, 7], [22, 7], [3, 7]], [[0, 2, 1], [0, 4, 3], [5, 6, 3], [7, 8, 4], [9, 8, 6], [5, 10, 1], [7, 11, 2], [9, 11, 10], [12, 13, 1], [12, 15, 14], [5, 16, 14], [17, 18, 15], [19, 18, 16], [17, 20, 13], [19, 20, 10], [21, 22, 3], [21, 23, 14], [24, 25, 23], [26, 25, 16], [24, 27, 22], [26, 27, 6], [28, 29, 18], [28, 31, 30], [32, 31, 33], [19, 30, 34], [26, 33, 34], [32, 29, 25], [35, 36, 8], [35, 38, 37], [39, 38, 33], [9, 37, 34], [39, 36, 27], [40, 41, 11], [40, 42, 37], [43, 42, 30], [43, 41, 20], [39, 45, 44], [32, 46, 44], [47, 48, 45], [49, 48, 46], [47, 50, 38], [49, 50, 31], [43, 52, 51], [28, 53, 51], [54, 55, 52], [49, 55, 53], [54, 50, 42], [40, 57, 56], [35, 58, 56], [54, 59, 57], [47, 59, 58], [60, 62, 61], [57, 62, 63], [2, 64, 61], [41, 64, 63], [7, 56, 60], [65, 67, 66], [52, 67, 63], [13, 64, 66], [17, 51, 65], [12, 69, 68], [70, 71, 61], [69, 71, 66], [0, 70, 68], [60, 73, 72], [58, 73, 74], [4, 75, 72], [36, 75, 74], [76, 78, 77], [45, 78, 74], [22, 75, 77], [24, 44, 76], [21, 79, 68], [70, 80, 72], [79, 80, 77], [65, 82, 81], [53, 82, 83], [15, 84, 81], [29, 84, 83], [76, 86, 85], [46, 86, 83], [23, 84, 85], [69, 87, 81], [79, 87, 85], [48, 89, 88], [59, 90, 88], [78, 91, 89], [73, 91, 90], [80, 91, 92], [87, 93, 92], [86, 93, 89], [55, 94, 88], [82, 93, 94], [71, 95, 92], [67, 95, 94], [62, 95, 90]], [[0, 1, 2, 3, 4, 5, 6, 7], [8, 9, 10, 11, 12, 5, 13, 14], [15, 16, 10, 17, 18, 2, 19, 20], [21, 22, 23, 24, 25, 26, 12, 18], [27, 28, 29, 30, 25, 31, 4, 20], [32, 33, 34, 30, 24, 35, 7, 14], [29, 36, 37, 38, 39, 23, 40, 41], [34, 42, 43, 44, 45, 22, 46, 41], [33, 47, 48, 49, 50, 28, 46, 40], [47, 51, 52, 53, 54, 6, 55, 32], [42, 56, 57, 58, 54, 13, 59, 35], [60, 53, 58, 61, 62, 63, 0, 8], [48, 64, 65, 66, 67, 3, 55, 27], [36, 68, 69, 70, 67, 19, 71, 31], [72, 66, 70, 73, 74, 63, 1, 15], [43, 75, 76, 77, 78, 11, 59, 21], [37, 79, 80, 81, 78, 17, 71, 26], [72, 77, 81, 82, 83, 60, 9, 16], [69, 84, 85, 86, 87, 65, 38, 50], [88, 86, 89, 90, 74, 83, 79, 68], [80, 84, 91, 90, 92, 76, 39, 45], [93, 94, 89, 92, 62, 82, 75, 56], [93, 95, 88, 87, 61, 73, 64, 51], [57, 91, 85, 94, 95, 52, 44, 49]], [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Icositetrachoron', 'Convex hull of the tesseract and regular hexadecachoron\nsharing their circumscribed spheres (and rotated appropriately).\nOne of the six regular polychora (4-dimensional analogy of Platonic solids).\nIts cells are octahedral.', __file__)
except ImportError: pass
コード例 #27
0
ファイル: 2d-3.py プロジェクト: Zereges/geometric-figures
import gf
import math

gf.figureOpen([
	[
		(math.sqrt(3)/2, -0.5),
		(0, 1.0),
		(-math.sqrt(3)/2, -0.5)
	], [[2, 0], [0, 1], [1, 2]], [[0, 1, 2]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Triangle', '2-simplex.', __file__)
except ImportError: pass
コード例 #28
0
import gf

gf.figureOpen([[(0.5, -0.8660253882408142), (1.0, 0),
                (0.5, 0.8660253882408142), (-0.5, 0.8660253882408142),
                (-1.0, 0), (-0.5, -0.8660253882408142)],
               [[4, 5], [5, 0], [0, 1], [1, 2], [2, 3], [3, 4]],
               [[0, 1, 2, 3, 4, 5]]])

try:
    import figureInfo
    figureInfo.setNameDescPath('Regular Hexagon', None, __file__)
except ImportError:
    pass
コード例 #29
0
import gf
gf.figureOpen([[
    (0.25, 0.322748601436615, 0.4564354717731476, -0.7905694246292114),
    (0.25, 0.322748601436615, 0.4564354717731476, 0.7905694246292114),
    (0.25, 0.322748601436615, -0.9128709435462952, 0.0),
    (0.25, -0.9682458639144897, 0.0, 0.0), (-1.0, 0.0, 0.0, 0.0)
],
               [[0, 1], [0, 2], [1, 2], [0, 3], [1, 3], [2, 3], [0, 4], [1, 4],
                [2, 4], [3, 4]],
               [[0, 2, 1], [0, 4, 3], [1, 5, 3], [2, 5, 4], [0, 7, 6],
                [1, 8, 6], [2, 8, 7], [3, 9, 6], [4, 9, 7], [5, 9, 8]],
               [[0, 1, 2, 3], [0, 4, 5, 6], [1, 4, 7, 8], [2, 5, 7, 9],
                [3, 6, 8, 9]], [[0, 1, 2, 3, 4]]])

try:
    import figureInfo
    figureInfo.setNameDescPath(
        'Regular Pentachoron',
        '4-dimensional tetrahedron (4-simplex).\nOne of the six regular polychora (4-dimensional analogy of Platonic solids).\nIts cells are tetrahedral.',
        __file__)
except ImportError:
    pass
コード例 #30
0
import gf
import math

gf.figureOpen(
    [
        [
            (math.sqrt(2) / 2, -math.sqrt(2) / 2),
            (math.sqrt(2) / 2, math.sqrt(2) / 2),
            (-math.sqrt(2) / 2, math.sqrt(2) / 2),
            (-math.sqrt(2) / 2, -math.sqrt(2) / 2),
        ],
        [[3, 0], [0, 1], [1, 2], [2, 3]],
        [[0, 1, 2, 3]],
    ]
)

try:
    import figureInfo

    figureInfo.setNameDescPath("Square", "2-cube.\n2-orthoplex.", __file__)
except ImportError:
    pass
コード例 #31
0
import gf
import math

gf.figureOpen([[(math.sqrt(3) / 2, -0.5), (0, 1.0), (-math.sqrt(3) / 2, -0.5)],
               [[2, 0], [0, 1], [1, 2]], [[0, 1, 2]]])

try:
    import figureInfo
    figureInfo.setNameDescPath('Regular Triangle', '2-simplex.', __file__)
except ImportError:
    pass
コード例 #32
0
gf.figureOpen([[(-0.5773502588272095, -0.5773502588272095,
                 -0.5773502588272095),
                (-0.5773502588272095, -0.5773502588272095, 0.5773502588272095),
                (-0.5773502588272095, 0.5773502588272095, -0.5773502588272095),
                (-0.5773502588272095, 0.5773502588272095, 0.5773502588272095),
                (0.5773502588272095, -0.5773502588272095, -0.5773502588272095),
                (0.5773502588272095, -0.5773502588272095, 0.5773502588272095),
                (0.5773502588272095, 0.5773502588272095, -0.5773502588272095),
                (0.5773502588272095, 0.5773502588272095, 0.5773502588272095),
                (0.0, 0.35682210326194763, 0.9341723322868347),
                (0.35682210326194763, 0.9341723322868347, 0.0),
                (0.9341723322868347, 0.0, 0.35682210326194763),
                (0.0, 0.35682210326194763, -0.9341723322868347),
                (0.35682210326194763, -0.9341723322868347, 0.0),
                (-0.9341723322868347, 0.0, 0.35682210326194763),
                (0.0, -0.35682210326194763, 0.9341723322868347),
                (-0.35682210326194763, 0.9341723322868347, 0.0),
                (0.9341723322868347, 0.0, -0.35682210326194763),
                (0.0, -0.35682210326194763, -0.9341723322868347),
                (-0.35682210326194763, -0.9341723322868347, 0.0),
                (-0.9341723322868347, 0.0, -0.35682210326194763)],
               [[5, 10], [5, 14], [8, 14], [7, 10], [7, 8], [2, 11], [2, 15],
                [9, 15], [6, 11], [6, 9], [4, 12], [4, 16], [10, 16], [5, 12],
                [6, 16], [7, 9], [4, 17], [11, 17], [0, 17], [0, 18], [12, 18],
                [1, 14], [1, 18], [0, 19], [2, 19], [13, 19], [1, 13], [8, 3],
                [13, 3], [15, 3]],
               [[0, 3, 4, 2, 1], [5, 8, 9, 7, 6], [10, 13, 0, 12, 11],
                [3, 15, 9, 14, 12], [11, 14, 8, 17, 16], [18, 16, 10, 20, 19],
                [21, 1, 13, 20, 22], [23, 18, 17, 5, 24], [19, 22, 26, 25, 23],
                [27, 2, 21, 26, 28], [7, 15, 4, 27, 29], [28, 25, 24, 6, 29]],
               [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]]])
コード例 #33
0
ファイル: 2d-5.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([
	[
		(0.5877852439880371, -0.80901700258255),
		(0.9510565400123596, 0.30901700258255005),
		(0, 1.0),
		(-0.9510565400123596, 0.30901700258255005),
		(-0.5877852439880371, -0.80901700258255)
	], [[3, 4], [4, 0], [0, 1], [1, 2], [2, 3]], [[0, 1, 2, 3, 4]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Pentagon', None, __file__)
except ImportError: pass
コード例 #34
0
import gf
gf.figureOpen([[(0.8164966106414795, 0.0, -0.5773502588272095),
                (-0.8164966106414795, 0.0, -0.5773502588272095),
                (0.0, 0.8164966106414795, 0.5773502588272095),
                (0.0, -0.8164966106414795, 0.5773502588272095)],
               [[0, 1], [0, 2], [1, 2], [0, 3], [1, 3], [2, 3]],
               [[0, 2, 1], [0, 4, 3], [1, 5, 3], [2, 5, 4]], [[0, 1, 2, 3]]])

try:
    import figureInfo
    figureInfo.setNameDescPath(
        'Regular Tetrahedron',
        '3-simplex.\nOne of the five Platonic Solids (regular polyhedra).\nIts faces are triangular.',
        __file__)
except ImportError:
    pass
コード例 #35
0
gf.figureOpen([[(-0.5, -0.5, -0.5, -0.5), (-0.5, -0.5, -0.5, 0.5),
                (-0.5, -0.5, 0.5, -0.5), (-0.5, -0.5, 0.5, 0.5),
                (-0.5, 0.5, -0.5, -0.5), (-0.5, 0.5, -0.5, 0.5),
                (-0.5, 0.5, 0.5, -0.5), (-0.5, 0.5, 0.5, 0.5),
                (0.5, -0.5, -0.5, -0.5), (0.5, -0.5, -0.5, 0.5),
                (0.5, -0.5, 0.5, -0.5), (0.5, -0.5, 0.5, 0.5),
                (0.5, 0.5, -0.5, -0.5), (0.5, 0.5, -0.5, 0.5),
                (0.5, 0.5, 0.5, -0.5), (0.5, 0.5, 0.5, 0.5),
                (-1.0, 0.0, 0.0, 0.0), (0.0, -1.0, 0.0, 0.0),
                (0.0, 0.0, -1.0, 0.0), (0.0, 0.0, 0.0, -1.0),
                (1.0, 0.0, 0.0, 0.0), (0.0, 1.0, 0.0, 0.0),
                (0.0, 0.0, 1.0, 0.0), (0.0, 0.0, 0.0, 1.0)],
               [[0, 1], [0, 17], [1, 17], [0, 18], [1, 18], [0, 8], [8, 18],
                [1, 9], [9, 18], [8, 9], [8, 17], [9, 17], [0, 2], [2, 17],
                [0, 19], [2, 19], [8, 19],
                [2, 10], [10, 19], [8, 10], [10, 17], [0, 4], [4, 18], [4, 19],
                [4, 12], [12, 19], [8, 12], [12, 18], [10, 14], [14, 19],
                [10, 20], [14, 20], [12, 14], [12, 20], [8, 20], [9, 13],
                [13, 18], [9, 20], [13, 20], [12, 13], [9, 11], [11, 17],
                [11, 20], [10, 11], [12, 21], [13, 21], [14, 21], [13, 15],
                [15, 21], [14, 15], [15, 20], [10, 22], [11, 22], [14, 22],
                [11, 15], [15, 22], [9, 23], [11, 23], [13, 23], [15, 23],
                [1, 23], [1, 3], [23, 3], [11, 3], [17, 3], [2, 22], [2, 3],
                [22, 3], [0, 16], [2, 16], [1, 16], [16, 3], [1, 5], [23, 5],
                [13, 5], [18, 5], [4, 21], [4, 5], [21, 5], [4, 16], [16, 5],
                [2, 6], [22, 6], [14, 6], [19, 6], [4, 6], [21, 6], [16, 6],
                [15, 7], [21, 7], [23, 7], [5, 7], [16, 7], [6, 7], [22, 7],
                [3, 7]],
               [[0, 2, 1], [0, 4, 3], [5, 6, 3], [7, 8, 4], [9, 8, 6],
                [5, 10, 1], [7, 11, 2], [9, 11, 10], [12, 13, 1], [12, 15, 14],
                [5, 16, 14], [17, 18, 15], [19, 18, 16], [17, 20, 13],
                [19, 20, 10], [21, 22, 3], [21, 23, 14], [24, 25, 23],
                [26, 25, 16], [24, 27, 22], [26, 27, 6], [28, 29, 18],
                [28, 31, 30], [32, 31, 33], [19, 30, 34], [26, 33, 34],
                [32, 29, 25], [35, 36, 8], [35, 38, 37], [39, 38, 33],
                [9, 37, 34], [39, 36, 27], [40, 41, 11], [40, 42, 37],
                [43, 42, 30], [43, 41, 20], [39, 45, 44], [32, 46, 44],
                [47, 48, 45], [49, 48, 46], [47, 50, 38], [49, 50, 31],
                [43, 52, 51], [28, 53, 51], [54, 55, 52], [49, 55, 53],
                [54, 50, 42], [40, 57, 56], [35, 58, 56], [54, 59, 57],
                [47, 59, 58], [60, 62, 61], [57, 62, 63], [2, 64, 61],
                [41, 64, 63], [7, 56, 60], [65, 67, 66], [52, 67, 63],
                [13, 64, 66], [17, 51, 65], [12, 69, 68], [70, 71, 61],
                [69, 71, 66], [0, 70, 68], [60, 73, 72], [58, 73, 74],
                [4, 75, 72], [36, 75, 74], [76, 78, 77], [45, 78, 74],
                [22, 75, 77], [24, 44, 76], [21, 79, 68], [70, 80, 72],
                [79, 80, 77], [65, 82, 81], [53, 82, 83], [15, 84, 81],
                [29, 84, 83], [76, 86, 85], [46, 86, 83], [23, 84, 85],
                [69, 87, 81], [79, 87, 85], [48, 89, 88], [59, 90, 88],
                [78, 91, 89], [73, 91, 90], [80, 91, 92], [87, 93, 92],
                [86, 93, 89], [55, 94, 88], [82, 93, 94], [71, 95, 92],
                [67, 95, 94], [62, 95, 90]],
               [[0, 1, 2, 3, 4, 5, 6, 7], [8, 9, 10, 11, 12, 5, 13, 14],
                [15, 16, 10, 17, 18, 2, 19, 20],
                [21, 22, 23, 24, 25, 26, 12, 18],
                [27, 28, 29, 30, 25, 31, 4, 20],
                [32, 33, 34, 30, 24, 35, 7, 14],
                [29, 36, 37, 38, 39, 23, 40, 41],
                [34, 42, 43, 44, 45, 22, 46, 41],
                [33, 47, 48, 49, 50, 28, 46, 40],
                [47, 51, 52, 53, 54, 6, 55, 32],
                [42, 56, 57, 58, 54, 13, 59,
                 35], [60, 53, 58, 61, 62, 63, 0, 8],
                [48, 64, 65, 66, 67, 3, 55, 27],
                [36, 68, 69, 70, 67, 19, 71, 31],
                [72, 66, 70, 73, 74, 63, 1, 15],
                [43, 75, 76, 77, 78, 11, 59, 21],
                [37, 79, 80, 81, 78, 17, 71, 26],
                [72, 77, 81, 82, 83, 60, 9, 16],
                [69, 84, 85, 86, 87, 65, 38, 50],
                [88, 86, 89, 90, 74, 83, 79, 68],
                [80, 84, 91, 90, 92, 76, 39, 45],
                [93, 94, 89, 92, 62, 82, 75, 56],
                [93, 95, 88, 87, 61, 73, 64, 51],
                [57, 91, 85, 94, 95, 52, 44, 49]],
               [[
                   0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
                   17, 18, 19, 20, 21, 22, 23
               ]]])
コード例 #36
0
ファイル: 3d-04.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[(0.8164966106414795, 0.0, -0.5773502588272095), (-0.8164966106414795, 0.0, -0.5773502588272095), (0.0, 0.8164966106414795, 0.5773502588272095), (0.0, -0.8164966106414795, 0.5773502588272095)], [[0, 1], [0, 2], [1, 2], [0, 3], [1, 3], [2, 3]], [[0, 2, 1], [0, 4, 3], [1, 5, 3], [2, 5, 4]], [[0, 1, 2, 3]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Tetrahedron', '3-simplex.\nOne of the five Platonic Solids (regular polyhedra).\nIts faces are triangular.', __file__)
except ImportError: pass
コード例 #37
0
import gf
gf.figureOpen([[(0.5877852439880371, -0.80901700258255),
                (0.9510565400123596, 0.30901700258255005), (0, 1.0),
                (-0.9510565400123596, 0.30901700258255005),
                (-0.5877852439880371, -0.80901700258255)],
               [[3, 4], [4, 0], [0, 1], [1, 2], [2, 3]], [[0, 1, 2, 3, 4]]])

try:
    import figureInfo
    figureInfo.setNameDescPath('Regular Pentagon', None, __file__)
except ImportError:
    pass
コード例 #38
0
import gf
gf.figureOpen([[(-0.5, -0.5, -0.5, -0.5), (-0.5, -0.5, -0.5, 0.5),
                (-0.5, -0.5, 0.5, -0.5), (-0.5, -0.5, 0.5, 0.5),
                (-0.5, 0.5, -0.5, -0.5), (-0.5, 0.5, -0.5, 0.5),
                (-0.5, 0.5, 0.5, -0.5), (-0.5, 0.5, 0.5, 0.5),
                (0.5, -0.5, -0.5, -0.5), (0.5, -0.5, -0.5, 0.5),
                (0.5, -0.5, 0.5, -0.5), (0.5, -0.5, 0.5, 0.5),
                (0.5, 0.5, -0.5, -0.5), (0.5, 0.5, -0.5, 0.5),
                (0.5, 0.5, 0.5, -0.5), (0.5, 0.5, 0.5, 0.5)],
               [[12, 13], [12, 14], [13, 15], [14, 15], [9, 11], [9, 13],
                [11, 15], [10, 11], [10, 14], [8, 10], [8, 12], [8, 9], [1, 9],
                [1, 3], [11, 3], [0, 1], [0, 8], [2, 10], [2, 3], [0, 2],
                [1, 5], [13, 5], [4, 5], [4, 12], [0, 4], [2, 6], [14, 6],
                [4, 6], [15, 7], [3, 7], [5, 7], [6, 7]],
               [[0, 2, 3, 1], [4, 6, 2, 5], [7, 6, 3, 8], [8, 9, 10, 1],
                [5, 11, 10, 0], [4, 11, 9, 7], [12, 13, 14, 4],
                [15, 12, 11, 16], [17, 18, 14, 7], [15, 13, 18, 19],
                [19, 17, 9, 16], [12, 20, 21, 5], [22, 23, 0, 21],
                [15, 20, 22, 24], [24, 23, 10, 16], [17, 25, 26, 8],
                [23, 27, 26, 1], [19, 25, 27, 24], [28, 6, 14, 29],
                [2, 28, 30, 21], [13, 29, 30, 20], [3, 28, 31, 26],
                [18, 29, 31, 25], [22, 30, 31, 27]],
               [[0, 1, 2, 3, 4, 5], [6, 7, 8, 5, 9, 10],
                [11, 12, 7, 4, 13, 14], [15, 10, 16, 3, 17, 14],
                [1, 18, 19, 20, 6, 11], [2, 18, 21, 22, 8, 15],
                [21, 19, 23, 12, 0, 16], [9, 20, 22, 23, 13, 17]],
               [[0, 1, 2, 3, 4, 5, 6, 7]]])

try:
    import figureInfo
    figureInfo.setNameDescPath(
コード例 #39
0
ファイル: 4d-005.py プロジェクト: Zereges/geometric-figures
import gf
gf.figureOpen([[(0.25, 0.322748601436615, 0.4564354717731476, -0.7905694246292114), (0.25, 0.322748601436615, 0.4564354717731476, 0.7905694246292114), (0.25, 0.322748601436615, -0.9128709435462952, 0.0), (0.25, -0.9682458639144897, 0.0, 0.0), (-1.0, 0.0, 0.0, 0.0)], [[0, 1], [0, 2], [1, 2], [0, 3], [1, 3], [2, 3], [0, 4], [1, 4], [2, 4], [3, 4]], [[0, 2, 1], [0, 4, 3], [1, 5, 3], [2, 5, 4], [0, 7, 6], [1, 8, 6], [2, 8, 7], [3, 9, 6], [4, 9, 7], [5, 9, 8]], [[0, 1, 2, 3], [0, 4, 5, 6], [1, 4, 7, 8], [2, 5, 7, 9], [3, 6, 8, 9]], [[0, 1, 2, 3, 4]]])

try:
	import figureInfo
	figureInfo.setNameDescPath('Regular Pentachoron', '4-dimensional tetrahedron (4-simplex).\nOne of the six regular polychora (4-dimensional analogy of Platonic solids).\nIts cells are tetrahedral.', __file__)
except ImportError: pass