CSPrimPoint
- class CSXCAD.CSPrimitives.CSPrimPoint
Bases:
CSXCAD.CSPrimitives.CSPrimitives
Point Primitive
A point is defined by a single 3D coordinate.
- Parameters
- coord(vector)
Coordinate vector (3,) array
- GetCoord()
Get the point coordinate for this primitive
- Returns
(3,) ndarray – point coordinate for this primitive
- SetCoord(coord)
Set the coordinate for this point primitive
- Parameters
coord – list/array of float – Set the point coordinate