Module
Graphics.Canvas.Geometry
- Package
- purescript-canvas-geometry
- Repository
- Ebmtranceboy/purescript-canvas-geometry
#PointAttributes Source
type PointAttributes = { coordinates :: Polynomial Number, name :: String }
#RightAngle Source
newtype RightAngle
Constructors
RightAngle { center :: Point, extremity :: Vector, origin :: Vector, radius :: Number }
Instances
#DrawableSet Source
#Intersectable Source
class Intersectable a b where
Members
Instances
Intersectable Line Line
Intersectable Line HalfLine
Intersectable HalfLine Line
Intersectable Line Circle
Intersectable Circle Line
Intersectable HalfLine Circle
Intersectable Circle HalfLine
Intersectable Circle Circle
Intersectable HalfLine HalfLine
Intersectable Segment Line
Intersectable Line Segment
Intersectable Segment HalfLine
Intersectable HalfLine Segment
Intersectable Segment Circle
Intersectable Circle Segment
Intersectable Segment Segment
#aPointOnLine Source
aPointOnLine :: Line -> Point
#aVectorOfLine Source
aVectorOfLine :: Line -> Vector
#normalized Source
normalized :: Vector -> Vector
#rightangle Source
rightangle :: Vector -> Point -> Vector -> Number -> RightAngle
- Modules
- Graphics.
Canvas. Geometry