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]
solver
Jonathan Westhues 2011-03-05 14:33:05 -08:00
parent 3dc21ec8dd
commit b3bdadfeb8
3 changed files with 11 additions and 6 deletions

View File

@ -389,7 +389,7 @@ SLVS_C_ANGLE*
where A and B are vectors in the directions of lines A and B. This where A and B are vectors in the directions of lines A and B. This
equation does not specify the angle unambiguously; for example, 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 If other is true, then the constraint is instead that
@ -451,8 +451,13 @@ SLVS_C_WHERE_DRAGGED*
USING THE SOLVER 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

View File

@ -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 // initial guesses for their positions, and then constrain them. The solver
// calculates their new positions, in order to satisfy the constraints. // calculates their new positions, in order to satisfy the constraints.
// //

View File

@ -4,12 +4,12 @@
// See the comments in this file, the accompanying sample code (example.c) // See the comments in this file, the accompanying sample code (example.c)
// that uses this library, and the accompanying documentation (DOC.txt). // 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: // please visit:
// //
// http://solvespace.com/ // http://solvespace.com/
// //
// Copyright 2009-2010 Useful Subset, LLC // Copyright 2009-2011 Useful Subset, LLC
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
#ifndef __SLVS_H #ifndef __SLVS_H