Exemplo n.º 1
0
        public static PlaneQuadrantId GetQuadrantFromAxesSigns(PlaneId planeId, AxisSign firstAxisSign, AxisSign secondAxisSign)
        {
            PlaneQuadrantInfo quadrantInfo = _planeInfo[(int)planeId].
                                             QuadrantInfo.FindAll(item => item.FirstAxisSign == firstAxisSign && item.SecondAxisSign == secondAxisSign)[0];

            return(quadrantInfo.Quadrant);
        }
Exemplo n.º 2
0
        public static AxisSign GetSecondAxisSign(PlaneId planeId, PlaneQuadrantId planeQuadrant)
        {
            PlaneQuadrantInfo quadrantInfo = _planeInfo[(int)planeId].QuadrantInfo.FindAll(item => item.Quadrant == planeQuadrant)[0];

            return(quadrantInfo.SecondAxisSign);
        }