Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImageEngine/cortex
/ numCurves
Method
numCurves
src/IECoreScene/CurvesPrimitive.cpp:171–174 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
169
}
170
171
size_t CurvesPrimitive::numCurves() const
172
{
173
return m_vertsPerCurve->readable().size();
174
}
175
176
const IntVectorData *CurvesPrimitive::verticesPerCurve() const
177
{
Callers
15
testConstructors
Method · 0.95
testSetTopology
Method · 0.95
testCanSegmentUsingIntegerPrimvar
Method · 0.80
testCanSegmentUsingStringPrimvar
Method · 0.80
testSegmentSubset
Method · 0.80
testSegmentsFullyIfNoSegmentValuesGiven
Method · 0.80
testSegmentUsingIndexedPrimitiveVariable
Method · 0.80
testAllZeroArrayDoesNotDeleteCurves
Method · 0.80
testAllZeroArrayDeletesAllCurvesIfInverted
Method · 0.80
testBoolFalseArrayDoesNotDeleteCurves
Method · 0.80
testBoolFalseArrayDeletesCurvesAllCurvesIfInverted
Method · 0.80
testFloatZeroArrayDoesNotDeleteCurves
Method · 0.80
Calls
2
readable
Method · 0.80
size
Method · 0.45
Tested by
15
testConstructors
Method · 0.76
testSetTopology
Method · 0.76
testCanSegmentUsingIntegerPrimvar
Method · 0.64
testCanSegmentUsingStringPrimvar
Method · 0.64
testSegmentSubset
Method · 0.64
testSegmentsFullyIfNoSegmentValuesGiven
Method · 0.64
testSegmentUsingIndexedPrimitiveVariable
Method · 0.64
testAllZeroArrayDoesNotDeleteCurves
Method · 0.64
testAllZeroArrayDeletesAllCurvesIfInverted
Method · 0.64
testBoolFalseArrayDoesNotDeleteCurves
Method · 0.64
testBoolFalseArrayDeletesCurvesAllCurvesIfInverted
Method · 0.64
testFloatZeroArrayDoesNotDeleteCurves
Method · 0.64