Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A C++ NURBS Algorithms Open Source Library, match the NURBS Book

License

NotificationsYou must be signed in to change notification settings

BIMCoderLiang/LNLib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LNLib is a C++ NURBS Algorithms Library.
These algorithms are primary referenced fromThe NURBS Book 2nd Edition.
The APIs are re-designed to make it more friendly to users.

Run LNLib

Please run build.bat first to construct C++ solution by CMake.

Features

Basic Elements:

  • UV
  • XYZ
  • XYZW
  • Matrix4d
  • LNObject

Algorithms inThe Nurbs Book:

ChapterContent
Chapter 1Basis Function Computation
Chapter 1 to 4Bezier/B-Spline/NURBS Curve and Surface
Chapter 5Curve and Surface Decomposition
Knot Insertion/Refinement/Removal
Degree Elevation and Reduction
Chapter 6Curve/Surface Point Inversion
Surface Tangent Vector Inversion
Curve/Surface Reparameterization
Curve Transform and Reverse
Surface Swap and Reverse
Chapter 7Create Arc/Conic Curve
Chapter 8Create Bilinear/Cylindrical/Ruled/Revolved/CornerFillet Surface
Chapter 9Global/Local Curve/Surface Interpolation and Approximation
Chapter 10Create Swung/Loft/Sweep/Gordon/Coons Surface
Chapter 11Curve Modification in Control Point Locations or Weight Values
Chapter 12Curve Clamp/UnClamp/IsClamp
KnotVector IsUniform
Curve IsClosed/IsPeriodic

Additional Algorithms:

DescriptionContent
Basic PropertiesCurve/Surface Curvature and Normal
Curve Split/Segment/Merge/Offset
Curve IsLinear/IsArc
Curve Approximate Length
Surface Approximate Area
Curve CreationCreate Line/Cubic Hermite
TessellationCurve Tessellation
Surface Triangulation

Visualization

LNLibViewer based onVTK

Contributing

Welcome join this project including discussions inIssues and makePull requests.

Author

LNLib is created by Yuqing Liang (BIMCoder Liang).

License

The source code is published underGNU General Public License v3.0, the license is availablehere.

Primary Reference

The NURBS Book 2nd Edition byLes Piegl & Wayne Tiller

About

A C++ NURBS Algorithms Open Source Library, match the NURBS Book

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp