Triangle

Triangle 2D


julia> t = Triangle2D(PVector2D(4.0, 3.0), PVector2D(4.0, 0.0), PVector2D(0.0, 3.0))ERROR: UndefVarError: `PVector2D` not defined in `Main` Suggestion: check for spelling errors or missing imports. Hint: a global variable of this name also exists in PhysicalParticles.
julia> orientation(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> len(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> PhysicalMeshes.area(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> centroid(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> circumcenter(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> incircle(t, PVector2D(3.0, 2.0))ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> incircle(t, PVector2D())ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> incircle(t, PVector2D(6.0, 0.0))ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.

Triangle 3D

julia> t = Triangle(PVector(0.0, 0.0, 0.0, u"m"), PVector(3.0, 4.0, 0.0, u"m"), PVector(3.0, 4.0, 12.0, u"m"))ERROR: UndefVarError: `PVector` not defined in `Main`
Suggestion: check for spelling errors or missing imports.
Hint: a global variable of this name also exists in PhysicalParticles.
julia> len(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> PhysicalMeshes.area(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> centroid(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.
julia> circumcenter(t)ERROR: UndefVarError: `t` not defined in `Main` Suggestion: add an appropriate import or assignment. This global was declared but not assigned.