Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LN_BsplineSurface data structure #27

@jiayu2019

Description

@jiayu2019

LN_BsplineSurface:

It is better to use one-dimensional vector to hold the control points instead of nested vectors, for better performance.
It accelerates the memory access and reduces the possibility of CPU cache miss.

The expected layout:

$$\{u_0v_0, u_0v_1... u_0v_{n-1}, u_1v_0, u_1v_1... u_1v_{n-1}...u_{m-1}v_0, u_{m-1}v_1... u_{m-1}v_{n-1}\}$$

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestopen to anyoneAnyone is encouraged to take the assignment

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions