Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
6e50b2e3
Commit
6e50b2e3
authored
Jan 12, 2007
by
Russ Fish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve a crucial comment.
parent
74cb9967
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
robots/vmcd/camera_data/geom.py
robots/vmcd/camera_data/geom.py
+4
-1
No files found.
robots/vmcd/camera_data/geom.py
View file @
6e50b2e3
...
...
@@ -33,7 +33,10 @@ def ptOffset(p, v, scale=1.0): # Any dimension.
def
ptBlend
(
p1
,
p2
,
t
=
0.5
):
# Any dimension.
return
ptOffset
(
p1
,
vecFrom2Pts
(
p1
,
p2
),
t
)
# Line - Line equation is Ax+By+C, == 0 on the line, positive inside.
# Line - Line equation is Bx-Ay+C, == 0 on the line, positive inside.
# [A,B] is a vector perpendicular to the line, positive to the right.
# Notice that this is not the Ax+By+C form you learned in Algebra class.
# It makes for efficient calculation of the distance from a point to a line.
class
Line
:
# Construct a line through two points.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment