Click or drag to resize
AB4D logo

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

Creates an upright 3D Trapezoid model.

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

Parameters

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

Return Value

GeometryModel3D
3D Trapezoid model as GeometryModel3D
See Also