Class SolidOperation
The base class for all operations which create solids.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Elements.Geometry.Solids
Assembly: Hypar.Elements.dll
Syntax
[JsonConverter(typeof(JsonInheritanceConverter), new object[]{"discriminator"})]
public abstract class SolidOperation
Constructors
SolidOperation(Boolean)
Construct a solid operation.
Declaration
[JsonConstructor]
public SolidOperation(bool isVoid)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | isVoid |
Properties
IsVoid
Is the solid operation a void operation?
Declaration
[JsonProperty("IsVoid", Required = Required.Always)]
public bool IsVoid { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
LocalTransform
The local transform of the operation.
Declaration
public Transform LocalTransform { get; set; }
Property Value
Type | Description |
---|---|
Transform |
Solid
The solid operation's solid.
Declaration
[JsonIgnore]
public Solid Solid { get; }
Property Value
Type | Description |
---|---|
Solid |
Methods
RaisePropertyChanged(String)
Raise a property change event.
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | The name of the property. |
Events
PropertyChanged
An event raised when a property is changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |