Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Affine Transforms for Primitives #11

Open
sjkelly opened this issue Sep 1, 2015 · 0 comments
Open

Affine Transforms for Primitives #11

sjkelly opened this issue Sep 1, 2015 · 0 comments

Comments

@sjkelly
Copy link
Member

sjkelly commented Sep 1, 2015

How is this being done currently? In Descartes I need the forward and inverse transforms, and for simplicity I store both like below:

type Cuboid{T} <: AbstractPrimitive{3, T}
    dimensions::Vector{T}
    transform::Matrix{Float64}
    inv_transform::Matrix{Float64}
end

I think we could use @timholy 's AffineTranforms here to store this data and add an FSA interface rather than using Base.Matrix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant