|
add_to_dict_if_no_key(d,
k,
val) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ptSegDistSqPT(pt1,
pt2,
pt) |
|
|
|
ptSegDistSq(x1,
y1,
x2a,
y2a,
pxa,
pya) |
|
|
|
areIntersecting2Dpts(S1a,
S1b,
S2a,
S2b,
debug=False) |
|
|
|
areIntersecting2DptsAdjacent(S1a,
S1b,
S2a,
S2b,
debug=False) |
|
|
|
|
|
point_inside_rectangle(pt,
rect) |
|
|
|
line_overlaps_rectangle(p1,
p2,
bbx,
debug=False) |
|
|
|
cut_line_in_rectangle(p1,
p2,
bbx,
debug=False) |
|
|
|
|
|
|
|
inBetween(num,
val1,
val2) |
|
|
|
line_overlaps_sphere(line,
sphere_pt,
sphere_radius) |
|
|
|
rectangle_overlaps_sphere(rect,
pt,
sphere_radius) |
|
|
|
|
|
|
|
computeCrossProduct(v1,
v2) |
|
|
|
|
|
|
|
computeNormalFrom2Vectors(v1,
v2) |
|
|
|
|
|
rectangles_overlap(r1,
r2) |
|
|
|
|
|
|
|
add_bounding_rect_offset_xywh(bbx,
xywh) |
|
|
|
add_bounding_rect_offset_xy(bbx,
xy,
br) |
|
|
|
add_bounding_rect_offset(bbx,
at,
br) |
|
|
|
add_point_to_bbx(bbx,
pt) |
|
|
|
whichSideIsPoint(line,
pt) |
|
|
|
enumerate_vector_with_rot_angle_2d(vect,
num_enum) |
|
|
|
|
|
workspace_set_view_matrix_4x4(mat) |
|
|
|
|
|
findCentroid(st,
allatoms) |
|
|
|
convertArrayToMatrix(arr) |
|
|
|
convertArrayToMatrixT(arr) |
|
|
|
rotVector(angle,
x,
y,
z,
v) |
|
|
|
computeUpVectorForLookAt(forward,
align_view,
ct2d_best_fit_m) |
|
|