Click or drag to resize
AB4D logo

LatheMesh3D(Point3D, Point3D, LatheSection, Int32, Boolean, Boolean, Boolean) Constructor

Constructor

Namespace: Ab3d.Meshes
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public LatheMesh3D(
	Point3D startPosition,
	Point3D endPosition,
	LatheSection[] sections,
	int segments,
	bool isStartPositionClosed,
	bool isEndPositionClosed,
	bool generateTextureCoordinates
)

Parameters

startPosition  Point3D
Point3D that defined the start position of the 3D object (center of the circle defined by the first section)
endPosition  Point3D
Point3D that defined the end position of the 3D object (center of the circle defined by the last section)
sections  LatheSection
array of LatheSections that define the offsets and radiuses for the sections
segments  Int32
number of segments that define the circles used to create sections
isStartPositionClosed  Boolean
if true than first section is closed; if false than there is a whole at the start position
isEndPositionClosed  Boolean
if true than last section is closed
generateTextureCoordinates  Boolean
if true than texture coordinates are generated (created mesh is more complicated in this case)
See Also