Click or drag to resize
AB4D logo

Line3DFactoryCreateHorizontalWireGrid(Point3D, Size, Int32, Int32, Double, Color, Viewport3D) Method

Creates a horizontally aligned grid defined by 3D lines.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateHorizontalWireGrid(
	Point3D centerPosition,
	Size size,
	int widthCellsCount,
	int heightCellsCount,
	double lineThickness,
	Color lineColor,
	Viewport3D parentViewport3D
)

Parameters

centerPosition  Point3D
grid center position
size  Size
size of the grid
widthCellsCount  Int32
number of cells in the width direction
heightCellsCount  Int32
number of cells in the height direction
lineThickness  Double
thickness of the used lines in screen coordinates
lineColor  Color
color of used lines
parentViewport3D  Viewport3D
parent Viewport3D

Return Value

GeometryModel3D
GeometryModel3D that defines the horizontally aligned grid
See Also