ArcData#

class ansys.edb.core.geometry.arc_data.ArcData(start, end, **kwargs)#

Represents arc data.

Methods

ArcData.angle([arc])

Get the angle between this arc and another arc if provided or the angle of this arc.

ArcData.closest_points(other)

Get the closest points from this arc to another arc, and vice versa.

ArcData.is_big()

Determine if the arc is big.

ArcData.is_ccw()

Determine if the arc rotates counter-clockwise.

ArcData.is_cw()

Determine if the arc rotates clockwise.

ArcData.is_left()

Determine if the arc rotates clockwise.

ArcData.is_point([tolerance])

Determine if the arc is a point.

ArcData.is_segment([tolerance])

Determine if the arc is a straight line segment.

ArcData.tangent_at(point)

Get the tangent vector of the arc at a given point.

Attributes

ArcData.bbox

PolygonData: Rectangular bounding box of the arc.

ArcData.center

PointData: Center point of the arc.

ArcData.direction

Literal["cw", "ccw", "colinear"]: Rotational direction of the arc.

ArcData.end

PointData: End point of the arc.

ArcData.height

float: Height of the arc.

ArcData.length

str: Circumference length of the arc.

ArcData.midpoint

PointData: Midpoint of the arc.

ArcData.points

list of PointData: Geometric points representing the arc.

ArcData.radius

float: Radius of the arc.

ArcData.start

PointData: Start point of the arc.