Here is a quick itemization of necessary changes (most from Sergey and
a few additional). Following the list is a modified section of the IDL
that can be used to replace the corresponding lines in the existing
CadMain.idl file. *** NOTE: Also need to add 'typedef sequence<LongSeq> LongSeqSeq;'
to CadUtility.idl.
index_faces:
Needs 'SeqSeq' of oriented_eloops instead of 'Seq'
For consistency, arg should probably be 'oriented_edge_loops' instead of 'oriented_eloops'
Does not need eloops, edges.
index_edge_loops:
Needs 'SeqSeq' oriented_edges instead of 'Seq'
index_shells:
Needs 'SeqSeq' oriented_faces instead of 'Seq'
index_bodies:
Needs 'SeqSeq' oriented_shells instead of 'Seq'
index_vertex_loops:
Ok (just included in IDL below for easier replacement of old IDL section)
index_oriented_edges
Need 'BooleanSeq senses'
index_oriented_faces
Need 'BooleanSeq senses'
No vertices or vLoops needed
index_oriented_edge_loops
For consistency, should probably be 'index_oriented_edge_loops' not 'index_oriented_edgeloops'
Need 'Seq edge_loops' not 'Seq edges'
Need 'BooleanSeq senses'
index_oriented_shells:
Need 'Seq shells' not 'Seq ofaces'
Need 'BooleanSeq senses'
No vloops needed
CadUtility::LongSeq index_faces(in CadUtility::LongSeqSeq oriented_edge_loops,
in CadUtility::LongSeq vertex_loops, in CadUtility::LongSeq surfaces)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_edge_loops(in CadUtility::LongSeqSeq oriented_edges)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_shells (in CadUtility::LongSeqSeq oriented_faces)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_bodies (in CadUtility::LongSeqSeq oriented_shells)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_vertex_loops (in CadUtility::LongSeq vertices)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_oriented_edges(in CadUtility::LongSeq edges,
in CadUtility::BooleanSeq senses)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_oriented_faces(in CadUtility::LongSeq faces,
in CadUtility::BooleanSeq senses)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_oriented_edge_loops(in CadUtility::LongSeq edge_loops,
in CadUtility::BooleanSeq senses)
raises (IncorrectIndex, CadUtility::CadError);
CadUtility::LongSeq index_oriented_shells(in CadUtility::LongSeq shells,
in CadUtility::BooleanSeq senses)
raises (IncorrectIndex, CadUtility::CadError);