mirror of https://github.com/CGAL/cgal
29 lines
783 B
Lua
29 lines
783 B
Lua
----------------------------------------------------------------------
|
|
-- 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" },
|
|
{ label= "Segment" },
|
|
{ label= "Bisector" },
|
|
{ label= "Circle (center[prim. sel.], point through)" },
|
|
{ label= "Circumcenter" },
|
|
{ label="Help" },
|
|
}
|
|
|
|
----------------------------------------------------------------------
|