igeo.gui
Class ISurfaceMesh
java.lang.Object
igeo.gui.ISurfaceMesh
public class ISurfaceMesh
- extends java.lang.Object
Class to generate drawable polygon mesh of NURBS surface with or without trim curves.
This class is used by ISurfaceGraphicFillGL.
- Author:
- Satoru Sugihara
- See Also:
ISurfaceGraphicFillGL
,
ISubsurfaceMesh
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISurfaceMesh
public ISurfaceMesh()
getTriangles
public static IVec2[][] getTriangles(IVec2[][] surfPts,
IVec2[][] outerLoops,
IVec2[][] innerLoops)
getTriangles
public static IVec2[][] getTriangles(IVec2[] surfPts,
IVec2[][] outerLoops,
IVec2[][] innerLoops)
insertPoint
public static IVec2[] insertPoint(IVec2[] pts,
int i,
IVec2 pt)
getCenter
public static IVec2 getCenter(IVec2[] triangle)