package Ġde . smart as apps . ur ban ll am af ar mer . placement Ċ Ċ import Ġcom . google . ar . core . Hit Result Ċ import Ġcom . google . ar . scene form . Anchor Node Ċ import Ġcom . google . ar . scene form . Node Ċ import Ġde . smart as apps . ur ban ll am af ar mer . nodes . Node Creator Ċ Ċ class ĠObject Placement ( private Ġval Ġnode Creator : ĠNode Creator ) Ġ{ ĊĠĠĠ Ġprivate Ġvar Ġplacement Type : ĠObject Placement Type Ġ= ĠF ence Placement ĊĊĠĠĠ Ġfun Ġplace Object ( hit Result : ĠHit Result ): ĠNode Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġanchor Ġ= Ġhit Result . create Anchor () ĊĠĠĠĠĠĠĠ Ġval Ġanchor Node Ġ= ĠAnchor Node ( anchor ) ĊĠĠĠĠĠĠĠ Ġplacement Type . createNode ( node Creator ). setParent ( anchor Node ) ĊĠĠĠĠĠĠĠ Ġreturn Ġanchor Node ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġactivate Fence () Ġ{ ĊĠĠĠĠĠĠĠ Ġplacement Type Ġ= ĠF ence Placement ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġfun Ġactivate L lam as () Ġ{ ĊĠĠĠĠĠĠĠ Ġplacement Type Ġ= ĠL lama Placement ĊĠĠĠ Ġ} Ċ } Ċ Ċ private Ġsealed Ġclass ĠObject Placement Type Ġ{ ĊĠĠĠ Ġabstract Ġfun Ġcreate Node ( node Creator : ĠNode Creator ): ĠNode Ċ } Ċ Ċ private Ġobject ĠL lama Placement Ġ: ĠObject Placement Type () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcreate Node ( node Creator : ĠNode Creator ): ĠNode Ġ= Ġnode Creator . create L lama () Ċ } Ċ Ċ private Ġobject ĠF ence Placement Ġ: ĠObject Placement Type () Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġcreate Node ( node Creator : ĠNode Creator ): ĠNode Ġ= Ġnode Creator . create Fence () Ċ } Ċ