
v4.2
Vertex が境界であるか(true)ないか(false)を示す Boolean 値を戻します。
// get accessor Boolean rtn = Vertex.IsBoundary; |
NewScene ,false CreatePrim "Grid", "MeshSurface" SetSelFilter "Vertex" SelectGeometryComponents "grid.pnt[0,40]" logmessage "is point #0 a boundary ? " _ & selection(0).SubComponent.ComponentCollection(0).IsBoundary logmessage "is point #40 a boundary ? " _ & selection(0).SubComponent.ComponentCollection(1).IsBoundary ' Expected result: 'INFO : is point #0 a boundary ? True 'INFO : is point #40 a boundary ? False |
NewScene( null, false );
CreatePrim("Grid", "MeshSurface", null, null);
SetSelFilter( "Vertex" );
SelectGeometryComponents( "grid.pnt[0,40]" );
logmessage( "is point #0 a boundary ? "
+ selection(0).SubComponent.ComponentCollection(0).IsBoundary );
logmessage( "is point #40 a boundary ? "
+ selection(0).SubComponent.ComponentCollection(1).IsBoundary );
// Expected result:
//INFO : is point #0 a boundary ? true
//INFO : is point #40 a boundary ? false |