CompoundStructure.GetAdjacentRegions
Description:
Gets the ids of region bound to a specified segment.
Gets the ids of region bound to a specified segment.
Remarks:
The boundaries of the regions of a vertically compound structure consist of vertical horizontal segments with unique ids. The segments which define the outer boundary of the structure are adjacent to one region, other segments will be adjacent to two regions.
The boundaries of the regions of a vertically compound structure consist of vertical horizontal segments with unique ids. The segments which define the outer boundary of the structure are adjacent to one region, other segments will be adjacent to two regions.
public IList<int> GetAdjacentRegions(
int segmentId
)
-
Int32segmentIdThe id of a segment in this CompoundStructure.
Return Value
IList<Int32>
The ids of the regions that are bounded by the specified segment.
-
The segment id is invalid.
-
This operation is valid only for vertically compound structures.