Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0023199Community[OCCT] OCCT:Modeling Algorithmspublic2012-06-08 20:122012-06-08 20:12
Assigned Tojgv 
Platform64bitOSWindowsOS Version7
Product Version 
Target VersionFixed in Version 
Summary0023199: GeomAPI_Interpolate -> Load - wrong behavior if only 2 points - tangentFlags are 'ignored'
DescriptionLoad (const TColgp_Array1OfVec &Tangents, const Handle< TColStd_HArray1OfBoolean > &TangentFlags, const Standard_Boolean Scale=Standard_True)

TangentFlags are ignored under the following conditions:

2 Points (x,y,z)
P1 (0,0,0)
P2 (0,10,0)

2 Directions (x,y,z) (as sizeof(points)==sizeof(tangents))
dir1 (1,0,1)
dir2 (0,0,1)

Array for TangentFlags:
[1] false
[2] true

GeomAPI_Interpolate spline ...
Load(tangents, tangentFlags, false);

=> dir1 is also evaluated
the resulting spline is not planar as would be expected

if there are 3 ore more points Load(...) works as expected
TagsNo tags attached.
Test case number
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2012-06-08 20:12 dc New Issue
2012-06-08 20:12 dc Assigned To => jgv

Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker