public TargetBufferOptions(double bufferDistance, double bufferMinimumSegmentLength, [CanBeNull] IZSettingsModel zSettingsModel = null) { BufferDistance = bufferDistance; BufferMinimumSegmentLength = bufferMinimumSegmentLength; ZSettingsModel = zSettingsModel; }
public TargetBufferOptions([NotNull] IReshapeAlongOptions reshapeAlongOptions, [CanBeNull] IZSettingsModel zSettingsModel = null) : this( reshapeAlongOptions.BufferTarget ? reshapeAlongOptions.TargetBufferDistance : 0, reshapeAlongOptions.EnforceMinimumBufferSegmentLength ? reshapeAlongOptions.MinimumBufferSegmentLength : -1, zSettingsModel) { }