Click or drag to resize
AB4D logo

TrapezoidMesh3D(Point3D, Size, Point3D, Size, Vector3D, Vector3D) Constructor

Constructor

Namespace: Ab3d.Meshes
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public TrapezoidMesh3D(
	Point3D bottomCenterPosition,
	Size bottomSize,
	Point3D topCenterPosition,
	Size topSize,
	Vector3D sizeWidthVector3D,
	Vector3D sizeHeightVector3D
)

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
sizeWidthVector3D  Vector3D
Vector3D that defines the direction of the width in the bottomSize and topSize. With upright trapezoid this value is (1, 0, 0) - x axis
sizeHeightVector3D  Vector3D
Vector3D that defines the direction of the height in the bottomSize and topSize. With upright trapezoid this value is (0, 0, 1) - z axis
See Also