Skip to content

Commit

Permalink
Merge pull request #96 from jeffreyrosenbluth/master
Browse files Browse the repository at this point in the history
fixes #95
  • Loading branch information
byorgey committed Aug 14, 2013
2 parents 500b33a + b3632a6 commit d36aae4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Diagrams/Trail.hs
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@ instance (InnerSpace v, RealFrac (Scalar v), Floating (Scalar v))
=> Sectionable (Trail v) where
splitAtParam t p = withLine ((wrapLine *** wrapLine) . (`splitAtParam` p)) t

reverseDomain = reverseTrail

instance (InnerSpace v, OrderedField (Scalar v), RealFrac (Scalar v))
=> HasArcLength (Trail v) where
arcLengthBounded = withLine . arcLengthBounded
Expand Down

0 comments on commit d36aae4

Please sign in to comment.