MCPcopy Create free account
hub / github.com/ImageEngine/cortex / isEqualTo

Method isEqualTo

src/IECoreScene/PointsPrimitive.cpp:98–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98bool PointsPrimitive::isEqualTo( const Object *other ) const
99{
100 if( !Primitive::isEqualTo( other ) )
101 {
102 return false;
103 }
104 const PointsPrimitive *tOther = static_cast<const PointsPrimitive *>( other );
105 if( tOther->getNumPoints()!=getNumPoints() )
106 {
107 return false;
108 }
109 return true;
110}
111
112void PointsPrimitive::memoryUsage( Object::MemoryAccumulator &a ) const
113{

Callers

nothing calls this directly

Calls 1

getNumPointsMethod · 0.80

Tested by

no test coverage detected