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

Method extendToInfinity

source/MRMesh/MRFeatures.cpp:58–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58Primitives::ConeSegment Primitives::ConeSegment::extendToInfinity( bool negative ) const
59{
60 ConeSegment ret = *this;
61 if ( negative )
62 {
63 ret.negativeSideRadius = ret.positiveSideRadius;
64 ret.negativeLength = INFINITY;
65 }
66 else
67 {
68 ret.positiveSideRadius = ret.negativeSideRadius;
69 ret.positiveLength = INFINITY;
70 }
71 return ret;
72}
73
74Primitives::ConeSegment Primitives::ConeSegment::extendToInfinity() const
75{

Callers 1

forEachSubfeatureFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected