edi271
6b68344af8
[TD] extend App.Vector API
2024-01-13 09:59:54 -05:00
edi271
9a9803c9f9
[base] Extend Vector by isParallel function
2024-01-13 09:59:54 -05:00
wmayer
e85c383bff
Base: apply clang format
2023-11-13 12:01:26 -05:00
Jonas Bähr
3e68d6fd50
Remove C++ escaping from *Py.xml templates
...
Now all escaping required for the C++ code generation is done when the
.cpp/.h files are generated. Previously, only newlines were escaped
automatically. This was a) inconsistent and b) leaked c++ details into
the xml data.
In addition, the escaping is now done in one central place, harmonizing
the three previous implementations.
Pre-existing c++ escape sequences in the XML files have been replaced by
their literal equivalent so that the resulting python doc sting remains
unchanged.
2023-08-16 13:17:25 +02:00
wwmayer
560752cd80
Base: fixes #8902 : Segfault from Part WB functionality in python scripting ( #8927 )
2023-03-17 22:50:30 +01:00
0penBrain
4a9725854f
Remove some trailing whitespaces
2022-10-07 12:40:17 -07:00
0penBrain
39b47185f4
[Bugfix]Base: Python method 'isEqual' of Vector shall be Const
2022-10-07 12:40:17 -07:00
wmayer
bc2f04889b
Base: [skip ci] improve whitespaces
2022-08-15 11:42:26 +02:00
marioalexis
67c506d39e
Base: Improve docstrings in VectorPy.xml
2022-06-04 15:39:05 +02:00
Eric Trombly
5ecbc89f30
change isOnLine to isOnLineSegment
2020-04-06 06:34:53 -05:00
Eric Trombly
5f648aa2c1
remove sleep calls, change some for loops to list comp, move isPointOnLine to base vector
2020-04-06 06:34:53 -05:00
wmayer
012cffefe8
implement slicing for VectorPy class
2017-08-21 15:16:03 +02:00
wmayer
c4c1034e4e
Py3: replace sq_slice and sq_ass_slice with mp_subscript and mp_ass_subscript because they are not used any more in Py3
2017-08-21 13:33:07 +02:00
wmayer
e7c7c07cda
implement object serialization for Vector class
2017-06-22 21:52:53 +02:00
wmayer
aea769af3d
use a stricter tolerance to check for equal points
...
add method IsEqual to Vector3 class to support user-defined tolerance
2016-08-15 14:09:26 +02:00
wmayer
f47df84705
+ change doc string of Vector.projectPointToLine
2015-02-22 18:14:45 +01:00
Yorik van Havre
a81c16c391
Exposed vector negative to python
2013-07-30 12:17:06 -03:00
wmayer
a882476c25
Add distanceToPoint to VectorPy
2013-07-17 16:41:09 +02:00
Yorik van Havre
fd36956061
Reformatted the VectorPy docstrings for better aspect in sphinx docs
2012-03-29 11:17:04 -03:00
wmayer
d102002bdf
Make new method in Vector3 accesible from Python
2012-02-24 19:43:44 +01:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00