TheSwamp

Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Mark on September 13, 2005, 06:48:49 AM

Title: Question 27 goes here
Post by: Mark on September 13, 2005, 06:48:49 AM
Quote
What Autolisp Equality function can be used to make 1.2345 and 1.2348 return a True value?  Give the proper equation in your answer.
Title: Re: Qestion 27 goes here
Post by: MP on September 13, 2005, 06:50:20 AM
(equal a b fuzz)

e.g.

(equal 1.2345 1.2348 0.001)
Title: Re: Qestion 27 goes here
Post by: MP on September 13, 2005, 06:55:49 AM
Or (equal 1.2345 1.2348 0.0003) if you like.

:-D
Title: Re: Question 27 goes here
Post by: whdjr on September 13, 2005, 08:17:21 AM
:evil:
Title: Re: Question 27 goes here
Post by: whdjr on September 13, 2005, 08:18:37 AM
You have waited a little while.

You didn't have to burst my bubble so quickly. :cry:
Title: Re: Question 27 goes here
Post by: MP on September 13, 2005, 08:23:39 AM
You have waited a little while.

Yes I have, as all your wait are belong to us.
Title: Re: Question 27 goes here
Post by: Keith™ on September 13, 2005, 08:29:12 AM
somebody set up us the wait
we get wait
Title: Re: Question 27 goes here
Post by: CAB on September 13, 2005, 08:36:08 AM
Here is one for points, I think posted by TT
It works very well. I used to have a lot of trouble with points.
Code: [Select]
  (defun equal-points (p1 p2 fuzz)
     (>= fuzz (distance p1 p2))
  )
Title: Re: Question 27 goes here
Post by: MP on September 13, 2005, 08:37:25 AM
You should pen a "All your base are belong to us" haiku (http://en.wikipedia.org/wiki/Haiku_poems) Keith.

:-D
Title: Re: Question 27 goes here
Post by: Keith™ on September 13, 2005, 09:38:23 AM
You should pen a "All your base are belong to us" haiku (http://en.wikipedia.org/wiki/Haiku_poems) Keith.

:-D
Tradtional or Contemporary?
Title: Re: Question 27 goes here
Post by: MP on September 13, 2005, 09:41:12 AM
Yes.
Title: Re: Question 27 goes here
Post by: Keith™ on September 13, 2005, 09:49:15 AM
Contemporary
Swampers get CAD help
Some one set up us the swamp
TheSwamp for great CAD

Traditional
Swamp turn on
Mark set up us theswamp
All your swamp are belong to us
Title: Re: Question 27 goes here
Post by: MP on September 13, 2005, 10:04:29 AM
Excellent Keith.

Quasi traditional:

The swamp dot org ;
A post is made --
The sound of nerd.

/Keeping the day job if they'll have me.
Title: Re: Question 27 goes here
Post by: whdjr on September 13, 2005, 10:41:38 AM
:police: You both need to keep your days jobs, and maybe find a night job too.


Those were pretty bad.  :-o
Title: Re: Question 27 goes here
Post by: deegeecees on September 13, 2005, 10:55:27 AM
ALL YOUR HAIKU ARE BELONG TO US
              ......................
back giving we are cuz suck they do
Title: Re: Question 27 goes here
Post by: Keith™ on September 13, 2005, 10:56:09 AM
You think those were bad?
I would like to see your try.
I'll bet yours is worse!
Title: Re: Question 27 goes here
Post by: MP on September 13, 2005, 11:39:49 AM
:police: You both need to keep your days jobs, and maybe find a night job too.

Those were pretty bad. :-o

Finger waving post.
Bereft an attempt itself.
Sound of snide laughter.

:-P