Click or drag to resize
AB4D logo

Model3DFactoryCreateTrapezoid(Point3D, Size, Point3D, Size, Material) Method

Creates an upright 3D Trapezoid model.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateTrapezoid(
	Point3D bottomCenterPosition,
	Size bottomSize,
	Point3D topCenterPosition,
	Size topSize,
	Material material
)

Parameters

bottomCenterPosition  Point3D
center position of the bottom rectangle
bottomSize  Size
2D size of the bottom rectangle
topCenterPosition  Point3D
center position of the top rectangle
topSize  Size
2D size of the top rectangle
material  Material
material

Return Value

GeometryModel3D
3D Trapezoid model as GeometryModel3D
See Also