Click or drag to resize
AB4D logo

MeshUtilsGetPolygonPositions(Model3D, Transform3D) Method

Returns Point3DCollection with positions that define the edge lines for specified model3D (lines are not connected; each line is defined by two positions). Edge lines are specified with using PolygonIndicesProperty DependencyProperty on child MeshGeometry3D objects. See remarks in PolygonIndicesProperty for more info.

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

Parameters

model3D  Model3D
Model3DGroup or GeometryModel3D
parentTransform  Transform3D  (Optional)
Transform3D that can be added to each line position (null by default)

Return Value

Point3DCollection
Point3DCollection with positions that define the edge lines or null if PolygonIndicesProperty is not specified
See Also