C3D Toolkit  Kernel - 109696, Vision -

The result of comparison between two objects. More...

#include <ats_check.h>

+ Collaboration diagram for CompareItemsResult:

Public Member Functions

 CompareItemsResult ()
 Constructor. More...
virtual ~CompareItemsResult ()
void Reset ()
 Reset differences.
void Add (PrimitiveDifference &diff)
 Add a difference.
void SetItemsEqual (bool set)
 Set the flag when differences are absence.
bool AreItemsEqual () const
 Are solids equal? More...
size_t NamesDifferencesCount () const
 The number of naming differences.
bool HaveGeometricDifferences () const
 Is there any geometric difference?
const PArray< PrimitiveDifference > & GetPrimitiveDifferences () const
 Get comparison results.

Protected Attributes

bool areItemsEqual
 Attribute of absence of differences in models and names.
PArray< PrimitiveDifferencedifferences
 Differences in primitives names and unfound primitives.

Detailed Description

The result of comparison between two objects.

The result of comparison between two objects.

Constructor & Destructor Documentation

◆ CompareItemsResult()

CompareItemsResult::CompareItemsResult ( )


Constructor of result of comparison between equal models.

Member Function Documentation

◆ AreItemsEqual()

bool CompareItemsResult::AreItemsEqual ( ) const

Are solids equal?

Are solids equal?

true if there are no naming differences and there are no geometric differences.

The documentation for this class was generated from the following file: