public List <List <IntPoint> > GetDefBubblesPolys() { List <List <IntPoint> > allPolys = new List <List <IntPoint> >(); foreach (var service in _engineState.BubbleManagerEngine.ListOfServices) { allPolys.Add(DefinitiveCompPolyHandler.GetDefComponentIntersection(service.PositionXNACenter, service.Width)); } return(allPolys); }
public List <List <IntPoint> > GetDefRocketsPolys() { List <List <IntPoint> > allPolys = new List <List <IntPoint> >(); foreach (var service in _engineState.RocketsCarrierManagerEngine.GetListOfServices()) { allPolys.Add(DefinitiveCompPolyHandler.GetDefComponentIntersection(service.PositionXNACenter2D, service.Width)); } return(allPolys); }
public List <List <IntPoint> > GetDefBumpersPolys() { List <List <IntPoint> > allPolys = new List <List <IntPoint> >(); List <BumpRigid> bumpers = _engineState.RigidsManagerEngine. ListOfBoxRigids.Where(item => item is BumpRigid).Cast <BumpRigid>() .ToList(); foreach (var service in bumpers) { allPolys.Add(DefinitiveCompPolyHandler.GetDefComponentIntersection(service.PositionXNACenter2D, service.Width)); } return(allPolys); }
public List <IntPoint> GetDefBumperPoly(BumpRigid bump) { return(DefinitiveCompPolyHandler.GetDefComponentIntersection(bump.PositionXNACenter2D, bump.Width)); }
public List <IntPoint> GetDefBubblePoly(BubbleService service) { return(DefinitiveCompPolyHandler.GetDefComponentIntersection(service.PositionXNACenter, service.Width)); }
public List <IntPoint> GetDefRocketPoly(RocketCarrierService service) { return(DefinitiveCompPolyHandler.GetDefComponentIntersection(service.PositionXNACenter2D, service.Width)); }