< Summary

Line coverage
100%
Covered lines: 25
Uncovered lines: 0
Coverable lines: 25
Total lines: 61
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%
get_MergingGroupNumber()100%11100%
get_FreeFormType()100%11100%
get_IsRationalForm()100%11100%
get_DegreeU()100%11100%
get_DegreeV()100%11100%
get_BasicMatrixU()100%11100%
get_BasicMatrixV()100%11100%
get_StepU()100%11100%
get_StepV()100%11100%
get_CurveApproximationTechnique()100%11100%
get_SurfaceApproximationTechnique()100%11100%
get_ParametersU()100%11100%
get_ParametersV()100%11100%
get_OuterTrimmingCurves()100%11100%
get_InnerTrimmingCurves()100%11100%
get_SequenceCurves()100%11100%
get_SpecialPoints()100%11100%

File(s)

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

#LineLine coverage
 1// <copyright file="ObjFreeFormElement.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
 8using System.Diagnostics.CodeAnalysis;
 9
 10namespace JeremyAnsel.Media.WavefrontObj
 11{
 12    public abstract class ObjFreeFormElement : ObjElement
 13    {
 46814        internal ObjFreeFormElement()
 15        {
 46816            this.ParametersU = new List<float>();
 46817            this.ParametersV = new List<float>();
 46818            this.OuterTrimmingCurves = new List<ObjCurveIndex>();
 46819            this.InnerTrimmingCurves = new List<ObjCurveIndex>();
 46820            this.SequenceCurves = new List<ObjCurveIndex>();
 46821            this.SpecialPoints = new List<int>();
 46822        }
 23
 49224        public int MergingGroupNumber { get; set; }
 25
 61526        public ObjFreeFormType FreeFormType { get; set; }
 27
 61228        public bool IsRationalForm { get; set; }
 29
 56430        public int DegreeU { get; set; }
 31
 66932        public int DegreeV { get; set; }
 33
 34        [SuppressMessage("Performance", "CA1819:Les propriétés ne doivent pas retourner de tableaux", Justification = "R
 66635        public float[]? BasicMatrixU { get; set; }
 36
 37        [SuppressMessage("Performance", "CA1819:Les propriétés ne doivent pas retourner de tableaux", Justification = "R
 66638        public float[]? BasicMatrixV { get; set; }
 39
 56440        public float StepU { get; set; }
 41
 66942        public float StepV { get; set; }
 43
 81044        public ObjApproximationTechnique? CurveApproximationTechnique { get; set; }
 45
 81646        public ObjApproximationTechnique? SurfaceApproximationTechnique { get; set; }
 47
 58848        public List<float> ParametersU { get; private set; }
 49
 58850        public List<float> ParametersV { get; private set; }
 51
 63352        public List<ObjCurveIndex> OuterTrimmingCurves { get; private set; }
 53
 63354        public List<ObjCurveIndex> InnerTrimmingCurves { get; private set; }
 55
 63356        public List<ObjCurveIndex> SequenceCurves { get; private set; }
 57
 60058        public List<int> SpecialPoints { get; private set; }
 59    }
 60}
 61