mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-06 04:37:42 +08:00
Consolidate duplicated local property computation classes (GeomLProp_CLProps, Geom2dLProp_CLProps2d, LProp3d_CLProps, BRepLProp_CLProps, HLRBRep_CLProps and their SLProps counterparts) into unified C++ template classes GeomLProp_CLPropsBase and GeomLProp_SLProps with policy-based access (DirectAccess/ToolAccess). Move LProp, GeomLProp, and GProp packages from TKG2d/TKG3d to TKGeomBase. Remove Geom2dLProp and LProp3d packages entirely. Merge Geom2dLProp_CurAndInf2d into GeomLProp_CurAndInf2d. Preserve backward-compatible type aliases (using declarations) for all previously existing class names. Shared algorithm logic extracted into LProp_CurveUtils and LProp_SurfaceUtils namespaces. 2D curve analysis helpers (FuncCurExt2d, FuncCurNul2d, NumericCurInf2d) converted to header-only .pxx implementations under GeomLProp. Update all dependent code (LocalAnalysis, BRepFill, ChFi3d, Geom2dHatch, GeomPlate, ProjLib, HLRBRep, DrawTrSurf, etc.) to use new template instantiations. Migrate GTests from TKG2d to TKGeomBase with updated class names.
27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
// Created on: 1994-02-24
|
|
// Created by: Laurent BOURESCHE
|
|
// Copyright (c) 1994-1999 Matra Datavision
|
|
// Copyright (c) 1999-2014 OPEN CASCADE SAS
|
|
//
|
|
// This file is part of Open CASCADE Technology software library.
|
|
//
|
|
// This library is free software; you can redistribute it and/or modify it under
|
|
// the terms of the GNU Lesser General Public License version 2.1 as published
|
|
// by the Free Software Foundation, with special exception defined in the file
|
|
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
|
// distribution for complete text of the license and disclaimer of any warranty.
|
|
//
|
|
// Alternatively, this file may be used under the terms of Open CASCADE
|
|
// commercial license or contractual agreement.
|
|
|
|
#ifndef _BRepLProp_CLProps_HeaderFile
|
|
#define _BRepLProp_CLProps_HeaderFile
|
|
|
|
#include <BRepAdaptor_Curve.hxx>
|
|
#include <GeomLProp_CLProps.hxx>
|
|
|
|
//! Alias for curve local properties using BRepAdaptor_Curve.
|
|
using BRepLProp_CLProps = GeomLProp_CLPropsBase<gp_Pnt, gp_Vec, gp_Dir, BRepAdaptor_Curve>;
|
|
|
|
#endif // _BRepLProp_CLProps_HeaderFile
|