Пример #1
0
        /// <summary>
        /// Reverses the view lines.
        /// </summary>
        /// <returns>A P4Map object containing the reversed view.</returns>
        public P4Map Reverse()
        {
            P4Map map = new P4Map();

            map.Insert(_map.ToA());
            map._map.Reverse();
            return(map);
        }
Пример #2
0
 /// <summary>
 /// Joins two map objects to form the intersection of the two views.
 /// </summary>
 /// <param name="left">Left-hand map.</param>
 /// <param name="right">Right-hand map.</param>
 /// <returns>P4Map object of the intersection of the two maps.</returns>
 public static P4Map Join(P4Map left, P4Map right)
 {
     return new P4Map(P4MapMaker.Join(left._map, right._map));
 }
Пример #3
0
 /// <summary>
 /// Reverses the view lines.
 /// </summary>
 /// <returns>A P4Map object containing the reversed view.</returns>
 public P4Map Reverse()
 {
     P4Map map = new P4Map();
     map.Insert(_map.ToA());
     map._map.Reverse();
     return map;
 }
Пример #4
0
 /// <summary>
 /// Joins two map objects to form the intersection of the two views.
 /// </summary>
 /// <param name="left">Left-hand map.</param>
 /// <param name="right">Right-hand map.</param>
 /// <returns>P4Map object of the intersection of the two maps.</returns>
 public static P4Map Join(P4Map left, P4Map right)
 {
     return(new P4Map(P4MapMaker.Join(left._map, right._map)));
 }