| 1 | 1 | ▶ | use Renard::Incunabula::Common::Setup; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | package Intertangle::Jacquard::Role::Geometry::Position2D; | ||
| 3 | # ABSTRACT: A 2-D geometry with variable position | ||
| 4 | $Intertangle::Jacquard::Role::Geometry::Position2D::VERSION = '0.002'; | ||
| 5 | 1 | ▶ | use Mu::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use Intertangle::Punchcard::Attributes; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 0 | ▶ | use Intertangle::Yarn::Graphene; |
|
Subroutine
BEGIN: called CC=1 SCAR=2.6
| |||
| 8 | |||
| 9 | variable x =>; | ||
| 10 | variable y =>; | ||
| 11 | |||
| 12 | method origin_point() { | ||
| 13 | Intertangle::Yarn::Graphene::Point->new( | ||
| 14 | x => $self->x->value, | ||
| 15 | y => $self->y->value, | ||
| 16 | ); | ||
| 17 | } | ||
| 18 | |||
| 19 | 1; | ||
| 20 | |||
| 21 | __END__ | ||