oliver Posted November 23, 2009 Posted November 23, 2009 please i need your help..fro s routine lisp for computing a target area base on three points as shown on figure below..i can solve it manually but the problem it takes a time solve it..and i could not finish my job on the field base on manual computation..like what i said it takes more time..so beg you guys. info: #. 3 known corners or coordinates #. a line for reference (blue line) #. the green line was new line base on computed area thank in advanced oliver Quote
oliver Posted November 26, 2009 Author Posted November 26, 2009 apologized ahead.. it just an update. thanks oliver Quote
paulmcz Posted November 26, 2009 Posted November 26, 2009 There seems to be not enough info to solve this problem. How do you solve it manually? Quote
alanjt Posted November 26, 2009 Posted November 26, 2009 Why not use the parcel tools? You have LDD/C3D. Quote
CarlB Posted November 26, 2009 Posted November 26, 2009 Using coordinate-area method you can come up with the formula, assuming the angle of the reference line is known. Say the 4th side of the rectangle (the blue line) has a length of "C" with an angle "a" from the horizontal, and the rectangle has an area of "A". Point 1 has coordinates of (X1,Y1) etc.: C=[2A-X2Y1+X1Y2-X1Y7+X7Y1+Y7X2]/[sina(X7-X2)+cosa(Y2-Y7)] Rectangle Area.zip Quote
oliver Posted November 26, 2009 Author Posted November 26, 2009 There seems to be not enough info to solve this problem. How do you solve it manually? using trial and error..what i want is a routine lisp which can be easily for me. Quote
alanjt Posted November 26, 2009 Posted November 26, 2009 I'll say it again, what about the parcel tools built into LDD/C3D? Quote
oliver Posted November 26, 2009 Author Posted November 26, 2009 I'll say it again, what about the parcel tools built into LDD/C3D? ok i use too..thanks for remind that:) but its ok..f someone just make easier for us. oliver Quote
oliver Posted November 29, 2009 Author Posted November 29, 2009 This reminds me of something.... thanks for that Lee..but the result was only perpendicular to the baseline. Quote
CarlB Posted November 29, 2009 Posted November 29, 2009 So oliver, did not the formula I posted solve directly for the unknown length of the side along the reference line? Or are you looking for a general purpose lisp routine for all situations? Quote
oliver Posted November 29, 2009 Author Posted November 29, 2009 Or are you looking for a general purpose lisp routine for all situations? i love too Quote
CarlB Posted November 30, 2009 Posted November 30, 2009 OK I thought it was an interesting challenge, got me to brush up on some basic algebra. So here's a routine to determine the lot line location to produce the required area. Property to be made up of only straight line segments. Not polished, little error trapping, assumes user can pick property corners in order, clockwise. LotLine.lsp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.