Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Analyst WebApp
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fidentis
Analyst WebApp
Commits
5f4976fc
There was an error fetching the commit references. Please try again later.
Commit
5f4976fc
authored
3 years ago
by
Daniel Schramm
Browse files
Options
Downloads
Patches
Plain Diff
Feature point position stored as Point3d
parent
9d0e677f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MeshModel/src/main/java/cz/fidentis/analyst/feature/FeaturePoint.java
+11
-14
11 additions, 14 deletions
...c/main/java/cz/fidentis/analyst/feature/FeaturePoint.java
with
11 additions
and
14 deletions
MeshModel/src/main/java/cz/fidentis/analyst/feature/FeaturePoint.java
+
11
−
14
View file @
5f4976fc
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package
cz.fidentis.analyst.feature
;
import
javax.vecmath.Point3d
;
/**
*
* @author kubok
*/
public
class
FeaturePoint
{
private
final
double
X
;
private
final
double
Y
;
private
final
double
Z
;
private
final
Point3d
position
;
private
final
FeaturePointType
FEATURE_POINT_TYPE
;
public
FeaturePoint
(
double
x
,
double
y
,
double
z
,
FeaturePointType
featurePointType
)
{
this
.
X
=
x
;
this
.
Y
=
y
;
this
.
Z
=
z
;
this
.
position
=
new
Point3d
(
x
,
y
,
z
);
this
.
FEATURE_POINT_TYPE
=
featurePointType
;
}
public
Point3d
getPosition
()
{
return
position
;
}
public
double
getX
()
{
return
X
;
return
position
.
x
;
}
public
double
getY
()
{
return
Y
;
return
position
.
y
;
}
public
double
getZ
()
{
return
Z
;
return
position
.
z
;
}
public
FeaturePointType
getFeaturePointType
()
{
...
...
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