(* ::Package:: *)

(************************************************************************)
(* This file was generated automatically by the Mathematica front end.  *)
(* It contains Initialization cells from a Notebook file, which         *)
(* typically will have the same name as this file except ending in      *)
(* ".nb" instead of ".m".                                               *)
(*                                                                      *)
(* This file is intended to be loaded into the Mathematica kernel using *)
(* the package loading commands Get or Needs.  Doing so is equivalent   *)
(* to using the Evaluate Initialization Cells menu command in the front *)
(* end.                                                                 *)
(*                                                                      *)
(* DO NOT EDIT THIS FILE.  This entire file is regenerated              *)
(* automatically each time the parent Notebook file is saved in the     *)
(* Mathematica front end.  Any changes you make to this file will be    *)
(* overwritten.                                                         *)
(************************************************************************)



(* ::Input::Initialization:: *)
SetDirectory["C:\\drorbn\\AcademicPensieve\\Talks\\DaNang-1905"]


(* ::Input::Initialization:: *)
Pog::usage = "Pog[R,r,h,v,m] represents a standard + crossing pog of radius R, height 2h, translation v, rotation matrix m, and tube radius r.";
Pog[R_,r_,h_,v_, m_] := GeometricTransformation[
{
Green, Opacity[0.3], Cylinder[{{0,0,-h},{0,0,h}},R],
Opacity[1], CapForm[None], {
Red, Tube[BSplineCurve[{{1,0,0},{0,0,-h},{-1,0,0}}], r],
Blue, Tube[BSplineCurve[{{0,1,0},{0,0,h},{0,-1,0}}], r]
}
},
AffineTransform@{v,m}
]



