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