Message 1 of 2
about the CalculateStrokes method of surfacebody

Not applicable
06-17-2003
10:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, everybody. How to use the CalculateStrokes method of surfacebody. I don't know how to use the SegmentCount parameter and the VertexIndices parameter of the method. In API help it is said the SegmentCount parameter is the number of segments. But its value is equal to vertexcount parameter's value. I can't understand this, because I think the SegmentCount need to be half of the number of vertexcount(I think the vertexcount is the count of segments' endpoints). So could you tell me why the value of SegmentCount parameter is equal to vertexcount parameter's value? In API help it is said that the VertexIndices are used to index into the vertex coordinates array. I think in VertexIndices the even number element is the start point and the odd number element is the end point. So I used the method as following example, and the result entity is wrong. Could you tell me the meaning of the VertexIndices?