Example #1
0
File: P4Map.cs Project: mh52/P4.net
        /// <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);
        }
Example #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));
 }
Example #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;
 }
Example #4
0
File: P4Map.cs Project: mh52/P4.net
 /// <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)));
 }