Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jalhyd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
A compter du 1er avril, attention à vos pipelines :
Nouvelles limitations de Docker Hub
Show more breadcrumbs
Cassiopée
jalhyd
Commits
47032757
Commit
47032757
authored
5 years ago
by
mathias.chouet
Browse files
Options
Downloads
Patches
Plain Diff
Fix
nghyd#221
parent
30fd2ff1
Loading
Loading
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/base.ts
+4
-0
4 additions, 0 deletions
src/base.ts
src/macrorugo/macrorugo_compound.ts
+1
-0
1 addition, 0 deletions
src/macrorugo/macrorugo_compound.ts
src/nub.ts
+7
-0
7 additions, 0 deletions
src/nub.ts
src/structure/parallel_structure.ts
+1
-0
1 addition, 0 deletions
src/structure/parallel_structure.ts
with
13 additions
and
0 deletions
src/base.ts
+
4
−
0
View file @
47032757
...
...
@@ -106,3 +106,7 @@ export function floatDivAndMod(a: number, b: number, e: number = 1E-7): { q: num
}
return
{
q
,
r
};
}
export
function
capitalize
(
s
:
string
):
string
{
return
s
.
charAt
(
0
).
toUpperCase
()
+
s
.
slice
(
1
);
}
This diff is collapsed.
Click to expand it.
src/macrorugo/macrorugo_compound.ts
+
1
−
0
View file @
47032757
...
...
@@ -24,6 +24,7 @@ export class MacrorugoCompound extends MacroRugo implements Observer {
this
.
_calcType
=
CalculatorType
.
MacroRugoCompound
;
this
.
_props
.
addObserver
(
this
);
this
.
properties
.
setPropValue
(
"
inclinedApron
"
,
false
);
this
.
_childrenType
=
"
MacroRugo
"
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
src/nub.ts
+
7
−
0
View file @
47032757
...
...
@@ -17,6 +17,13 @@ import { ResultElement } from "./util/resultelement";
*/
export
abstract
class
Nub
extends
ComputeNode
implements
IObservable
{
/** type of children elements, used by GUI for translation */
protected
_childrenType
:
string
=
""
;
public
get
childrenType
():
string
{
return
this
.
_childrenType
;
}
public
get
result
():
Result
{
return
this
.
_result
;
}
...
...
This diff is collapsed.
Click to expand it.
src/structure/parallel_structure.ts
+
1
−
0
View file @
47032757
...
...
@@ -21,6 +21,7 @@ export class ParallelStructure extends Nub {
constructor
(
prms
:
ParamsEquation
,
dbg
:
boolean
=
false
)
{
super
(
prms
,
dbg
);
this
.
_calcType
=
CalculatorType
.
ParallelStructure
;
this
.
_childrenType
=
"
Structure
"
;
}
/** children casting */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment