The weights of the control points (Wc) are optional.
Generate the NURBS volume with resolutions of 20, 20, 20
Find the nearest point on the volume to a given point Find the nearest point on the volume to a given point The optimization method is used to find the nearest point The optimization method is based on the Newton-Raphson method Finalize the NURBS volume object
Type | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|
real(kind=rk) | :: | Wc(8) |
Weights of the control points |
|||
real(kind=rk) | :: | Xc(8,3) |
Control points |
|||
integer | :: | id |
id of the nearest point |
|||
real(kind=rk), | allocatable | :: | nearest_Xg(:) |
Coordinates of the nearest point on the volume |
||
real(kind=rk), | allocatable | :: | nearest_Xt(:) |
Corresponding parametric coordinates of the nearest point |
||
type(nurbs_volume) | :: | shape |
Declare a NURBS volume object |