Share

AcGeEntity3d::isEqualTo

C++

GE_DLLEXPIMPORT Adesk::Boolean isEqualTo(
    const AcGeEntity3d& ent, 
    const AcGeTol& tol = AcGeContext::gTol
) const;

Description

Determines if two entities are equal to each other.

Two entities are considered to be equal only if they are of the same type and they represent the same 3D point set. For instance, if the two entities are of types AcGeCircArc3d and AcGeEllipArc3d then they are not considered equal even if the ellipse is completely coincident with the circle.

Also, two curves are not considered equal unless they have the same parameterization. For instance, two infinite coincident lines are not considered equal if they have different scaling in their parameterization.

Parameters

Parameters Description
ent Input any AcGeEntity3d object
tol Input tolerance to be used when determining equality

Links

AcGeEntity3d

Was this information helpful?