Skip to content

Comments

Modeling Data, GeomGridEval - Add CurveOnSurface batch evaluator#1078

Draft
dpasukhi wants to merge 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:geom_grid_eval_curve_brep_general
Draft

Modeling Data, GeomGridEval - Add CurveOnSurface batch evaluator#1078
dpasukhi wants to merge 1 commit intoOpen-Cascade-SAS:IRfrom
dpasukhi:geom_grid_eval_curve_brep_general

Conversation

@dpasukhi
Copy link
Member

Add GeomGridEval_CurveOnSurface that implements chain rule composition of 2D curve and surface evaluation for batch grid processing of curve-on-surface geometry (D0 through D3 and DN).

This replaces the GeomGridEval_OtherCurve fallback for COS cases in GeomGridEval_Curve::Initialize(), avoiding per-point overhead of Adaptor3d_CurveOnSurface (special-case detection, endpoint trimmed surface handling, virtual dispatch through wrapper adaptors).

Also fix GeomGridEval_Curve::Initialize(Geom_Curve) to properly reset myTrsf on re-initialization, preventing stale transform state when the evaluator is reused with a different curve.

New files:

  • GeomGridEval_CurveOnSurface.hxx/.cxx
  • GeomGridEval_CurveOnSurface_Test.cxx (11 tests)

Add GeomGridEval_CurveOnSurface that implements chain rule composition
of 2D curve and surface evaluation for batch grid processing of
curve-on-surface geometry (D0 through D3 and DN).

This replaces the GeomGridEval_OtherCurve fallback for COS cases in
GeomGridEval_Curve::Initialize(), avoiding per-point overhead of
Adaptor3d_CurveOnSurface (special-case detection, endpoint trimmed
surface handling, virtual dispatch through wrapper adaptors).

Also fix GeomGridEval_Curve::Initialize(Geom_Curve) to properly reset
myTrsf on re-initialization, preventing stale transform state when
the evaluator is reused with a different curve.

New files:
- GeomGridEval_CurveOnSurface.hxx/.cxx
- GeomGridEval_CurveOnSurface_Test.cxx (11 tests)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant