Class Lamina
A zero-thickness solid defined by a profile.
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
public class Lamina : SolidOperation
Constructors
Lamina(Polygon, Boolean)
Construct a lamina from a perimeter.
Declaration
public Lamina(Polygon perimeter, bool isVoid = false)
Parameters
Type | Name | Description |
---|---|---|
Polygon | perimeter | The lamina's perimeter |
System.Boolean | isVoid | Should the lamina be considered a void? |
Lamina(Polygon, IList<Polygon>, Boolean)
Construct a lamina.
Declaration
[JsonConstructor]
public Lamina(Polygon perimeter, IList<Polygon> voids, bool isVoid)
Parameters
Type | Name | Description |
---|---|---|
Polygon | perimeter | |
System.Collections.Generic.IList<Polygon> | voids | |
System.Boolean | isVoid |
Lamina(Profile, Boolean)
Construct a lamina from a profile.
Declaration
public Lamina(Profile profile, bool isVoid = false)
Parameters
Type | Name | Description |
---|---|---|
Profile | profile | The profile of the lamina |
System.Boolean | isVoid | Should the lamina be considered a void? |
Properties
Perimeter
The perimeter.
Declaration
[JsonProperty("Perimeter", Required = Required.AllowNull)]
public Polygon Perimeter { get; set; }
Property Value
Type | Description |
---|---|
Polygon |
Voids
A collection of voids.
Declaration
[JsonProperty("Voids", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public IList<Polygon> Voids { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Polygon> |