webcface.geometries module
- class webcface.geometries.Circle(properties: Sequence[SupportsFloat])[source]
Bases:
Geometry
- property radius: float
- class webcface.geometries.Cylinder(properties: Sequence[SupportsFloat])[source]
Bases:
Geometry
- property length: float
- property radius: float
- class webcface.geometries.Geometry(geometry_type: int, properties: Sequence[SupportsFloat])[source]
Bases:
object
- property type: int
- class webcface.geometries.GeometryType(value)[source]
Bases:
IntEnum
An enumeration.
- BOX = 3
- CIRCLE = 4
- CYLINDER = 5
- LINE = 1
- NONE = 0
- PLANE = 2
- POLYGON = 7
- RECT = 2
- SPHERE = 6
- class webcface.geometries.Plane(properties: Sequence[SupportsFloat])[source]
Bases:
Geometry
- property height: float
- property width: float
- class webcface.geometries.Sphere(properties: Sequence[SupportsFloat])[source]
Bases:
Geometry
- property radius: float
- webcface.geometries.box(vertex1: Point | Sequence[SupportsFloat], vertex2: Point | Sequence[SupportsFloat]) Box [source]
- webcface.geometries.circle(origin: Point | Sequence[SupportsFloat] | Transform | Rotation | Tuple[Point | Sequence[SupportsFloat], Rotation | SupportsFloat], radius: SupportsFloat) Circle [source]
- webcface.geometries.cylinder(origin: Point | Sequence[SupportsFloat] | Transform | Rotation | Tuple[Point | Sequence[SupportsFloat], Rotation | SupportsFloat], radius: SupportsFloat, length: SupportsFloat) Cylinder [source]
- webcface.geometries.line(begin: Point | Sequence[SupportsFloat], end: Point | Sequence[SupportsFloat]) Line [source]
- webcface.geometries.plane(origin: Transform | Rotation | Tuple[Point | Sequence[SupportsFloat], Rotation | SupportsFloat], width: SupportsFloat, height: SupportsFloat) Plane [source]