1Math::PlanePath::Base::UNsSeErW(C3o)ntributed Perl DocumMeanttha:t:iPolnanePath::Base::NSEW(3)
2
3
4

NAME

6       Math::PlanePath::Base::NSEW -- multi-inheritance mixin for North,
7       South, East, West unit steps
8

SYNOPSIS

10        package Math::PlanePath::Foo;
11        use Math::PlanePath;
12        use Math::PlanePath::Base::NSEW;
13        @ISA = ('Math::PlanePath::Base::NSEW', 'Math::PlanePath');
14

DESCRIPTION

16       This is a multi-inheritance mixin for paths which take only steps
17       North, South, East and West by distance 1 each time.  This includes for
18       example the "SquareSpiral" and also things like the "DragonCurve" or
19       "CCurve".
20
21       The following path descriptive methods are provided
22
23                               value
24           dx_minimum()         -1
25           dx_maximum()          1
26           dy_minimum()         -1
27           dy_maximum()          1
28
29           dsumxy_minimum()     -1
30           dsumxy_maximum()      1
31           ddiffxy_minimum()    -1
32           ddiffxy_maximum()     1
33           dir_maximum_dxdy()   0,-1    # maximum South
34

SEE ALSO

36       Math::PlanePath, Math::PlanePath::Base::Generic
37

HOME PAGE

39       <http://user42.tuxfamily.org/math-planepath/index.html>
40

LICENSE

42       Copyright 2014, 2015, 2016, 2017, 2018 Kevin Ryde
43
44       This file is part of Math-PlanePath.
45
46       Math-PlanePath is free software; you can redistribute it and/or modify
47       it under the terms of the GNU General Public License as published by
48       the Free Software Foundation; either version 3, or (at your option) any
49       later version.
50
51       Math-PlanePath is distributed in the hope that it will be useful, but
52       WITHOUT ANY WARRANTY; without even the implied warranty of
53       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
54       General Public License for more details.
55
56       You should have received a copy of the GNU General Public License along
57       with Math-PlanePath.  If not, see <http://www.gnu.org/licenses/>.
58
59
60
61perl v5.32.0                      2020-07-28    Math::PlanePath::Base::NSEW(3)
Impressum