Geometry0D

Object Hierarchy

Introduced

v1.0

Description

This object is obsolete and has been replaced by the Point object. The 0D geometry (points) of a 3D object. You access the 0D geometry from the Geometry_V1.

Methods

AverageLocalReferenceFrame AverageNormal AveragePosition LocalReferenceFrame
Normal Position    
       

Properties

Neighborhood0D Neighborhood1D Neighborhood2D Neighbors0D
Neighbors1D Neighbors2D Type  
       

Examples

VBScript Example

' this example illustrates how to access the points of the grid polygon mesh.
set oRoot = ActiveProject.ActiveScene.Root
set oGrid = oRoot.AddGeometry( "Grid", "MeshSurface")
set oGeometryV1 = oGrid.ActivePrimitive.Obj
set oGeometry0D = oGeometryV1.Geometry0D
set oCompPos  = XSIMath.CreateVector3()
' for each 0D Component
for iCompIdx = 0 to oGeometryV1.Nb0D - 1
	oGeometry0D.Position iCompIdx, oCompPos  
	LogMessage oCompPos.x & ", " & oCompPos.y & ", " & oCompPos.z 
next

See Also

Geometry_V1 Geometry1D Geometry2D