hscmap.shape module¶
- class hscmap.shape.ShapeList(shapes: List[hscmap.shape.ShapeBase])[source]¶
Bases:
ShapeBase
- Parameters:
shapes (List[ShapeBase]) –
- class hscmap.shape.Polyline(points: List[hscmap.vec3.SkyCoord | hscmap.vec3.Vec3], color: List[float], close: bool = False)[source]¶
Bases:
ShapeBase
- color: List[float]¶
- close: bool = False¶
- class hscmap.shape.Polygon(center: Union[hscmap.vec3.SkyCoord, hscmap.vec3.Vec3], radius: hscmap.angle.Angle, n: int, up: hscmap.vec3.Vec3 = <factory>, color: List[float] = <factory>)[source]¶
Bases:
ShapeBase
- n: int¶
- color: List[float]¶
- class hscmap.shape.Grid(center: Union[hscmap.vec3.SkyCoord, hscmap.vec3.Vec3], width: hscmap.angle.Angle, height: hscmap.angle.Angle, div_x: int, div_y: int, color: List[float], up: hscmap.vec3.Vec3 = <factory>)[source]¶
Bases:
ShapeBase
- Parameters:
- div_x: int¶
- div_y: int¶
- color: List[float]¶
- class hscmap.shape.Line(start: hscmap.vec3.SkyCoord | hscmap.vec3.Vec3, end: hscmap.vec3.SkyCoord | hscmap.vec3.Vec3, color: List[float])[source]¶
Bases:
ShapeBase
- color: List[float]¶