RegularSurface
- class rips.RegularSurface(pb2_object: PdmObject | None = None, channel: Channel | None = None)
Bases:
SurfaceInterface- depth
Depth
- Type:
float
- depth_property
Depth Property
- Type:
str
- increment_x
Increment X
- Type:
float
- increment_y
Increment Y
- Type:
float
- nx
Nx
- Type:
int
- ny
Ny
- Type:
int
- origin_x
Origin X
- Type:
float
- origin_y
Origin Y
- Type:
float
- rotation
Rotation
- Type:
float
Methods Summary
set_property(name, values)Sets a property on a regular surface.
set_property_as_depth([name])Set property as depth.
set_property_from_key([name, value_key])Set property from key.
Methods Documentation
- set_property(name: str, values: List[float]) None
Sets a property on a regular surface.
- Parameters:
name (str) -- Name of the property.
values (List[float]) -- Values to set (float32). Should be of nx*ny size (see RegularSurface).
- set_property_as_depth(name: str = '') None
Set property as depth.
- Parameters:
name (str) -- Name
Returns:
- set_property_from_key(name: str = '', value_key: str = '') None
Set property from key.
- Parameters:
name (str) -- Name
value_key (str) -- Key Value
Returns: