Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
emulab-devel
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aaron Moate
emulab-devel
Commits
6e50b2e3
Commit
6e50b2e3
authored
18 years ago
by
Russ Fish
Browse files
Options
Downloads
Patches
Plain Diff
Improve a crucial comment.
parent
74cb9967
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
robots/vmcd/camera_data/geom.py
+4
-1
4 additions, 1 deletion
robots/vmcd/camera_data/geom.py
with
4 additions
and
1 deletion
robots/vmcd/camera_data/geom.py
+
4
−
1
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.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment