line |
true |
false |
branch |
13
|
0 |
39 |
unless @_ == 5 |
23
|
0 |
8 |
unless $_[1]->isa('Math::Shape::Line') |
24
|
3 |
5 |
if (not $_[0]{'direction'}->is_parallel($_[1]{'direction'})) { } |
38
|
0 |
20 |
unless $_[1]->isa('Math::Shape::LineSegment') |
45
|
8 |
12 |
$vector_n->dot_product($vector_d1) * $vector_n->dot_product($vector_d2) > 0 ? : |
55
|
7 |
14 |
if ($other_obj->isa('Math::Shape::Line')) { } |
|
6 |
8 |
elsif ($other_obj->isa('Math::Shape::LineSegment')) { } |
|
2 |
6 |
elsif ($other_obj->isa('Math::Shape::OrientedRectangle')) { } |
|
2 |
4 |
elsif ($other_obj->isa('Math::Shape::Circle')) { } |
|
2 |
2 |
elsif ($other_obj->isa('Math::Shape::Rectangle')) { } |
|
2 |
0 |
elsif ($other_obj->isa('Math::Shape::Vector')) { } |
57
|
4 |
3 |
if ($$self{'direction'}->is_parallel($$other_obj{'direction'})) { } |
68
|
3 |
3 |
$self->on_one_side($other_obj) ? : |