FISH Functions

The type specifiers used in the FISH function signatures are given in the FISH Type Index section.

Geometry Set Utilities

geom.set.create(STR) Creates a new geometry set with the provided name.
geom.set.find(INT/STR) Find a geometry set.
geom.set.list Get the global geometry set list.
geom.set.maxid Get the maximum geometry set ID.
geom.set.num Get the number of geometry sets.
geom.set.typeid Get the geometry set type number.

Geometry Set Intrinsics

geom.set.closest(GSET_PNT,VEC<,FLT>) Get closest node coordinate vector from the position supplied .
geom.set.create(STR<,INT>) Create a geometry set.
geom.set.delete(GSET_PNT) Delete a geometry set.
geom.set.edge.maxid(GSET_PNT) Get the maximum edge ID.
geom.set.edge.num(GSET_PNT) Get the number of edges.
geom.set.id(GSET_PNT) Get the geometry set ID.
geom.set.name(GSET_PNT) Get the geometry set name.
geom.set.node.maxid(GSET_PNT) Get the maximum node ID.
geom.set.node.num(GSET_PNT) Get/set the number of nodes.
geom.set.poly.maxid(GSET_PNT) Get the maximum polygon ID.
geom.set.poly.num(GSET_PNT) Get the number of polygons.
geom.set.remove(GSET_PNT) Delete a geometry set.

Geometry Polygon Utilities

geom.poly.find(GSET_PNT,INT) Find a polygon.
geom.poly.list(GSET_PNT) Get the polygon list of a geometry set.
geom.poly.near(GSET_PNT,VEC<,FLT>) Find the closest polygon to a point.
geom.poly.typeid Get the polygon type number.

Geometry Polygon Intrinsics

geom.poly.add.edge(GPOL_PNT,GE_PNT) Add an edge to a polygon.
geom.poly.add.node(GSET_PNT,GPOL_PNT<,GN_PNT><,VEC><,INT>) Add an edge via a node addition.
geom.poly.area(GPOL_PNT) Get the polygon area.
geom.poly.check(GPOL_PNT) Get the validity status.
geom.poly.close(GSET_PNT,GPOL_PNT) Close a polygon.
geom.poly.create(GSET_PNT) Create a polygon.
geom.poly.delete(GSET_PNT,GPOL_PNT) Delete a polygon.
geom.poly.edge(GPOL_PNT,INT) Get a polygon edge.
geom.poly.extra(GPOL_PNT,INT) Get/set polygon extra variable.
geom.poly.group(GPOL_PNT<,STR>) Get/set polygon groups.
geom.poly.group.remove(GPOL_PNT,STR) Remove polygon groups.
geom.poly.id(GPOL_PNT) Get the polygon ID.
geom.poly.isgroup(GPOL_PNT,STR<,STR>) Query the existence of a group.
geom.poly.next.index(GPOL_PNT,INT) Get the index of the next edge of a polygon.
geom.poly.next.poly(GPOL_PNT,INT) Get the next polygon connected to an edge.
geom.poly.node(GPOL_PNT,INT) Get a node.
geom.poly.normal(GPOL_PNT<,INT>) Get the polygon normal.
geom.poly.pos(GPOL_PNT<,INT>) Get the polygon position.
geom.poly.remove(GSET_PNT,GPOL_PNT) Delete a polygon.
geom.poly.size(GPOL_PNT) Get the number of edges.

Geometry Edge Utilities

geom.edge.find(GSET_PNT,INT) Find an edge.
geom.edge.list(GSET_PNT) Get the edge list of a geometry set.
geom.edge.near(GSET_PNT,VEC<,FLT>) Find the closest edge to a point.
geom.edge.typeid Get the edge type number.

Geometry Edge Intrinsics

geom.edge.create(GSET_PNT,INT/GN_PNT,INT/GN_PNT) Create an edge.
geom.edge.delete(GSET_PNT,GE_PNT) Delete an edge.
geom.edge.dir(GE_PNT<,INT>) Get the edge direction.
geom.edge.extra(GE_PNT,INT) Get/set edge extra variable.
geom.edge.group(GE_PNT<,STR>) Get/set edge groups.
geom.edge.group.remove(GE_PNT,STR) Remove edge groups.
geom.edge.id(GE_PNT) Get the edge ID.
geom.edge.isgroup(GE_PNT,STR<,STR>) Query the existence of a group.
geom.edge.next.edge(GE_PNT,INT) Get the edge connected to a node.
geom.edge.next.index(GE_PNT,INT) Get the edge index connected to a node.
geom.edge.node(GE_PNT,INT) Get an edge node.
geom.edge.node.pos(GE_PNT,INT<,INT>) Get/set the node position.
geom.edge.pos(GE_PNT<,INT>) Get the edge position.
geom.edge.remove(GSET_PNT,GE_PNT) Delete an edge.
geom.edge.start.index(GE_PNT) Index of the first polygon attached to an edge.
geom.edge.start.poly(GE_PNT) Get the first polygon attached to an edge.

Geometry Node Utilities

geom.node.find(GSET_PNT,INT) Find a node.
geom.node.list(GSET_PNT) Get the node list of a geometry set.
geom.node.near(GSET_PNT,VEC<,FLT>) Find the closest node to a point.
geom.node.typeid Get the node type number.

Geometry Node Intrinsics

geom.node.create(GSET_PNT,VEC) Create a node.
geom.node.delete(GSET_PNT,GN_PNT) Delete a node.
geom.node.extra(GN_PNT,INT) Get/set node extra variable.
geom.node.group(GN_PNT<,STR>) Get/set node groups.
geom.node.group.remove(GN_PNT,STR) Remove node groups.
geom.node.id(GN_PNT) Get the node ID.
geom.node.isgroup(GN_PNT,STR<,STR>) Query the existence of a group.
geom.node.pos(GN_PNT<,INT>) Get/set the node position.
geom.node.remove(GSET_PNT,GN_PNT) Delete a node.
geom.node.start.edge(GN_PNT) Get the first edge connected to a node.
geom.node.start.index(GN_PNT) Index of the first edge connected to a node.