CircleGetVertices Method

Return a list of vertices for a circle of the specified size centered at the provided location.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public static List<FPoint> GetVertices(
	FPoint center,
	float radius,
	int vertexCount,
	float thetaOffset = 0f
)

Parameters

center  FPoint
Reference to the point at which the circle is centered.
radius  Single
Radius of the circle.
vertexCount  Int32
Count of vertices to return.
thetaOffset  Single  (Optional)
The optional rotation of the shape, in radians.

Return Value

ListFPoint
Reference to a list of evenly-spaced vertices around the edge of the indicated circle, if valid. Otherwise, an empty list.

See Also