1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
occt/tests/geometry/circ2d3Tan/CircleLinLin_11
nds 9294c8f774 0028631: Modeling Algorithms - Crash while building a 2D circle tangent to another circle and passing through its center
Code correction includes also:
- extending GccEnt to have GccEnt_Position conversion to string value and backward;
- new GeometryTest_DrawableQualifiedCurve2d DRAW object to wrap GccEnt_QualifiedCirc/GccEnt_QualifiedLin.
  It is a DrawTrSurf_Curve2d with GccEnt_Position visualized in orange color.
- qcircle/qline DRAW command to create instance of GeometryTest_DrawableQualifiedCurve2d
- circ2d3Tan DRAW command to wrap GccAna_Circ2d3Tan taking qcircle/qline/point arguments.
2017-08-17 22:21:32 +03:00

10 lines
249 B
Plaintext

qcircle c1 0 120 20
qline l1 0 0 10 20
qline l2 0 0 10 -40
circ2d3Tan tan1 c1 l1 l2
checklength tan1_1 -l 461.86006847878718
checklength tan1_2 -l 163.75801021417183
checklength tan1_3 -l 321.80336707682847
checklength tan1_4 -l 235.02950419226329