Commit Graph

16 Commits

Author SHA1 Message Date
Kurt Kremitzki
5c619ee285 Handle right and left hand scalar-vector multiplication 2016-12-28 13:20:03 +01:00
wmayer
f408f3180b fix -Wextra in FreeCADBase 2016-09-21 15:02:02 +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
1e2e24b652 + rename methods in Vector3 class
+ add convenience methods Cross and Dot to Vector3 class
+ fix bug in DistanceToLineSegment in Vector3 class
2016-07-30 15:14:47 +02:00
wmayer
732eb7fee3 support any sequence type in init method of Vector class 2016-07-27 09:23:20 +02:00
Sebastian Hoogen
5e51a6cdf7 fixes #0001422: Subclass Exception
inherit Base.FreeCADError form RuntimeError
inherit Part.OCCError from Base.FreeCADError
inherit OCCDomainError from Part.OCCError
inherit OCCRangeError from Part.OCCError
inherit OCCConstructionError from OCCDomainError
inherit OCCDimensionError from OCCDomainError
Added PY_CATCH_OCC macro
replace PyExc_Exception
use FreeCADError in makeWireString
catch exception in BSplineCurve.increasedegree
2014-09-17 11:15:56 +02:00
wmayer
89b5d7e6f1 + extend number protocol 2014-02-14 13:53:47 +01:00
wmayer
e916d65a5c + extend number protocol 2014-02-14 13:45:56 +01:00
wmayer
98bab1ebbe + extend number protocol 2014-02-14 12:46:30 +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
wmayer
b63f9d7a2b 0001152: The output of __repr__() of Vector and Rotatio would create Objects with different Values do to inapropriate rounding 2013-06-17 13:21:25 +02:00
wmayer
f22fc55363 Return a NotImplemented exception when comparing Matrix or Vector with other types 2012-03-13 08:49:01 +01:00
wmayer
44147e71ab 0000623: Matrix and Vector API extension 2012-03-11 16:22:17 +01: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