Click or drag to resize
AB4D logo

ExtensionsGetPolygonPositions Method

Returns Point3DCollection with positions that define the polygon lines for this MeshGeometry3D (lines are not connected; each line is defined by two positions). Polygon lines are specified with using PolygonIndicesProperty DependencyProperty. If this DependencyProperty is not defined then null is returned. See remakes in PolygonIndicesProperty for more info.

Namespace: Ab3d
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static Point3DCollection GetPolygonPositions(
	this MeshGeometry3D meshGeometry3D,
	Transform3D parentTransform = null
)

Parameters

meshGeometry3D  MeshGeometry3D
MeshGeometry3D
parentTransform  Transform3D  (Optional)
Transform3D that can be added to each line position (null by default)

Return Value

Point3DCollection
Point3DCollection with positions that define the polygon lines or null if PolygonIndicesProperty is not specified

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MeshGeometry3D. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also