public NFFLineworkPolyLineVertexEntity(NFFLineworkEntity parent, double x, double y, double z, double chainage) : this(parent) { X = x; Y = y; Z = z; Chainage = chainage; }
// Assign could be public, but only used by Clone method at this point, so hide. public virtual void Assign(NFFLineworkPolyLineVertexEntity VertexEntity) { X = VertexEntity.X; Y = VertexEntity.Y; Z = VertexEntity.Z; Chainage = VertexEntity.Chainage; LeftCrossSlope = VertexEntity.LeftCrossSlope; RightCrossSlope = VertexEntity.RightCrossSlope; Parent = VertexEntity.Parent; }
public NFFLineworkPolyLineVertexEntity() { Parent = null; X = Consts.NullDouble; Y = Consts.NullDouble; Z = Consts.NullDouble; Chainage = Consts.NullDouble; LeftCrossSlope = Consts.NullDouble; RightCrossSlope = Consts.NullDouble; }
private void AddEntityToGeometry(NFFLineworkEntity nffEntity) { switch (nffEntity.ElementType) { case NFFLineWorkElementType.kNFFLineWorkPolyLineElement: ExportNFFPolyLineEntityToGeometry(nffEntity as NFFLineworkPolyLineEntity); break; case NFFLineWorkElementType.kNFFLineWorkSmoothedPolyLineElement: ExportNFFSmoothedPolyLineEntityToGeometry((NFFLineworkSmoothedPolyLineEntity)nffEntity); break; case NFFLineWorkElementType.kNFFLineWorkArcElement: ExportNFFArcToGeometry(nffEntity as NFFLineworkArcEntity); break; } }
public override void Assign(NFFLineworkEntity Entity) { base.Assign(Entity); var ArcEty = Entity as NFFLineworkArcEntity; X1 = ArcEty.X1; Y1 = ArcEty.Y1; Z1 = ArcEty.Z1; X2 = ArcEty.X2; Y2 = ArcEty.Y2; Z2 = ArcEty.Z2; CX = ArcEty.CX; CY = ArcEty.CY; // CZ = ArcEty.CZ; WasClockWise = ArcEty.WasClockWise; SingleArcEdgePoint = ArcEty.SingleArcEdgePoint; StartLeftCrossSlope = ArcEty.StartLeftCrossSlope; StartRightCrossSlope = ArcEty.StartRightCrossSlope; EndLeftCrossSlope = ArcEty.EndLeftCrossSlope; EndRightCrossSlope = ArcEty.EndRightCrossSlope; TransitDirection = ArcEty.TransitDirection; }
public NFFLineworkPolyLineVertexEntity(NFFLineworkEntity parent) : this() { Parent = parent; }
public override void Assign(NFFLineworkEntity Entity) { base.Assign(Entity); _guidanceID = (Entity as NFFGuidableLineworkEntity).GuidanceID; }
/* * function GetVertexLeftCrossSlope(VertexNum: Integer): Double; Virtual; * procedure SetVertexLeftCrossSlope(VertexNum: Integer; * const Value: Double); Virtual; * * function GetVertexRightCrossSlope(VertexNum: Integer): Double; Virtual; * procedure SetVertexRightCrossSlope(VertexNum: Integer; * const Value: Double); Virtual; */ // public public override void Assign(NFFLineworkEntity Entity) { base.Assign(Entity); StartStation = (Entity as NFFStationedLineworkEntity).StartStation; }
// private fVertexRedundant: Boolean; public NFFLineworkSmoothedPolyLineVertexEntity(NFFLineworkEntity AParent, double AX, double AY, double AZ, double AChainage, double ATrailingAzimuth) : base(AParent, AX, AY, AZ, AChainage) { TrailingAzimuth = ATrailingAzimuth; }