You are on page 1of 6

Area of a triangle in planar space (knowing the vertexes)

Points
x
y
col1
col2
Sum
A
x1 y1
x1*y2
y1*x2
col1 - col2
B
x2 y2
x2*y3
y2*x3
col1 - col2
C
x3 y3
x3*y1
y3*x1
col1 - col2
A
x1 y1
= (1/2)*(col1 - col2)
x1

y1

This can be used for many points,

x2
x3

y2
y3

1
1

the area being divided intro smaller triangles


= (1/2)*[(x1y2 + x2y3 + x3y1) - (y1x2 + y2x3 + y3x1)]

Area of a triangle in 3d space (knowing the vertexes)

s1 =

| y1, z1, 1 |
| y2, z2, 1 |
| y3, z3, 1 |

Points
A
B
C
A

| z1, x1, 1 |
| x1, y1, 1 |
s2 = | z2, x2, 1 |
s3 = | x2, y2, 1 |
| z3, x3, 1 |
| x3, y3, 1 |
= (1/2)*sqrt(s1^2 + s2^2 + s3^2)
y
1
1
5
1

z
0
1
-2
0

col1
1
-2
0
0

col2
0
5
-2
0

Sum
1
-7
2
0
-4

Points
A
B
C
A

Volume of a Parallelepiped from 4 Coordinate Points (only for paralel faces)


A(a, b, c)
(0, 0, 0)
B(d, e, f)
(d-a, e-b, f-c)
C(p, q, r)
=>
(p-a, q-b, r-c)
=>
D(t, u, v)
(t-a, u-b, v-c)
Let's shift the location of the parallelepiped so that the first vertex is at the origin.
To do this, we subtract (a, b, c) from each of the four vertices.
This gives us the new set of vertices

Used for determining the volume of irregular objects


1) use of defined surfaces

upper surface - performs the function of the real surface (measured surfa
lower surface - performs the function of reference surface (vertical alignm
Vi = P * hi / i
Volume = Real surface * medium_height

2) use of horizontal sections contour lines


Non-symmetrical object can be divided into layers applying a

system of horizontal planes crossing the body (represented by contour lin

To more precisely determine volume of a layer, it is appropriate to use th


Simpsons equation (the numerical approximation of definite integrals)

3) use of parallel vertical cross sections

The volume is determined on the basis of mathematical difference betwe


the terrain surface and the developed surface of the corridor

Points
A
B
C
A

x
1
6
6
1

y
1
1
5
1

x1*y2
1
30
6
0

Points
A
B
C

x
1
6
6

y
1
1
5

z
0
1
-2

z
0
1
-2
0

x
1
6
6
1

col1
0
6
-2
0

col2
1
-12
0
0

10
= 12.66

y1*x2
6
6
5
0

Sum
-1
18
-2
0
15

Sum
-5
24
1
0
20

Area of a triangle in planar space (kn


Points
x
A
1
B
6
C
6
A
1
10

Points
A
B
C
A

x
1
6
6
1

y
1
1
5
1

col1
1
30
6
0

S_plan
S_real

nate Points (only for paralel faces)

(x1, y1, z1)


(x2, y2, z2)
(x3, y3, z3)
that the first vertex is at the origin.
he four vertices.

ction of the real surface (measured surface)


ction of reference surface (vertical alignment)

ivided into layers applying a

NOTE

Volum prisma/paralelipiped =
Daca planul inferior nu este pa
In formulele 2) si 3) se pot folo
Formula 1) este un caz special

sing the body (represented by contour lines)

ume of a layer, it is appropriate to use the


cal approximation of definite integrals)

e basis of mathematical difference between


oped surface of the corridor

1. folosesc formula 1), cu plan


2. verific cu formula 3), unde P

triangle in planar space (knowing the lenghts and the orientation of the segments)
y
L
(grade)
sin
cos
x1*y2
y1*x2
1
5
0
0
1
1
6
1
4
90
1
6.12E-017
30
6
5
nu e nev
nu e nev
nu e nev
nu e nev
6
5
1
0
0

Sum
-5
24
1
0
20
L, = sunt necesare pentru calcularea coordonatelor punctelor intermediare
xi = xi-1 + Li-1*cos(i-1)

10

yi = yi-1 + Li-1*sin(i-1)

col2
6
6
5
0

Sum
-5
24
1
0
20

Volum prisma/paralelipiped = Aria bazei x Inaltimea


Daca planul inferior nu este paralel cu cel superior, se considera inaltimea ca fiind media aritmetica a tuturor inaltimilor
In formulele 2) si 3) se pot folosi si suprafete 3d, unde h este, conf 1), media aritmetica a inaltimilor
Formula 1) este un caz special al formulei 2), unde planul inferior este 2d, iar cel superior 3d

1. folosesc formula 1), cu planul superior 3d


2. verific cu formula 3), unde P1 = planul de baza 2d, planul superior 3d si H = media arritmetica

You might also like