Commit Graph

20 Commits

Author SHA1 Message Date
edi271
975642964c [base] Extend Vector by isParallel function 2024-01-13 09:59:54 -05:00
wmayer
985def3416 Base: apply clang format 2023-11-13 12:01:26 -05:00
Jonas Bähr
34b176c1db 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
3c98b09128 Base: fixes #8902: Segfault from Part WB functionality in python scripting (#8927) 2023-03-17 22:50:30 +01:00
0penBrain
7e44838745 Remove some trailing whitespaces 2022-10-07 12:40:17 -07:00
0penBrain
48520718f9 [Bugfix]Base: Python method 'isEqual' of Vector shall be Const 2022-10-07 12:40:17 -07:00
wmayer
68f760d958 Base: [skip ci] improve whitespaces 2022-08-15 11:42:26 +02:00
marioalexis
18e7a0a612 Base: Improve docstrings in VectorPy.xml 2022-06-04 15:39:05 +02:00
Eric Trombly
56769f1a27 change isOnLine to isOnLineSegment 2020-04-06 06:34:53 -05:00
Eric Trombly
f210d71f18 remove sleep calls, change some for loops to list comp, move isPointOnLine to base vector 2020-04-06 06:34:53 -05:00
wmayer
23863af612 implement slicing for VectorPy class 2017-08-21 15:16:03 +02:00
wmayer
f300614729 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
4caf59fd8b implement object serialization for Vector class 2017-06-22 21:52:53 +02:00
wmayer
4d77921111 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
e05b1af5b8 + change doc string of Vector.projectPointToLine 2015-02-22 18:14:45 +01:00
Yorik van Havre
f1dc173a0f Exposed vector negative to python 2013-07-30 12:17:06 -03:00
wmayer
79c49e4939 Add distanceToPoint to VectorPy 2013-07-17 16:41:09 +02:00
Yorik van Havre
6f11a0c95e Reformatted the VectorPy docstrings for better aspect in sphinx docs 2012-03-29 11:17:04 -03:00
wmayer
6529c8c371 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