Topology Methods

The following methods allow the application programmer to manipulate topological items.

Many of the methods use a Named Seed. Named Seeds are transient TopoPolygon or TopoLineString items which can be used to perform detailed querying of existing TopoPolygon or TopoLineString items, or to create new TopoPolygon or TopoLineString items. Named Seeds are referenced by an application/customisation supplied textual name, in the same way as Named Lists. Named Seeds are not visible on screen, and are not saved in the dataset they belong to. They can however be copies of visible, saved TopoPolygon or TopoLineString items.


CreateIsoRoute  
Creates a MultiLineString item, or LineString item, by following a route in all directions.
IsoRoute  
Finds Link and Node items that can be reached from a position, within a given cost.
MeasureRoute  
Measures the best route between two positions.
MultiRoute  
Measure routes between items in named list.
TopoClean  
Cleans up topological Link items.
TopoCombineNamedSeeds  
Creates a Named Seed object by doing a Boolean operation on existing Named Seed objects.
TopoConvertToArea  
Converts the current open TopoPolygon item into a Polygon item.
TopoConvertToChain  
Converts the current open LineString item into a TopoLineString item.
TopoConvertToLine  
Converts the current open TopoLineString item into a LineString item.
TopoConvertToPolygon  
Converts the current open Polygon item into a topological TopoPolygon item.
TopoCreateArea  
Creates a Polygon item from the current open TopoPolygon item.
TopoCreateBoolean  
Creates a Named Seed object by doing a Boolean operation on existing TopoPolygon items.
TopoCreateChain  
Creates a TopoLineString item from a Named Seed object.
TopoCreateEmptyNamedSeed  
Creates a new, empty transient Named Seed object.
TopoCreateLine  
Creates a LineString item from the current open TopoLineString item.
TopoCreateLink  
Creates a topological Link item, copying the geometry from the current open LineString item.
TopoCreateNamedSeed  
Creates a transient Named Seed object from the current open seed item.
TopoCreateNode  
Creates a Node item, merging it in to any existing topology.
TopoCreatePoint  
Creates a Point item, merging it with any existing topology.
TopoCreatePolygon  Creates a TopoPolygon item from a Named Seed object.
TopoDeleteLink Deletes the current open Link item.
TopoDeleteNamedSeed  
Deletes a transient Named Seed object.
TopoDeleteNode  
Deletes or simplifies the current open Node item.
TopoDeletePoint Deletes or simplifies the current open Point item.
TopoDeleteSeed  
Deletes the current open TopoLineString or TopoPolygon item.
TopoEdgeFill  
Creates a Named Seed object by following the current open Link item to make a closed loop.
TopoFindRoute  
Creates a Named Seed object by route-finding between two Node items within a dataset.
TopoFloodFill  
Creates a Named Seed object by flood-filling Links within a dataset.
TopoGetLinkNode  
Gets the id of a Node item from the current open Link item.
TopoGetLinkNumSeed  
Gets the number of Seed items attached to the current open Link item.
TopoGetLinkSeed  
Gets the signed id of a TopoPolygon or TopoLineString item from the current open Link item.
TopoGetNamedSeedDataset  
Gets the dataset with which a Named Seed is compatible.
TopoGetNamedSeedLoopLink  
Gets the id of a Link item from a Named Seed object.
TopoGetNamedSeedLoopSize  
Gets the number of Links referred to by a loop in a Named Seed object.
TopoGetNamedSeedNumLoop  
Gets the number of loops in a Named Seed object.
TopoGetNodeLink  
Gets the signed id of a Link item from the current open Node item.
TopoGetNodeNumLink  
Gets the number of Link items attached to the current open Node item.
TopoGrowNamedSeed  
Adds a Link id into a Named Seed object.
TopoIsChain  
Tests if a Named Seed object is a TopoLineString.
TopoIsPolygon  
Tests if a Named Seed object is a TopoPolygon.
TopoMoveNode  
Moves the current open Node item, dragging any connected Link items.
TopoPolygonsFromLinks  
Creates TopoPolygon items from a set of links
TopoReverseSeed  
Reverses the current open TopoLineString or TopoPolygon item
TopoSetChainSeedPt  
Sets the seed point of a TopoLineString item.
TopoSetLinkPt  
Sets the position of a vertex in the current open Link item.
TopoSetPolygonSeedPt  
Sets the seed point of a TopoPolygon item.
TopoShrinkNamedSeed  
Removes a Link item from a Named Seed object.

Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).