Skip to content

Commit 0d4e3bd

Browse files
committed
Fix docstring
1 parent bd5ff47 commit 0d4e3bd

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/wing_geometry.jl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@ Represents a wing section with leading edge, trailing edge, and aerodynamic prop
1717
aero_data::AeroData = nothing
1818
end
1919

20+
"""
21+
Section(LE_point, TE_point, aero_model)
22+
23+
Create a new wing section with the specified leading edge point, trailing edge point,
24+
and aerodynamic model.
25+
26+
# Arguments
27+
- `LE_point::MVec3`: Leading edge point coordinates
28+
- `TE_point::MVec3`: Trailing edge point coordinates
29+
- `aero_model::AeroModel`: Aerodynamic model type (e.g., INVISCID, POLAR_VECTORS)
30+
31+
# Returns
32+
- `Section`: A new section with the specified parameters and no aerodynamic data
33+
"""
2034
function Section(LE_point, TE_point, aero_model)
2135
return Section(LE_point, TE_point, aero_model, nothing)
2236
end

0 commit comments

Comments
 (0)