Click or drag to resize
AB4D logo

Line3DFactoryCreateEllipseLine3D(Point3D, Vector3D, Vector3D, Double, Double, Int32, Double, Color, Viewport3D) Method

Creates 3D lines that represent a 3D ellipse.

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateEllipseLine3D(
	Point3D centerPosition,
	Vector3D widthDirection,
	Vector3D heightDirection,
	double width,
	double height,
	int segments,
	double lineThickness,
	Color lineColor,
	Viewport3D parentViewport3D
)

Parameters

centerPosition  Point3D
center position of the ellipse
widthDirection  Vector3D
Vector3D that defines the direction of the width
heightDirection  Vector3D
Vector3D that defines the direction of the height
width  Double
width of the ellipse
height  Double
height of the ellipse
segments  Int32
the number of lines that are used to define the ellipse
lineThickness  Double
line thickness in screen coordinates
lineColor  Color
color of the lines
parentViewport3D  Viewport3D
parent Viewport3D

Return Value

GeometryModel3D
GeometryModel3D that defines the 3D ellipse
See Also