예제 #1
0
 internal ECoordinate(com.epl.geometry.ECoordinate v)
 {
     Set(v);
 }
예제 #2
0
 internal virtual bool Le(com.epl.geometry.ECoordinate v)
 {
     // <=
     return(!GT(v));
 }
예제 #3
0
 internal virtual bool Lt(com.epl.geometry.ECoordinate v)
 {
     // <
     return(v.m_value - m_value > m_eps + v.m_eps);
 }
예제 #4
0
 internal virtual bool Ge(com.epl.geometry.ECoordinate v)
 {
     // >=
     return(!Lt(v));
 }
예제 #5
0
 internal virtual bool Ne(com.epl.geometry.ECoordinate v)
 {
     // !=
     return(!Eq(v));
 }
예제 #6
0
 internal virtual bool GT(com.epl.geometry.ECoordinate v)
 {
     // >
     return(m_value - v.m_value > m_eps + v.m_eps);
 }
예제 #7
0
 // void SinAndCos(ECoordinate& _sin, ECoordinate& _cos);
 // ECoordinate abs();
 // ECoordinate exp();
 // ECoordinate acos();
 // ECoordinate asin();
 // ECoordinate atan();
 internal virtual bool Eq(com.epl.geometry.ECoordinate v)
 {
     // ==
     return(System.Math.Abs(m_value - v.m_value) <= m_eps + v.m_eps);
 }
예제 #8
0
 internal virtual void Div(double v_1, com.epl.geometry.ECoordinate v_2)
 {
     Set(v_1);
     Div(v_2);
 }
예제 #9
0
 internal virtual void Mul(com.epl.geometry.ECoordinate v_1, double v_2)
 {
     Set(v_1);
     Mul(v_2);
 }
예제 #10
0
 internal virtual void Sub(double v_1, com.epl.geometry.ECoordinate v_2)
 {
     // -
     m_value = v_1 - v_2.m_value;
     m_eps   = v_2.m_eps + EpsCoordinate() * System.Math.Abs(m_value);
 }
예제 #11
0
 internal virtual void Add(com.epl.geometry.ECoordinate v_1, double v_2)
 {
     // +
     m_value = v_1.m_value + v_2;
     m_eps   = v_1.m_eps + EpsCoordinate() * System.Math.Abs(m_value);
 }