private void Init(double distance) { _distance = distance; _maxCurveSegmentError = distance * (1 - Math.Cos(_filletAngleQuantum / 2.0)); _vertexList = new OffsetCurveVertexList(); _vertexList.PrecisionModel = _precisionModel; /* * Choose the min vertex separation as a small fraction of the offset distance. */ _vertexList.MinimumVertexDistance = distance * CurveVertexSnapDistanceFactor; }