ArcData#

class pyedb.grpc.database.geometry.arc_data.ArcData(edb_object)#

Class managing ArcData.

Overview#

is_segment

Check if arc data is a segment.

is_point

Check if arc data is a point.

is_ccw

Check if arc data is counter-clockwise.

height

Arc data height.

direction

Arc data direction.

center

Arc data center.

start

Arc data start point.

end

Arc data end point.

midpoint

Arc data mid point.

points

Arc data points.

length

Arc data length.

Import detail#

from pyedb.grpc.database.geometry.arc_data import ArcData

Property detail#

property ArcData.height: float#

Arc data height.

Returns:
float

Height value.

property ArcData.direction: str#

Arc data direction.

Returns:
str

Direction value.

property ArcData.center: list[float]#

Arc data center.

Returns:
[float, float]

[x value, y value]

property ArcData.start: list[float]#

Arc data start point.

Returns:
[float, float]

[x value, y value]

property ArcData.end: list[float]#

Arc data end point.

Returns:
[float, float]

[x value, y value]

property ArcData.midpoint: list[float]#

Arc data mid point.

Returns:
[float, float]

[x value, y value]

property ArcData.points: list[list[float]]#

Arc data points.

Returns:
[[float, float]]

[[x value, y value]]

property ArcData.length: list[float]#

Arc data length.

Returns:
float

Length value.

Attribute detail#

ArcData.core#

Method detail#

ArcData.is_segment() bool#

Check if arc data is a segment.

Returns:
bool

True if arc data is a segment, false otherwise.

ArcData.is_point()#

Check if arc data is a point.

Returns:
bool

True if arc data is a point, false otherwise.

ArcData.is_ccw()#

Check if arc data is counter-clockwise.

Returns:
bool

True if arc data is counter-clockwise, false otherwise.