CompoundStructure.GetSegmentCoordinate
Description:
Gets the coordinate of a segment.
Gets the coordinate of a segment.
Remarks:
The boundaries of the regions of a vertically compound structure consist of vertical horizontal segments. If the segment orientation is horizontal, then its coordinate will lie in the range [0.0, SampleHeight]. If the segment orientation is vertical, then its coordinate will lie in the range of u values obtained from GetRegionEnvelope(Int32).
The boundaries of the regions of a vertically compound structure consist of vertical horizontal segments. If the segment orientation is horizontal, then its coordinate will lie in the range [0.0, SampleHeight]. If the segment orientation is vertical, then its coordinate will lie in the range of u values obtained from GetRegionEnvelope(Int32).
public double GetSegmentCoordinate(
int segmentId
)
-
Int32segmentIdThe id of a segment in this CompoundStructure.
Return Value
Double
The local coordinates of the specified segment.
-
The segment id is invalid.
-
This operation is valid only for vertically compound structures.