lib/tbd/psi.rb in tbd-3.4.3 vs lib/tbd/psi.rb in tbd-3.4.4
- old
+ new
@@ -1676,12 +1676,12 @@
#
# For each linked surface (or rather surface wires), set polar position
# around edge with respect to a reference vector (perpendicular to the
# edge), +clockwise as one is looking in the opposite position of the edge
# vector. For instance, a vertical edge has a reference vector pointing
- # North - surfaces eastward of the edge are (0°,180°], while surfaces
- # westward of the edge are (180°,360°].
+ # North - surfaces eastward of the edge are (0deg,180deg], while surfaces
+ # westward of the edge are (180deg,360deg].
#
# Much of the following code is of a topological nature, and should ideally
# (or eventually) become available functionality offered by Topolys. Topolys
# "wrappers" like TBD are good, short-term test beds to identify desired
# features for future Topolys enhancements.
@@ -1739,10 +1739,10 @@
fathest_mag = point_V_mag
end
angle = reference_V.angle(farthest_V)
angle = 0 if angle.nil?
- adjust = false # adjust angle [180°, 360°] if necessary
+ adjust = false # adjust angle [180deg, 360deg] if necessary
if vertical
adjust = true if east.dot(farthest_V) < -TOL
else
dN = north.dot(farthest_V)