Click or drag to resize
AB4D logo

Line3DFactoryCreateLineArc3D(Point3D, Vector3D, Double, Vector3D, Double, Double, Int32, Double, Color, LineCap, LineCap, Viewport3D) Method

Creates 3D lines that represent a 3D Arc (part of the circle).

Namespace: Ab3d.Models
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static GeometryModel3D CreateLineArc3D(
	Point3D circleCenterPosition,
	Vector3D circleNormal,
	double radius,
	Vector3D zeroAngleDirection,
	double startAngle,
	double endAngle,
	int segments,
	double lineThickness,
	Color lineColor,
	LineCap startLineCap,
	LineCap endLineCap,
	Viewport3D parentViewport3D
)

Parameters

circleCenterPosition  Point3D
center position of the circle that defined the arc
circleNormal  Vector3D
the normal vector of the circle that defined the arc (the vector that is perpendicular to the circle)
radius  Double
the radius of the circle that defines the arc
zeroAngleDirection  Vector3D
the Vector3D that is pointing from center position to the position on the circle where the arc's angle is zero
startAngle  Double
the angle in degrees where the arc begins
endAngle  Double
the angle in degrees where the arc ends
segments  Int32
the number of lines that are used to define the arc
lineThickness  Double
line thickness in screen coordinates
lineColor  Color
color of the lines
startLineCap  LineCap
LineCap that is used for start position of each line
endLineCap  LineCap
LineCap that is used for end position of each line
parentViewport3D  Viewport3D
parent Viewport3D

Return Value

GeometryModel3D
GeometryModel3D that defines the 3D arc
See Also