MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / primitiveCircle

Function primitiveCircle

source/MRMesh/MRFeatures.cpp:131–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131Primitives::ConeSegment primitiveCircle( const Vector3f& point, const Vector3f& normal, float rad )
132{
133 return {
134 .referencePoint = point,
135 .dir = normal.normalized(),
136 .positiveSideRadius = rad,
137 .negativeSideRadius = rad,
138 };
139}
140
141Primitives::ConeSegment primitiveCylinder( const Vector3f& a, const Vector3f& b, float rad )
142{

Callers 2

TESTFunction · 0.85
measureMethod · 0.85

Calls 1

normalizedMethod · 0.45

Tested by 1

TESTFunction · 0.68