haplokuon / netDxf

.net dxf Reader-Writer
MIT License
981 stars 400 forks source link

Why Spline uses control points and fit points constructors are internal #395

Open sueastward opened 2 years ago

sueastward commented 2 years ago

https://github.com/haplokuon/netDxf/blob/7bff33a70f4e306652ab888827b36f3c5cf47ed7/netDxf/Entities/Spline.cs#L234 I derived the spline class and cannot initialize both the control points and the fitted points at the same time.

haplokuon commented 2 years ago

You cannot initialize a Spline with fit points and control points, they are mutually exclusive.