Vertex.IsBoundary
 
 
 

Vertex.IsBoundary operator

Introduced

v4.2

Description

Returns a Boolean value indicating whether the Vertex is a boundary (true) or not.

C# Syntax

// get accessor
Boolean rtn = Vertex.IsBoundary;

Examples

1. VBScript Example

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

2. JScript Example

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