Skip to content

jitx/shapes/Difference

Package name: jitx/shapes/Difference

Summary

Difference

Difference

Constructors

Function Description
Difference Constructor for defstruct Difference

Definitions

Difference

Difference

public defstruct Difference <: Shape & HasMetaUtils :
    shape1: Shape
    shape2: Shape

  • shape1: Shape - The shape from which there is a subtraction to form this difference shape.

  • shape2: Shape - The shape that is subtracted from shape1 to form this difference shape.

A shape formed from subtracting one shape from another. The subtraction is not commutative, i.e. swapping the two shapes that comprise a difference shape will produce a different shape.

Constructors

Difference

Constructor for defstruct Difference

public defn Difference (shape:Shape, shape:Shape)

Related Packages

Forwarded by packages: jitx/shapes, jitx