/// <summary> /// Create straight lay-out surface reinforcement. /// Internal static method used by GH components and Dynamo nodes. /// </summary> public static SurfaceReinforcement DefineStraightSurfaceReinforcement(Geometry.Region region, Straight straight, Wire wire) { // set straight (e.g. centric == null) Centric centric = null; // new surfaceReinforcement SurfaceReinforcement obj = new SurfaceReinforcement(region, straight, centric, wire); // return return(obj); }
/// <summary> /// Private constructor accessed by static methods. /// </summary> private SurfaceReinforcement(Geometry.Region region, Straight straight, Centric centric, Wire wire) { // object information this.EntityCreated(); // other properties this.Straight = straight; this.Centric = centric; this.Wire = wire; this.Region = region; }