From b3bdadfeb839ae92788ed7dccd9405526d7d8c29 Mon Sep 17 00:00:00 2001 From: Jonathan Westhues Date: Sat, 5 Mar 2011 14:33:05 -0800 Subject: [PATCH] Fix that typo elsewhere in the slvs.dll examples, and note that VB.NET example in the documentation. [git-p4: depot-paths = "//depot/solvespace/": change = 2188] --- exposed/DOC.txt | 11 ++++++++--- exposed/example.c | 2 +- exposed/slvs.h | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/exposed/DOC.txt b/exposed/DOC.txt index 18b7990..3ca7a6e 100644 --- a/exposed/DOC.txt +++ b/exposed/DOC.txt @@ -389,7 +389,7 @@ SLVS_C_ANGLE* where A and B are vectors in the directions of lines A and B. This equation does not specify the angle unambiguously; for example, - note that val A = +/- 90 degrees will produce the same equation. + note that valA = +/- 90 degrees will produce the same equation. If other is true, then the constraint is instead that @@ -451,8 +451,13 @@ SLVS_C_WHERE_DRAGGED* USING THE SOLVER ================ -See the enclosed sample code, example.c. +The solver is provided as a DLL, and will be usable with most +Windows-based developement tools. Examples are provided: + + in C/C++ - example.c + + in VB.NET - VbDemo.vb -Copyright 2009-2010 Useful Subset, LLC +Copyright 2009-2011 Useful Subset, LLC diff --git a/exposed/example.c b/exposed/example.c index f42e7f4..32a8c50 100644 --- a/exposed/example.c +++ b/exposed/example.c @@ -1,5 +1,5 @@ //----------------------------------------------------------------------------- -// Some sample code for slvs.lib. We draw some geometric entities, provide +// Some sample code for slvs.dll. We draw some geometric entities, provide // initial guesses for their positions, and then constrain them. The solver // calculates their new positions, in order to satisfy the constraints. // diff --git a/exposed/slvs.h b/exposed/slvs.h index 13b7bc8..f58202c 100644 --- a/exposed/slvs.h +++ b/exposed/slvs.h @@ -4,12 +4,12 @@ // See the comments in this file, the accompanying sample code (example.c) // that uses this library, and the accompanying documentation (DOC.txt). // -// This code is provide for evaluation purposes only. To purchase a license, +// This code is provided for evaluation purposes only. To purchase a license, // please visit: // // http://solvespace.com/ // -// Copyright 2009-2010 Useful Subset, LLC +// Copyright 2009-2011 Useful Subset, LLC //----------------------------------------------------------------------------- #ifndef __SLVS_H