We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@addcall
1 parent 92cf8ee commit aabbbbbCopy full SHA for aabbbbb
src/align.jl
@@ -1,14 +1,14 @@
1
export Align
2
3
"""
4
- Align(inner_layout :: AbstractLayout{2}, angle :: Real = zero(Float64))
+ Align(inner_layout :: AbstractLayout{2, Ptype}, angle :: Ptype = zero(Ptype))
5
6
Align the vertex positions of `inner_layout` so that the principal axis of the resulting
7
layout makes an `angle` with the **x**-axis.
8
9
Only supports two-dimensional inner layouts.
10
11
-struct Align{Ptype, L <: AbstractLayout{2, Ptype}} <: AbstractLayout{2, Ptype}
+@addcall struct Align{Ptype, L <: AbstractLayout{2, Ptype}} <: AbstractLayout{2, Ptype}
12
inner_layout :: L
13
angle :: Ptype
14
function Align(inner_layout::L, angle::Real) where {L <: AbstractLayout{2, Ptype}} where Ptype
0 commit comments