Changeset 176aa3e in tol for tol_pkg/GraphTools


Ignore:
Timestamp:
Nov 9, 2009, 10:28:06 AM (17 years ago)
Author:
Víctor de Buen <vdebuen@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
ea1b10f
Parents:
71426bc
Message:

New methods get.vertex.feature.index and get.edge.feature.index

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@1654 be4846ae-f051-483a-831f-b64e7d08527f

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tol_pkg/GraphTools/_GraphTools.tol

    r71426bc r176aa3e  
    315315
    316316  ////////////////////////////////////////////////////////////////////////////
     317  Text _.autodoc.member.get.vertex.feature.index = "Returns the index of an "
     318  "vertex feature or 0 if it not exists";
     319  Real get.vertex.feature.index(Text name)
     320  ////////////////////////////////////////////////////////////////////////////
     321  {
     322    FindIndexByName(_.vertex::_.feature, name )
     323  };
     324
     325  ////////////////////////////////////////////////////////////////////////////
    317326  Text _.autodoc.member.get.vertex.features = "Returns all the features for "
    318327  "an vertex";
    … …  
    357366
    358367  ////////////////////////////////////////////////////////////////////////////
     368  Text _.autodoc.member.get.edge.feature.index = "Returns the index of an "
     369  "edge feature or 0 if it not exists";
     370  Real get.edge.feature.index(Text name)
     371  ////////////////////////////////////////////////////////////////////////////
     372  {
     373    FindIndexByName(_.edge::_.feature, name )
     374  };
     375
     376  ////////////////////////////////////////////////////////////////////////////
    359377  Text _.autodoc.member.get.edge.features = "Returns all the features for "
    360378  "an edge";
Note: See TracChangeset for help on using the changeset viewer.