public IgesPerspectiveView( int viewNumber, double scaleFactor, IgesVector viewPlaneNormal, IgesPoint referencePoint, IgesPoint centerOfProjection, IgesVector upVector, double viewPlaneDistance, double leftClippingCoordinate, double rightClippingCoordinate, double bottomClippingCoordinate, double topClippingCoordinate, IgesDepthClipping depthClipping, double backClippingCoordinate, double frontClippingCoordinate) : base(viewNumber, scaleFactor) { this.FormNumber = 1; this.ViewPlaneNormal = viewPlaneNormal; this.ViewReferencePoint = referencePoint; this.CenterOfProjection = centerOfProjection; this.ViewUpVector = upVector; this.ViewPlaneDistance = viewPlaneDistance; this.ClippingWindowLeftCoordinate = leftClippingCoordinate; this.ClippingWindowRightCoordinate = rightClippingCoordinate; this.ClippingWindowBottomCoordinate = bottomClippingCoordinate; this.ClippingWindowTopCoordinate = topClippingCoordinate; this.DepthClipping = depthClipping; this.ClippingWindowBackCoordinate = backClippingCoordinate; this.ClippingWindowFrontCoordinate = frontClippingCoordinate; }
public IgesNodalAnalysisCase(IgesVector offset, double xRotation, double yRotation, double zRotation) { Offset = offset; XRotation = xRotation; YRotation = yRotation; ZRotation = zRotation; }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { Direction = IgesVector.Vector3D(parameters, 0); Distance = Double(parameters, 3); binder.BindEntity(Integer(parameters, 4), e => Surface = e); return(5); }
public IgesEllipsoid() { EntityUseFlag = IgesEntityUseFlag.Geometry; Center = IgesPoint.Origin; XAxis = IgesVector.XAxis; ZAxis = IgesVector.ZAxis; }
public IgesOffsetSurface(IgesVector direction, double distance, IgesEntity surface) : base() { Direction = direction; Distance = distance; Surface = surface; }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { binder.BindEntity(Integer(parameters, 0), e => Curve = e); ExtrusionLength = Double(parameters, 1); ExtrusionDirection = IgesVector.Vector3D(parameters, 2); return(5); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { binder.BindEntity(Integer(parameters, 0), e => Curve = e); RevolutionAmount = Double(parameters, 1); PointOnAxis = IgesPoint.Point3D(parameters, 2); AxisDirection = IgesVector.Vector3D(parameters, 5); return(8); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { Height = Double(parameters, 0); Radius = Double(parameters, 1); FirstFaceCenter = IgesPoint.Point3D(parameters, 2); AxisDirection = IgesVector.Vector3D(parameters, 5); return(8); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { this.RingRadius = Double(parameters, 0); this.DiscRadius = Double(parameters, 1); this.Center = IgesPoint.Point3D(parameters, 2); this.Normal = IgesVector.ReadZAxis(parameters, 5); return(8); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { int index = 0; binder.BindEntity(Integer(parameters, index++), e => Curve = e); ExtrusionLength = Double(parameters, index++); ExtrusionDirection = Vector(parameters, ref index); return(index); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { Height = Double(parameters, 0); LargeFaceRadius = Double(parameters, 1); SmallFaceRadius = Double(parameters, 2); LargeFaceCenter = IgesPoint.Point3D(parameters, 3); AxisDirection = IgesVector.Vector3D(parameters, 6); return(9); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { var index = 0; binder.BindEntity(Integer(parameters, index++), subfigureDefinition => SubfigureDefinition = subfigureDefinition as IgesSubfigureDefinition); Translation = new IgesVector(Double(parameters, index++), Double(parameters, index++), Double(parameters, index++)); Scale = Double(parameters, index++); return(index); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { int index = 0; this.RingRadius = Double(parameters, index++); this.DiscRadius = Double(parameters, index++); this.Center = Point3(parameters, ref index); this.Normal = VectorOrDefault(parameters, ref index, IgesVector.ZAxis); return(index); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { int index = 0; Height = Double(parameters, index++); Radius = Double(parameters, index++); FirstFaceCenter = Point3(parameters, ref index); AxisDirection = Vector(parameters, ref index); return(index); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { XAxisSize = Double(parameters, 0); YAxisSize = Double(parameters, 1); ZAxisSize = Double(parameters, 2); XAxisSizeAtYDistance = Double(parameters, 3); Corner = IgesPoint.Point3D(parameters, 4); XAxis = IgesVector.Vector3D(parameters, 7); ZAxis = IgesVector.Vector3D(parameters, 10); return(13); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { int index = 0; XAxisLength = Double(parameters, index++); YAxisLength = Double(parameters, index++); ZAxisLength = Double(parameters, index++); Center = Point3(parameters, ref index); XAxis = VectorOrDefault(parameters, ref index, IgesVector.XAxis); ZAxis = VectorOrDefault(parameters, ref index, IgesVector.ZAxis); return(12); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { int index = 0; XLength = Double(parameters, ref index); YLength = Double(parameters, ref index); ZLength = Double(parameters, ref index); Corner = IgesPoint.Point3D(parameters, ref index); XAxis = IgesVector.ReadXAxis(parameters, ref index); ZAxis = IgesVector.ReadZAxis(parameters, ref index); return(index); }
public IgesTorus(double ringRadius, double discRadius, IgesPoint center, IgesVector normal) : base() { this.BlankStatus = IgesBlankStatus.Visible; this.SubordinateEntitySwitchType = IgesSubordinateEntitySwitchType.Independent; this.EntityUseFlag = IgesEntityUseFlag.Geometry; this.Hierarchy = IgesHierarchy.GlobalTopDown; this.RingRadius = ringRadius; this.DiscRadius = discRadius; this.Center = center; this.Normal = normal; }
internal override int ReadParameters(List<string> parameters, IgesReaderBinder binder) { int index = 0; XAxisSize = Double(parameters, index++); YAxisSize = Double(parameters, index++); ZAxisSize = Double(parameters, index++); XAxisSizeAtYDistance = Double(parameters, index++); Corner = Point3(parameters, ref index); XAxis = VectorOrDefault(parameters, ref index, IgesVector.XAxis); ZAxis = VectorOrDefault(parameters, ref index, IgesVector.ZAxis); return index; }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { binder.BindEntity(Integer(parameters, 0), e => CurveToOffset = e); DistanceType = (IgesOffsetDistanceType)Integer(parameters, 1); binder.BindEntity(Integer(parameters, 2), e => EntityOffsetCurveFunction = e); ParameterIndexOfFunctionEntityCurve = Integer(parameters, 3); TaperedOffsetType = (IgesTaperedOffsetType)Integer(parameters, 4); FirstOffsetDistance = Double(parameters, 5); FirstOffsetDistanceValue = Double(parameters, 6); SecondOffsetDistance = Double(parameters, 7); SecondOffsetDistanceValue = Double(parameters, 8); EntityNormal = new IgesVector(Double(parameters, 9), Double(parameters, 10), Double(parameters, 11)); StartingParameterValue = Double(parameters, 12); EndingParameterValue = Double(parameters, 13); return(14); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { int nextIndex = base.ReadParameters(parameters, binder); this.ViewPlaneNormal = IgesVector.Vector3D(parameters, ref nextIndex); this.ViewReferencePoint = IgesPoint.Point3D(parameters, ref nextIndex); this.CenterOfProjection = IgesPoint.Point3D(parameters, ref nextIndex); this.ViewUpVector = IgesVector.Vector3D(parameters, ref nextIndex); this.ViewPlaneDistance = Double(parameters, ref nextIndex); this.ClippingWindowLeftCoordinate = Double(parameters, ref nextIndex); this.ClippingWindowRightCoordinate = Double(parameters, ref nextIndex); this.ClippingWindowBottomCoordinate = Double(parameters, ref nextIndex); this.ClippingWindowTopCoordinate = Double(parameters, ref nextIndex); this.DepthClipping = (IgesDepthClipping)Integer(parameters, ref nextIndex); this.ClippingWindowBackCoordinate = Double(parameters, ref nextIndex); this.ClippingWindowFrontCoordinate = Double(parameters, ref nextIndex); return(nextIndex); }
internal override int ReadParameters(List <string> parameters, IgesReaderBinder binder) { this.CharacterBoxWidth = Double(parameters, 0); this.CharacterBoxHeight = Double(parameters, 1); var fontCode = Integer(parameters, 2); if (fontCode < 0) { binder.BindEntity(-fontCode, e => TextFontDefinition = e as IgesTextFontDefinition); this.FontCode = 0; } else { this.FontCode = fontCode; } this.SlantAngle = Double(parameters, 3); this.RotationAngle = Double(parameters, 4); this.MirroringAxis = (IgesTextMirroringAxis)Integer(parameters, 5); this.RotationType = (IgesTextRotationType)Integer(parameters, 6); this.LocationOrOffset = IgesVector.Vector3D(parameters, 7); return(10); }
public IgesSingularSubfigureInstance(IgesSubfigureDefinition subfigureDefinition, IgesVector translation, double scale) { SubfigureDefinition = subfigureDefinition; Translation = translation; Scale = scale; }
protected IgesVector VectorOrDefault(List <string> values, ref int index, IgesVector defaultValue) { return(IgesParameterReader.VectorOrDefault(values, ref index, defaultValue)); }