Commit Graph

17 Commits

Author SHA1 Message Date
Tomas Pavlicek
29e7f695d5 Polish classes in Tools2D 2019-09-25 15:18:58 +02:00
Tomas Pavlicek
46c73062ff TechDraw: Radius drawing refactored - ASME support 2019-08-21 19:27:12 -04:00
Zheng, Lei
3fcbf71fb5 Base: misc patches
Convenience macros/function (in Interpreter.h)

* FC_PY_GetObject/Callable(), look for callables in a python object,
  which will be used in future patch to improve performance in various
  python observer/features.

* pyCall(WithKeywords)(), helper function to invoke the callable

Matrix4D:

* hasScale(), check if there is any scale in the transformation. If so,
  further check if the scale is uniform or not. This will be used in
  future patch for Part::TopoShape to decide which type of transform to
  apply.

Placement:

* translate/rotate(), new convenience API

Rotation:

* isSame/multiVec(), new convenience API

Polygon2d:

* Intersect(), GetCenter(), new convenience API.

FlagToggler:

* New class for exception safe flag toggling, similar to StateLocker
  but with template (actually, FlagToggler is added earlier by me).

BitsetLocker:

* New class for exception manipulation of a std::bitset variable.
2019-08-17 14:52:08 +02:00
wmayer
66b91b1cdf partially revert changes of issue #0002858 and add IsEqual method 2017-01-22 15:33:26 +01:00
wmayer
6e7c4915a3 fixes #0002858: Vector2d Equality Incorrect 2017-01-15 16:34:14 +01:00
wmayer
e54e9515fc rename 2d tool classes to be consistent with 3d classes 2016-11-21 14:29:51 +01: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
85994d17b8 + replace || operator in BoundBox2D with real function names 2015-10-14 18:45:13 +02:00
wmayer
a4d1dbe5f0 + rework BoundingBox class and its Python binding 2015-10-11 00:18:53 +02:00
wmayer
05de6c103f + add missing header to Tools2D.h 2014-10-02 11:40:39 +02:00
wmayer
b316991220 + fix mesh trimming 2014-07-16 18:21:30 +02:00
wmayer
d456cd21f9 + fixes #0001499: Mesh trim loses some triangles 2014-07-15 18:42:42 +02:00
wmayer
9c806a427c + minor change in Vector2D 2014-03-29 11:57:58 +01:00
wmayer
ea4abcb57a + issue #0001475: Implement a 3 point arc similar to solidworks in sketcher 2014-03-15 12:50:24 +01:00
wmayer
847b6b79e0 + Replace math.h with cmath 2014-01-05 11:25:40 +01:00
jriegel
664c1d4862 Integrate Werners & Jans double branch
Move from float to double
Further suggestions for float -> double move
Moved Tools2D from float to double
More suggestions for float->double move from Gui subdirectory
Changes to FEM constraint visuals for float->double move
Suggested changes for float -> double move
Suggestions for Part module moving float -> double
2013-09-24 11:00:57 +02: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