Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
How to calculate nor mathematics? nor (<AOC)
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: How to calculate nor mathematics? nor (<AOC) (Read 1808 times)
0 Members and 1 Guest are viewing this topic.
well20152016
Newt
Posts: 130
How to calculate nor mathematics? nor (<AOC)
«
on:
December 18, 2017, 06:19:09 PM »
Prerequisite:
point A ,
point O ,
point B ,
<AOB=90,
<AOC=90,
<COB=90,
Result: nor (<AOC)
Logged
kdub_nz
Mesozoic keyThumper
SuperMod
Water Moccasin
Posts: 2132
class keyThumper<T>:ILazy<T>
Re: How to calculate nor mathematics? nor (<AOC)
«
Reply #1 on:
December 18, 2017, 06:30:20 PM »
I can't understand what you are trying to do ... Do you want to establish some sort of truth table regarding angle equality ??
Logged
Called Kerry in my other life
Retired; but they dragged me back in !
I live at UTC + 13.00
---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.
Lee Mac
Seagull
Posts: 12912
London, England
WWW
Re: How to calculate nor mathematics? nor (<AOC)
«
Reply #2 on:
December 18, 2017, 06:30:49 PM »
Use the vector
cross product
- there are plentiful examples on the forum.
Logged
Lee Mac Programming
•
Twitter
•
Exchange App Store
ssdd
Newt
Posts: 35
Re: How to calculate nor mathematics? nor (<AOC)
«
Reply #3 on:
December 18, 2017, 06:32:56 PM »
Code - Auto/Visual Lisp:
[Select]
(
setq
nor
(
v
^
v
(
setq
x
(
mapcar
'
-
pt3 pt1
)
)
(
mapcar
'
-
pt2 pt1
)
)
)
(
defun
v
^
v
(
u v
)
(
mapcar
'
(
lambda
(
n
)
(
-
(
*
(
nth
(
car
n
)
u
)
(
nth
(
cadr
n
)
v
)
)
(
*
(
nth
(
cadr
n
)
u
)
(
nth
(
car
n
)
v
)
)
)
)
'
(
(
1
2
)
(
2
0
)
(
0
1
)
)
)
)
EDIT (John 7 Kaul): Added code tags.
«
Last Edit: December 22, 2017, 06:56:54 AM by John Kaul (Se7en)
»
Logged
well20152016
Newt
Posts: 130
Re: How to calculate nor mathematics? nor (<AOC)
«
Reply #4 on:
December 21, 2017, 06:35:26 PM »
Thank you for kdub, Lee Mac, ssdd.
But I'm not good at math. Who can help me?
Logged
kdub_nz
Mesozoic keyThumper
SuperMod
Water Moccasin
Posts: 2132
class keyThumper<T>:ILazy<T>
Re: How to calculate nor mathematics? nor (<AOC)
«
Reply #5 on:
December 21, 2017, 09:05:44 PM »
Have a look at something like this.
https://www.mathsisfun.com/algebra/vectors-cross-product.html
I'd like to see a better description of your actual problem.
... this will help others to be of more assistance.
Logged
Called Kerry in my other life
Retired; but they dragged me back in !
I live at UTC + 13.00
---
some people complain about loading the dishwasher.
Sometimes the question is more important than the answer.
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
Code Red
»
AutoLISP (Vanilla / Visual)
»
Topic:
How to calculate nor mathematics? nor (<AOC)