mirror of https://github.com/CGAL/cgal
forgot lua file
This commit is contained in:
parent
15d7a5e8b8
commit
1d7f69dfb7
|
|
@ -0,0 +1,28 @@
|
|||
----------------------------------------------------------------------
|
||||
-- CGAL hyperbolic geometry ipelet description
|
||||
----------------------------------------------------------------------
|
||||
|
||||
label = "Hyperbolic"
|
||||
|
||||
about = [[
|
||||
This ipelet is part of the CGAL_ipelet package. See www.cgal.org.
|
||||
]]
|
||||
|
||||
-- this variable will store the C++ ipelet when it has been loaded
|
||||
ipelet = false
|
||||
|
||||
function run(model, num)
|
||||
if not ipelet then ipelet = assert(ipe.Ipelet(dllname)) end
|
||||
model:runIpelet(methods[num].label, ipelet, num)
|
||||
end
|
||||
|
||||
methods = {
|
||||
{ label= "Line through two points" },
|
||||
{ label= "Segment through two points" },
|
||||
{ label= "Bisector of two points" },
|
||||
{ label= "Circle by center(prim. sel.) and point" },
|
||||
{ label= "Circle center" },
|
||||
{ label="Help" },
|
||||
}
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Loading…
Reference in New Issue