Variables
gjk Namespace Reference

Variables

list Blue = [0, 0, 1, 0.5]
 
 c = Client()
 
 cases = list(range(len(regions)))
 
tuple checks
 
tuple checks_hr
 
list definitions
 
string edge_fmt = "{j}a * {b}a_{c}a + {j}{b} * {c}a_aa - {j}{c} * {b}a_aa"
 
list Green = [0, 1, 0, 0.5]
 
tuple P1 = (-0.6475786872429674, -0.519875255189778, 0.5955961037406681)
 
tuple P2 = (0.069105957031249998, -0.150722900390625, -0.42999999999999999)
 
tuple P3 = (0.063996093749999997, -0.15320971679687501, -0.42999999999999999)
 
string plane_fmt = ""
 
list plane_tests = ["C.dot (a_cross_b)", "D.dot(a_cross_c)", "-D.dot(a_cross_b)"]
 
tuple Q1 = (-25.655000000000001, -1.2858199462890625, 3.7249809570312502)
 
tuple Q2 = (-10.926, -1.284259033203125, 3.7281499023437501)
 
tuple Q3 = (-10.926, -1.2866180419921875, 3.72335400390625)
 
list Red = [1, 0, 0, 0.5]
 
list regions
 
string sceneName = "scene/triangles"
 
string segment_fmt = "{j}a_aa"
 
list tests
 
tuple tf1
 
tuple tf2 = (0, 0, 0, 0, 0, 0, 1)
 
tuple weights
 
int wid = len(c.gui.getWindowList()) - 1
 

Variable Documentation

◆ Blue

list gjk.Blue = [0, 0, 1, 0.5]

Definition at line 7 of file test/scripts/gjk.py.

◆ c

gjk.c = Client()

Definition at line 9 of file test/scripts/gjk.py.

◆ cases

gjk.cases = list(range(len(regions)))

Definition at line 76 of file doc/gjk.py.

◆ checks

tuple gjk.checks
Initial value:
1 = (
2  plane_tests
3  + [edge_fmt.format(**{"j": j, "b": "b", "c": "c"}) for j in ["b", "c"]]
4  + [edge_fmt.format(**{"j": j, "b": "c", "c": "d"}) for j in ["c", "d"]]
5  + [edge_fmt.format(**{"j": j, "b": "d", "c": "b"}) for j in ["d", "b"]]
6  + [segment_fmt.format(**{"j": j}) for j in ["b", "c", "d"]]
7 )

Definition at line 16 of file doc/gjk.py.

◆ checks_hr

tuple gjk.checks_hr
Initial value:
1 = (
2  ["ABC.AO >= 0", "ACD.AO >= 0", "ADB.AO >= 0"]
3  + ["(ABC ^ {}).AO >= 0".format(n) for n in ["AB", "AC"]]
4  + ["(ACD ^ {}).AO >= 0".format(n) for n in ["AC", "AD"]]
5  + ["(ADB ^ {}).AO >= 0".format(n) for n in ["AD", "AB"]]
6  + ["AB.AO >= 0", "AC.AO >= 0", "AD.AO >= 0"]
7 )

Definition at line 23 of file doc/gjk.py.

◆ definitions

list gjk.definitions
Initial value:
1 = [
2  [1, 4, -5],
3  [2, 6, -7],
4  [3, 8, -9],
5  [-4, 9, 10],
6  [-6, 5, 11],
7  [-8, 7, 12],
8  [-10, -11, -12],
9  [-1, -2, -3],
10 ]

Definition at line 85 of file doc/gjk.py.

◆ edge_fmt

string gjk.edge_fmt = "{j}a * {b}a_{c}a + {j}{b} * {c}a_aa - {j}{c} * {b}a_aa"

Definition at line 10 of file doc/gjk.py.

◆ Green

list gjk.Green = [0, 1, 0, 0.5]

Definition at line 6 of file test/scripts/gjk.py.

◆ P1

tuple gjk.P1 = (-0.6475786872429674, -0.519875255189778, 0.5955961037406681)

Definition at line 21 of file test/scripts/gjk.py.

◆ P2

tuple gjk.P2 = (0.069105957031249998, -0.150722900390625, -0.42999999999999999)

Definition at line 22 of file test/scripts/gjk.py.

◆ P3

tuple gjk.P3 = (0.063996093749999997, -0.15320971679687501, -0.42999999999999999)

Definition at line 23 of file test/scripts/gjk.py.

◆ plane_fmt

string gjk.plane_fmt = ""

Definition at line 9 of file doc/gjk.py.

◆ plane_tests

list gjk.plane_tests = ["C.dot (a_cross_b)", "D.dot(a_cross_c)", "-D.dot(a_cross_b)"]

Definition at line 15 of file doc/gjk.py.

◆ Q1

tuple gjk.Q1 = (-25.655000000000001, -1.2858199462890625, 3.7249809570312502)

Definition at line 24 of file test/scripts/gjk.py.

◆ Q2

tuple gjk.Q2 = (-10.926, -1.284259033203125, 3.7281499023437501)

Definition at line 25 of file test/scripts/gjk.py.

◆ Q3

tuple gjk.Q3 = (-10.926, -1.2866180419921875, 3.72335400390625)

Definition at line 26 of file test/scripts/gjk.py.

◆ Red

list gjk.Red = [1, 0, 0, 0.5]

Definition at line 5 of file test/scripts/gjk.py.

◆ regions

list gjk.regions
Initial value:
1 = [
2  "ABC",
3  "ACD",
4  "ADB",
5  "AB",
6  "AC",
7  "AD",
8  "A",
9  "Inside",
10 ]

Definition at line 66 of file doc/gjk.py.

◆ sceneName

string gjk.sceneName = "scene/triangles"

Definition at line 12 of file test/scripts/gjk.py.

◆ segment_fmt

string gjk.segment_fmt = "{j}a_aa"

Definition at line 8 of file doc/gjk.py.

◆ tests

list gjk.tests
Initial value:
1 = [
2  9,
3  10,
4  11,
5  0,
6  1,
7  2,
8  3,
9  4,
10  5,
11  6,
12  7,
13  8,
14 ]

Definition at line 49 of file doc/gjk.py.

◆ tf1

tuple gjk.tf1
Initial value:
1 = (
2  -12.824601270753471,
3  -1.6840516940066426,
4  3.8914453043793844,
5  -0.26862477561450587,
6  -0.46249645019513175,
7  0.73064726592483387,
8  -0.42437287410898855,
9 )

Definition at line 27 of file test/scripts/gjk.py.

◆ tf2

tuple gjk.tf2 = (0, 0, 0, 0, 0, 0, 1)

Definition at line 36 of file test/scripts/gjk.py.

◆ weights

tuple gjk.weights
Initial value:
1 = (
2  [
3  2,
4  ]
5  * 3
6  + [
7  3,
8  ]
9  * 6
10  + [
11  1,
12  ]
13  * 3
14 )

Definition at line 32 of file doc/gjk.py.

◆ wid

gjk.wid = len(c.gui.getWindowList()) - 1

Definition at line 10 of file test/scripts/gjk.py.



hpp-fcl
Author(s):
autogenerated on Fri Aug 2 2024 02:45:16