Struct gerber_types::CenterLinePrimitive
[−]
[src]
pub struct CenterLinePrimitive { pub exposure: bool, pub dimensions: (MacroDecimal, MacroDecimal), pub center: (MacroDecimal, MacroDecimal), pub angle: MacroDecimal, }
Fields
exposure: bool
Exposure off/on (0/1)
dimensions: (MacroDecimal, MacroDecimal)
Rectangle dimensions (width/height)
center: (MacroDecimal, MacroDecimal)
X and Y coordinates of center point, decimals
angle: MacroDecimal
Rotation angle
The rotation angle is specified by a decimal, in degrees. The primitive is rotated around the origin of the macro definition, i.e. (0, 0) point of macro coordinates.
Trait Implementations
impl Debug for CenterLinePrimitive
[src]
impl PartialEq for CenterLinePrimitive
[src]
fn eq(&self, __arg_0: &CenterLinePrimitive) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CenterLinePrimitive) -> bool
This method tests for !=
.