< Summary

Line coverage
100%
Covered lines: 8
Uncovered lines: 0
Coverable lines: 8
Total lines: 28
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.ctor()100%11100%
.ctor(...)100%11100%
get_MaximumDistance()100%11100%
get_MaximumAngle()100%11100%

File(s)

https://raw.githubusercontent.com/JeremyAnsel/JeremyAnsel.Media.WavefrontObj/dbbfcd213b7c54f49194f82fcd56e790cca193c3/JeremyAnsel.Media.WavefrontObj/JeremyAnsel.Media.WavefrontObj/ObjCurvatureDependentSubdivisionTechnique.cs

#LineLine coverage
 1// <copyright file="ObjCurvatureDependentSubdivisionTechnique.cs" company="Jérémy Ansel">
 2// Copyright (c) 2017, 2019 Jérémy Ansel
 3// </copyright>
 4// <license>
 5// Licensed under the MIT license. See LICENSE.txt
 6// </license>
 7
 8namespace JeremyAnsel.Media.WavefrontObj
 9{
 10    [System.Diagnostics.DebuggerDisplay("ObjCurvatureDependentSubdivisionTechnique MaxDist:{MaximumDistance} MaxAngle:{M
 11    public class ObjCurvatureDependentSubdivisionTechnique : ObjApproximationTechnique
 12    {
 313        public ObjCurvatureDependentSubdivisionTechnique()
 14        {
 315        }
 16
 1517        public ObjCurvatureDependentSubdivisionTechnique(float distance, float angle)
 18        {
 1519            this.MaximumDistance = distance;
 1520            this.MaximumAngle = angle;
 1521        }
 22
 3623        public float MaximumDistance { get; set; }
 24
 3625        public float MaximumAngle { get; set; }
 26    }
 27}
 28