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

Method copyFrom

src/IECoreScene/PointsPrimitive.cpp:74–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void PointsPrimitive::copyFrom( const Object *other, IECore::Object::CopyContext *context )
75{
76 Primitive::copyFrom( other, context );
77 const PointsPrimitive *tOther = static_cast<const PointsPrimitive *>( other );
78 m_numPoints = tOther->getNumPoints();
79}
80
81void PointsPrimitive::save( IECore::Object::SaveContext *context ) const
82{

Callers

nothing calls this directly

Calls 1

getNumPointsMethod · 0.80

Tested by

no test coverage detected