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

Function primitiveCylinder

source/MRMesh/MRFeatures.cpp:141–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141Primitives::ConeSegment primitiveCylinder( const Vector3f& a, const Vector3f& b, float rad )
142{
143 auto ret = primitiveCone( a, b, rad );
144 ret.positiveSideRadius = ret.negativeSideRadius;
145 return ret;
146}
147
148Primitives::ConeSegment primitiveCone( const Vector3f& a, const Vector3f& b, float rad )
149{

Callers 1

TESTFunction · 0.85

Calls 1

primitiveConeFunction · 0.85

Tested by 1

TESTFunction · 0.68