center of incircle of triangle

Hi everybody,
does anyone know if there is a method to calculate the center of the incircle of a triangle (intersection point between the three bisectling lines) automatically?

Best regards!

Sharjith Naramparambath's picture

This is more of a geometry question that OpenCASCADE. Since there is no specific data structure provided for a generic triangle, there is no single method that gives the incenter value. You need to calculate using the formula.
Check this out:- http://en.wikipedia.org/wiki/Incircle_and_excircles_of_a_triangle#Coordi...