Ben624 Posted February 22, 2007 Share Posted February 22, 2007 Can someone tell me what the VWPluginLibraryRoutines files are all about? I have a feeling that there is some pretty useful stuff in there, but I'm not sure what it is or how to use it. Quote Link to comment
MullinRJ Posted February 22, 2007 Share Posted February 22, 2007 They are undocumented routines that currently work, but have yet to be added to the VS Function Reference. Perhaps they are not fully tested, so use them with an open mind. The intent of some are quite obvious, while others are more obtuse. As well, the interfaces are not always accurate, but the compiler will usually give you clues as to what it is looking for. Take this call as listed: function CircleCircleIntersec(cenPt1X, cenPt1Y, cenPt1Z : REAL; cenPt2X, cenPt2Y, cenPt2Z : REAL; radius1: REAL; radius2 : REAL; VAR pt1X, pt1Y, pt1Z : REAL; VAR pt2X, pt2Y, pt2Z : REAL) : BOOLEAN; which looks like it could be simplified to: function CircleCircleIntersec(cenPt1X, cenPt1Y, cenPt1Z, cenPt2X, cenPt2Y, cenPt2Z, radius1, radius2 : REAL; VAR pt1X, pt1Y, pt1Z, pt2X, pt2Y, pt2Z : REAL) : BOOLEAN; but, with help from the compiler, really needs to look like: function CircleCircleIntersect(CenterPt1, CenterPt2 : VECTOR; Radius1, Radius2 : REAL; VAR Point1, Point2 : VECTOR) : BOOLEAN; Trial and error is your best teacher. You can also peruse the VCOR Wiki for insight @ http://vcor.net/wiki/index.php/Category:VectorScript Don't forget to add to the Wiki when you discover useful tips. HTH, Raymond Quote Link to comment
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.