-// Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
FT_MultiConnection2D,
FT_Length,
FT_Length2D,
+ FT_NodeConnectivityNumber,
+ FT_BelongToMeshGroup,
FT_BelongToGeom,
FT_BelongToPlane,
FT_BelongToCylinder,
{
double GetValue( in long theElementId );
- Histogram GetHistogram( in short nbIntervals, in boolean isLogarithmic );
-
+ Histogram GetHistogram ( in short nbIntervals, in boolean isLogarithmic );
+ Histogram GetLocalHistogram( in short nbIntervals, in boolean isLogarithmic,
+ in SMESH::SMESH_IDSource obj );
/*!
* Set precision for calculation. It is a position after point which is
* used to functor value after calculation.
Values GetValues();
};
interface BallDiameter : NumericalFunctor{};
+ interface NodeConnectivityNumber : NumericalFunctor{};
/*!
* Predicates are intended for verification of criteria,
- * must return bool value by mesh id
+ * they return bool value by mesh id
*/
interface Predicate: Functor
{
boolean IsSatisfy( in long thEntityId );
+ long NbSatisfying( in SMESH::SMESH_IDSource obj );
};
/*!
*/
interface EqualVolumes: Predicate {};
+ /*!
+ * Logical functor (predicate) "Belong To Mesh Group".
+ * Verify whether a mesh element is included into a mesh group
+ */
+ interface BelongToMeshGroup: Predicate
+ {
+ void SetGroup( in SMESH::SMESH_GroupBase theGroup );
+ void SetGroupID( in string theID ); // IOR or StoreName
+ SMESH::SMESH_GroupBase GetGroup();
+ };
+
/*!
* Logical functor (predicate) "Belong To Geometry".
* Verify whether mesh element or node belong to pointed Geom Object
/*!
* Create numerical functors
*/
- MinimumAngle CreateMinimumAngle();
- AspectRatio CreateAspectRatio();
- AspectRatio3D CreateAspectRatio3D();
- Warping CreateWarping();
- Taper CreateTaper();
- Skew CreateSkew();
- Area CreateArea();
- Volume3D CreateVolume3D();
+ MinimumAngle CreateMinimumAngle();
+ AspectRatio CreateAspectRatio();
+ AspectRatio3D CreateAspectRatio3D();
+ Warping CreateWarping();
+ Taper CreateTaper();
+ Skew CreateSkew();
+ Area CreateArea();
+ Volume3D CreateVolume3D();
MaxElementLength2D CreateMaxElementLength2D();
MaxElementLength3D CreateMaxElementLength3D();
- Length CreateLength();
- Length2D CreateLength2D();
- MultiConnection CreateMultiConnection();
- MultiConnection2D CreateMultiConnection2D();
- BallDiameter CreateBallDiameter();
+ Length CreateLength();
+ Length2D CreateLength2D();
+ MultiConnection CreateMultiConnection();
+ MultiConnection2D CreateMultiConnection2D();
+ BallDiameter CreateBallDiameter();
+ NodeConnectivityNumber CreateNodeConnectivityNumber();
/*!
- * Create logical functors ( predicates )
- */
- BelongToGeom CreateBelongToGeom();
- BelongToPlane CreateBelongToPlane();
- BelongToCylinder CreateBelongToCylinder();
+ * Create logical functors ( predicates )
+ */
+ BelongToMeshGroup CreateBelongToMeshGroup();
+ BelongToGeom CreateBelongToGeom();
+ BelongToPlane CreateBelongToPlane();
+ BelongToCylinder CreateBelongToCylinder();
BelongToGenSurface CreateBelongToGenSurface();
- LyingOnGeom CreateLyingOnGeom();
+ LyingOnGeom CreateLyingOnGeom();
- FreeBorders CreateFreeBorders();
- FreeEdges CreateFreeEdges();
- FreeNodes CreateFreeNodes();
- FreeFaces CreateFreeFaces();
+ FreeBorders CreateFreeBorders();
+ FreeEdges CreateFreeEdges();
+ FreeNodes CreateFreeNodes();
+ FreeFaces CreateFreeFaces();
- EqualNodes CreateEqualNodes();
- EqualEdges CreateEqualEdges();
- EqualFaces CreateEqualFaces();
- EqualVolumes CreateEqualVolumes();
+ EqualNodes CreateEqualNodes();
+ EqualEdges CreateEqualEdges();
+ EqualFaces CreateEqualFaces();
+ EqualVolumes CreateEqualVolumes();
- RangeOfIds CreateRangeOfIds();
+ RangeOfIds CreateRangeOfIds();
- BadOrientedVolume CreateBadOrientedVolume();
- BareBorderVolume CreateBareBorderVolume();
- BareBorderFace CreateBareBorderFace();
+ BadOrientedVolume CreateBadOrientedVolume();
+ BareBorderVolume CreateBareBorderVolume();
+ BareBorderFace CreateBareBorderFace();
OverConstrainedVolume CreateOverConstrainedVolume();
OverConstrainedFace CreateOverConstrainedFace();
- LinearOrQuadratic CreateLinearOrQuadratic();
+ LinearOrQuadratic CreateLinearOrQuadratic();
- GroupColor CreateGroupColor();
- ElemGeomType CreateElemGeomType();
- ElemEntityType CreateElemEntityType();
- CoplanarFaces CreateCoplanarFaces();
- ConnectedElements CreateConnectedElements();
+ GroupColor CreateGroupColor();
+ ElemGeomType CreateElemGeomType();
+ ElemEntityType CreateElemEntityType();
+ CoplanarFaces CreateCoplanarFaces();
+ ConnectedElements CreateConnectedElements();
/*!
- * Create comparators ( predicates )
- */
+ * Create comparators ( predicates )
+ */
LessThan CreateLessThan();
MoreThan CreateMoreThan();
EqualTo CreateEqualTo();